Changeset 98b13f72 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Apr 21, 2017 7:38:11 AM (7 years ago)
- Branches:
- 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
- Children:
- 180bd54
- Parents:
- e1e3e09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
re1e3e09 r98b13f72 197 197 self.chkMagnetism.setEnabled(True) 198 198 199 # Weighting and smearingcontrols199 # Weighting controls 200 200 if self.is2D: 201 #self.slit_smearer.Disable()202 #self.pinhole_smearer.Enable(True)203 #self.default_mask = copy.deepcopy(self.data.mask)204 201 if self.logic.data.err_data is None or\ 205 202 numpy.all(err == 1 for err in self.logic.data.err_data) or \ … … 211 208 self.rbWeighting2.setChecked(True) 212 209 else: 213 #self.slit_smearer.Enable(True)214 #self.pinhole_smearer.Enable(True)215 210 if self.logic.data.dy is None or\ 216 211 numpy.all(self.logic.data.dy == 1) or\ … … 305 300 self.cbCategory.currentIndexChanged.connect(self.onSelectCategory) 306 301 self.cbModel.currentIndexChanged.connect(self.onSelectModel) 307 #self.cbSmearing.currentIndexChanged.connect(self.onSelectSmearing)308 302 # Checkboxes 309 303 self.chk2DView.toggled.connect(self.toggle2D) … … 320 314 self.txtMinRange.editingFinished.connect(self.onMinRange) 321 315 self.txtMaxRange.editingFinished.connect(self.onMaxRange) 322 #self.txtSmearUp.editingFinished.connect(self.onSmearUp)323 #self.txtSmearDown.editingFinished.connect(self.onSmearDown)324 316 # Button groups 325 317 self.weightingGroup.buttonClicked.connect(self.onWeightingChoice) … … 399 391 # Populate the models combobox 400 392 self.cbModel.addItems(sorted([model for (model, _) in model_list])) 401 402 def onSelectSmearing(self):403 """404 Select Smearing type from list405 """406 pass407 408 def onSmearUp(self):409 """410 Update state based on entered smear value411 """412 pass413 414 def onSmearDown(self):415 """416 Update state based on entered smear value417 """418 pass419 393 420 394 def onWeightingChoice(self, button): … … 476 450 # Potential weights added 477 451 self.addWeightingToData(data) 452 453 # Potential smearing added 454 smearing, accuracy, smearing_min, smearing_max = self.smearing_widget.state() 478 455 479 456 # These should be updating somehow?
Note: See TracChangeset
for help on using the changeset viewer.