Ignore:
Timestamp:
Nov 9, 2017 8:45:20 AM (4 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
dd150ef
Parents:
d6b8a1d
git-author:
Piotr Rozyczko <rozyczko@…> (11/08/17 09:22:45)
git-committer:
Piotr Rozyczko <rozyczko@…> (11/09/17 08:45:20)
Message:

Converted unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/PlotterBase.py

    rfbfc488 r53c771e  
    44from PyQt5 import QtCore 
    55from PyQt5 import QtGui 
    6 from PyQt5 import QtWidgets 
     6from PyQt5 import QtWidgets, QtPrintSupport 
    77 
    88# TODO: Replace the qt4agg calls below with qt5 equivalent. 
     
    296296        """ 
    297297        # Define the printer 
    298         printer = QtGui.QPrinter() 
     298        printer = QtPrintSupport.QPrinter() 
    299299 
    300300        # Display the print dialog 
    301         dialog = QtGui.QPrintDialog(printer) 
     301        dialog = QtPrintSupport.QPrintDialog(printer) 
    302302        dialog.setModal(True) 
    303303        dialog.setWindowTitle("Print") 
Note: See TracChangeset for help on using the changeset viewer.