Changeset d6b8a1d in sasview for src/sas/qtgui/Plotting/SetGraphRange.py
- Timestamp:
- Nov 9, 2017 8:43:56 AM (6 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/SetGraphRange.py
r4992ff2 rd6b8a1d 5 5 from PyQt5 import QtGui 6 6 from PyQt5 import QtWidgets 7 8 import sas.qtgui.Utilities.GuiUtils as GuiUtils 7 9 8 10 # Local UI … … 18 20 assert(isinstance(y_range, tuple)) 19 21 20 self.txtXmin.setValidator( QtGui.QDoubleValidator())21 self.txtXmax.setValidator( QtGui.QDoubleValidator())22 self.txtYmin.setValidator( QtGui.QDoubleValidator())23 self.txtYmax.setValidator( QtGui.QDoubleValidator())22 self.txtXmin.setValidator(GuiUtils.DoubleValidator()) 23 self.txtXmax.setValidator(GuiUtils.DoubleValidator()) 24 self.txtYmin.setValidator(GuiUtils.DoubleValidator()) 25 self.txtYmax.setValidator(GuiUtils.DoubleValidator()) 24 26 25 27 self.txtXmin.setText(str(x_range[0]))
Note: See TracChangeset
for help on using the changeset viewer.