Changeset 4992ff2 in sasview for src/sas/qtgui/Plotting/MaskEditor.py
- Timestamp:
- Nov 9, 2017 8:43:07 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:
- 7969b9c
- Parents:
- 7fb471d
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/30/17 07:50:09)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/MaskEditor.py
rdc5ef15 r4992ff2 1 from PyQt4 import QtGui 1 from PyQt5 import QtCore 2 from PyQt5 import QtGui 3 from PyQt5 import QtWidgets 2 4 3 5 from sas.qtgui.Plotting.PlotterData import Data2D … … 8 10 from sas.qtgui.Plotting.Plotter2D import Plotter2DWidget 9 11 10 class MaskEditor(Qt Gui.QDialog, Ui_MaskEditorUI):12 class MaskEditor(QtWidgets.QDialog, Ui_MaskEditorUI): 11 13 def __init__(self, parent=None, data=None): 12 14 super(MaskEditor, self).__init__() … … 23 25 self.plotter.data = self.data 24 26 25 layout = Qt Gui.QHBoxLayout()27 layout = QtWidgets.QHBoxLayout() 26 28 layout.setContentsMargins(0, 0, 0, 0) 27 29 self.frame.setLayout(layout)
Note: See TracChangeset
for help on using the changeset viewer.