Changeset fbfc488 in sasview for src/sas/qtgui/Calculators/DensityPanel.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/DensityPanel.py
r4992ff2 rfbfc488 60 60 61 61 # set validators 62 self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula))62 #self.ui.editMolecularFormula.setValidator(FormulaValidator(self.ui.editMolecularFormula)) 63 63 64 64 rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") … … 94 94 self.mapper.addMapping(self.ui.editMassDensity , MODEL.MASS_DENSITY) 95 95 96 # FIXME DOESNT WORK WITH QT5 97 #self.mapper.toFirst() 96 self.mapper.toFirst() 98 97 99 98 def dataChanged(self, top, bottom): … … 140 139 141 140 def modelReset(self): 142 #self.model.beginResetModel()143 141 try: 144 142 self.setMode(None) … … 148 146 finally: 149 147 pass 150 #self.model.endResetModel()151 148 152 149 def displayHelp(self):
Note: See TracChangeset
for help on using the changeset viewer.