Changeset 2f55df6 in sasview for src/sas/qtgui/Plotting/SlicerParameters.py
- Timestamp:
- Sep 27, 2018 6:13:13 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 51b9c14
- Parents:
- b38871e
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (09/27/18 06:11:38)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (09/27/18 06:13:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/SlicerParameters.py
ree22241 r2f55df6 20 20 passed from a slicer instance. 21 21 """ 22 close _signal = QtCore.pyqtSignal()22 closeWidgetSignal = QtCore.pyqtSignal() 23 23 def __init__(self, model=None, validate_method=None): 24 24 super(SlicerParameters, self).__init__() … … 79 79 signal to the parent. 80 80 """ 81 self.close _signal.emit()81 self.closeWidgetSignal.emit() 82 82 if event: 83 83 event.accept() … … 163 163 164 164 # Find out the changed parameter name and proposed value 165 new_value = self.editor.text().toFloat()[0]166 param_name = str(model.sourceModel().item(index.row(),0).text())165 new_value = GuiUtils.toDouble(self.editor.text()) 166 param_name = model.sourceModel().item(index.row(),0).text() 167 167 168 168 validated = True
Note: See TracChangeset
for help on using the changeset viewer.