Changeset 464cd07 in sasview for src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
- Timestamp:
- Aug 22, 2017 5:59:29 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:
- b2a5042
- Parents:
- 457d961
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
rdc5ef15 r464cd07 20 20 import sas.qtgui.Plotting.Plotter as Plotter 21 21 22 app = QtGui.QApplication(sys.argv) 22 if not QtGui.QApplication.instance(): 23 app = QtGui.QApplication(sys.argv) 23 24 24 25 … … 97 98 def done(): 98 99 self.clipboard_called = True 99 QtCore.QObject.connect( app.clipboard(), QtCore.SIGNAL("dataChanged()"), done)100 QtCore.QObject.connect(QtGui.qApp.clipboard(), QtCore.SIGNAL("dataChanged()"), done) 100 101 actions[2].trigger() 101 102 QtGui.qApp.processEvents()
Note: See TracChangeset
for help on using the changeset viewer.