Changeset d6b8a1d in sasview for src/sas/qtgui/Plotting/SlicerParameters.py
- Timestamp:
- Nov 9, 2017 8:43:56 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:
- 53c771e
- Parents:
- fbfc488
- git-author:
- Piotr Rozyczko <rozyczko@…> (11/07/17 08:29:59)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/SlicerParameters.py
r4992ff2 rd6b8a1d 8 8 from PyQt5 import QtWidgets 9 9 from PyQt5 import QtWebKitWidgets 10 11 import sas.qtgui.Utilities.GuiUtils as GuiUtils 10 12 11 13 # Local UI … … 126 128 super(PositiveDoubleEditor, self).__init__(parent) 127 129 self.setAutoFillBackground(True) 128 validator = QtGui.QDoubleValidator()130 validator = GuiUtils.DoubleValidator() 129 131 # Don't use the scientific notation, cause 'e'. 130 validator.setNotation( QtGui.QDoubleValidator.StandardNotation)132 validator.setNotation(GuiUtils.DoubleValidator.StandardNotation) 131 133 132 134 self.setValidator(validator)
Note: See TracChangeset
for help on using the changeset viewer.