Changeset b0c5e8c in sasview for src/sas/qtgui/Calculators/SldPanel.py
- Timestamp:
- Jun 15, 2017 8:24:49 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:
- 72f4834
- Parents:
- 144ec831
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/SldPanel.py
rcd2cc745 rb0c5e8c 7 7 from periodictable.nsf import neutron_scattering 8 8 9 from sas.qtgui.Utilities.GuiUtils import FormulaValidator 9 import sas.qtgui.Utilities.GuiUtils as GuiUtils 10 10 11 from sas.qtgui.UI import main_resources_rc 11 12 … … 125 126 126 127 # set validators 127 self.ui.editMolecularFormula.setValidator( FormulaValidator(self.ui.editMolecularFormula))128 self.ui.editMolecularFormula.setValidator(GuiUtils.FormulaValidator(self.ui.editMolecularFormula)) 128 129 129 130 rx = QtCore.QRegExp("[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?") … … 216 217 def displayHelp(self): 217 218 try: 218 location = self.manager.HELP_DIRECTORY_LOCATION + \219 location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 219 220 "/user/sasgui/perspectives/calculator/sld_calculator_help.html" 220 221 self.manager._helpView.load(QtCore.QUrl(location))
Note: See TracChangeset
for help on using the changeset viewer.