Changeset b0c5e8c in sasview for src/sas/qtgui/Calculators
- Timestamp:
- Jun 15, 2017 6: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
- Location:
- src/sas/qtgui/Calculators
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Calculators/DensityPanel.py
rcd2cc745 rb0c5e8c 8 8 from sas.qtgui.Utilities.GuiUtils import FormulaValidator 9 9 from sas.qtgui.UI import main_resources_rc 10 from sas.qtgui.Utilities.GuiUtils import HELP_DIRECTORY_LOCATION 10 11 11 12 # Local UI … … 148 149 def displayHelp(self): 149 150 try: 150 location = self.manager.HELP_DIRECTORY_LOCATION + \151 location = HELP_DIRECTORY_LOCATION + \ 151 152 "/user/sasgui/perspectives/calculator/density_calculator_help.html" 152 153 -
src/sas/qtgui/Calculators/GenericScatteringCalculator.py
rdc5ef15 rb0c5e8c 378 378 """ 379 379 try: 380 location = self.manager.HELP_DIRECTORY_LOCATION + \380 location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 381 381 "/user/sasgui/perspectives/calculator/sas_calculator_help.html" 382 382 self.manager._helpView.load(QtCore.QUrl(location)) -
src/sas/qtgui/Calculators/KiessigPanel.py
rcd2cc745 rb0c5e8c 4 4 from sas.qtgui.UI import main_resources_rc 5 5 from UI.KiessigPanel import Ui_KiessigPanel 6 import sas.qtgui.Utilities.GuiUtils as GuiUtils 6 7 7 8 # sas-global … … 37 38 """ 38 39 try: 39 location = self.manager.HELP_DIRECTORY_LOCATION + \40 location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 40 41 "/user/sasgui/perspectives/calculator/kiessig_calculator_help.html" 41 42 -
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)) -
src/sas/qtgui/Calculators/SlitSizeCalculator.py
rcd2cc745 rb0c5e8c 9 9 10 10 from sas.qtgui.UI import main_resources_rc 11 import sas.qtgui.Utilities.GuiUtils as GuiUtils 11 12 12 13 from UI.SlitSizeCalculator import Ui_SlitSizeCalculator … … 45 46 """ 46 47 try: 47 location = self._parent.HELP_DIRECTORY_LOCATION + \48 location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 48 49 "/user/sasgui/perspectives/calculator/slit_calculator_help.html" 49 50
Note: See TracChangeset
for help on using the changeset viewer.