|
69 | 69 | }, |
70 | 70 | { |
71 | 71 | "cell_type": "code", |
72 | | - "execution_count": 4, |
| 72 | + "execution_count": 6, |
73 | 73 | "metadata": { |
74 | 74 | "collapsed": false |
75 | 75 | }, |
|
78 | 78 | "name": "stdout", |
79 | 79 | "output_type": "stream", |
80 | 80 | "text": [ |
81 | | - "0\n", |
82 | | - "Explore Individual Cell Lines\n", |
83 | | - "1\n", |
84 | | - "Cell Line Correlation\n", |
85 | 81 | "0\n", |
86 | 82 | "Explore Individual Cell Lines\n" |
87 | 83 | ] |
|
140 | 136 | " self.grid.addWidget(self.correlation_button, 1,1)\n", |
141 | 137 | " tab1.setGeometry(1000,1000, 1000, 1000)\n", |
142 | 138 | " tab1.setLayout(self.grid) \n", |
143 | | - " \n", |
144 | | - " \n", |
145 | | - " \n", |
146 | 139 | " self.addTab(tab2,\"Tab 2\")\n", |
147 | 140 | " self.addTab(tab3,\"Tab 3\")\n", |
148 | 141 | " self.addTab(tab4,\"Tab 4\") \n", |
149 | 142 | " self.show()\n", |
150 | 143 | " \n", |
151 | 144 | " def radio_button_clicked(self):\n", |
152 | 145 | " print(self.button_group.checkedId())\n", |
| 146 | + " \n", |
| 147 | + " # self.explore_button is index 0\n", |
| 148 | + " if self.button_group.checkedId() == 0: \n", |
| 149 | + " self.explore_button\n", |
| 150 | + " self.dropdown1 = QtGui.QComboBox(self)\n", |
| 151 | + " self.parameters = ['x', 'y', 'z']\n", |
| 152 | + " self.dropdown1.addItems(self.parameters)\n", |
| 153 | + " self.grid.addWidget(self.dropdown1, 2,0)\n", |
| 154 | + " \n", |
| 155 | + " #self.grid.addWidget(self.explore_button, 1,0)\n", |
153 | 156 | " print(self.button_group.checkedButton().text())\n", |
154 | 157 | "\n", |
155 | 158 | "\n", |
|
165 | 168 | " main()\n", |
166 | 169 | "\n" |
167 | 170 | ] |
| 171 | + }, |
| 172 | + { |
| 173 | + "cell_type": "code", |
| 174 | + "execution_count": null, |
| 175 | + "metadata": { |
| 176 | + "collapsed": true |
| 177 | + }, |
| 178 | + "outputs": [], |
| 179 | + "source": [] |
168 | 180 | } |
169 | 181 | ], |
170 | 182 | "metadata": { |
|
0 commit comments