Changeset 7aa1685 in sasview for calculatorview/src/sans/perspectives/calculator/calculator.py
- Timestamp:
- Apr 24, 2013 12:16:12 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- b07ffca
- Parents:
- 9159cb9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/calculator.py
rae84427 r7aa1685 113 113 manager=self, data=[], 114 114 title="Data Editor") 115 self.put_icon(self.data_edit_frame) 116 self.data_edit_frame.Show(False) 115 #self.put_icon(self.data_edit_frame) 116 else: 117 self.data_edit_frame.Show(False) 117 118 self.data_edit_frame.Show(True) 118 119 … … 126 127 manager=self, 127 128 title="Data Operation") 128 self.put_icon(self.data_operator_frame) 129 self.data_operator_frame.Show(False) 129 #self.put_icon(self.data_operator_frame) 130 else: 131 self.data_operator_frame.Show(False) 130 132 self.data_operator_frame.panel.set_panel_on_focus(None) 131 133 self.data_operator_frame.Show(True) … … 137 139 if self.kiessig_frame == None: 138 140 frame = KiessigWindow(parent=self.parent, manager=self) 139 self.put_icon(frame)141 #self.put_icon(frame) 140 142 self.kiessig_frame = frame 141 self.kiessig_frame.Show(False) 143 else: 144 self.kiessig_frame.Show(False) 142 145 self.kiessig_frame.Show(True) 143 146 … … 147 150 """ 148 151 if self.sld_frame == None: 149 frame = SldWindow(base=self.parent, manager=self) 150 self.put_icon(frame) 152 frame = SldWindow(parent=self.parent, 153 base=self.parent, manager=self) 154 #self.put_icon(frame) 151 155 self.sld_frame = frame 152 self.sld_frame.Show(False) 156 else: 157 self.sld_frame.Show(False) 153 158 self.sld_frame.Show(True) 154 159 … … 158 163 """ 159 164 if self.cal_md_frame == None: 160 frame = DensityWindow(base=self.parent, manager=self) 161 self.put_icon(frame) 165 frame = DensityWindow(parent=self.parent, 166 base=self.parent, manager=self) 167 #self.put_icon(frame) 162 168 self.cal_md_frame = frame 163 self.cal_md_frame.Show(False) 169 else: 170 self.cal_md_frame.Show(False) 164 171 self.cal_md_frame.Show(True) 165 172 … … 170 177 if self.cal_slit_frame == None: 171 178 frame = SlitLengthCalculatorWindow(parent=self.parent, manager=self) 172 self.put_icon(frame)179 #self.put_icon(frame) 173 180 self.cal_slit_frame = frame 174 self.cal_slit_frame.Show(False) 181 else: 182 self.cal_slit_frame.Show(False) 175 183 self.cal_slit_frame.Show(True) 176 184 … … 183 191 self.put_icon(frame) 184 192 self.cal_res_frame = frame 185 self.cal_res_frame.Show(False) 193 else: 194 self.cal_res_frame.Show(False) 186 195 self.cal_res_frame.Show(True) 187 196 … … 192 201 if self.gen_frame == None: 193 202 frame = SasGenWindow(parent=self.parent, manager=self) 194 self.put_icon(frame)203 #self.put_icon(frame) 195 204 self.gen_frame = frame 196 self.gen_frame.Show(False) 205 else: 206 self.gen_frame.Show(False) 197 207 self.gen_frame.Show(True) 198 208 … … 225 235 self.put_icon(frame) 226 236 self.py_frame = frame 227 self.py_frame.Show(False) 237 else: 238 self.py_frame.Show(False) 228 239 self.py_frame.Show(True) 229 240
Note: See TracChangeset
for help on using the changeset viewer.