Changeset 4992ff2 in sasview for src/sas/qtgui/Plotting/SetGraphRange.py
- Timestamp:
- Nov 9, 2017 6:43:07 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:
- 7969b9c
- Parents:
- 7fb471d
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/30/17 05:50:09)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 06:43:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/SetGraphRange.py
rcd2cc745 r4992ff2 2 2 Allows users to change the range of the current graph 3 3 """ 4 from PyQt4 import QtGui 4 from PyQt5 import QtCore 5 from PyQt5 import QtGui 6 from PyQt5 import QtWidgets 5 7 6 8 # Local UI … … 8 10 from sas.qtgui.Plotting.UI.SetGraphRangeUI import Ui_setGraphRangeUI 9 11 10 class SetGraphRange(Qt Gui.QDialog, Ui_setGraphRangeUI):12 class SetGraphRange(QtWidgets.QDialog, Ui_setGraphRangeUI): 11 13 def __init__(self, parent=None, x_range=(0.0, 0.0), y_range=(0.0, 0.0)): 12 14 super(SetGraphRange, self).__init__()
Note: See TracChangeset
for help on using the changeset viewer.