Changeset 3e8dee3 in sasview for src/sas/qtgui/Plotting/PlotterBase.py
- Timestamp:
- Nov 8, 2017 9:22:45 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:
- 0e80658
- Parents:
- 412e069e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/PlotterBase.py
r6280464 r3e8dee3 4 4 from PyQt5 import QtCore 5 5 from PyQt5 import QtGui 6 from PyQt5 import QtWidgets 6 from PyQt5 import QtWidgets, QtPrintSupport 7 7 8 8 # TODO: Replace the qt4agg calls below with qt5 equivalent. … … 296 296 """ 297 297 # Define the printer 298 printer = Qt Gui.QPrinter()298 printer = QtPrintSupport.QPrinter() 299 299 300 300 # Display the print dialog 301 dialog = Qt Gui.QPrintDialog(printer)301 dialog = QtPrintSupport.QPrintDialog(printer) 302 302 dialog.setModal(True) 303 303 dialog.setWindowTitle("Print")
Note: See TracChangeset
for help on using the changeset viewer.