Changeset fbfc488 in sasview for src/sas/qtgui/Calculators/SldPanel.py
- Timestamp:
- Nov 9, 2017 8:43:55 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:
- d6b8a1d
- Parents:
- 7969b9c
- git-author:
- Piotr Rozyczko <rozyczko@…> (11/03/17 10:58:39)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/SldPanel.py
r4992ff2 rfbfc488 128 128 129 129 # set validators 130 self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 130 # TODO: GuiUtils.FormulaValidator() crashes with Qt5 - fix 131 #self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 131 132 132 133 rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") … … 148 149 149 150 self.model.dataChanged.connect(self.dataChanged) 150 #QtCore.QObject.connect(151 # self.model,152 # QtCore.SIGNAL("dataChanged(QModelIndex,QModelIndex)"),153 # self.dataChanged)154 151 155 152 self.modelReset() … … 166 163 self.mapper.addMapping(edit, key) 167 164 168 # FIXME DOESNT WORK WITH QT5 169 #self.mapper.toFirst() 165 self.mapper.toFirst() 170 166 171 167 def dataChanged(self, top, bottom): … … 216 212 finally: 217 213 pass 218 214 #self.model.endResetModel() 219 215 220 216 def displayHelp(self):
Note: See TracChangeset
for help on using the changeset viewer.