Changeset 304d082 in sasview for src/sas/qtgui/Plotting/PlotterBase.py
- Timestamp:
- Oct 31, 2017 10:00:59 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:
- 6280464
- Parents:
- 0849aec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/PlotterBase.py
r0849aec r304d082 317 317 Copy MPL widget area to buffer 318 318 """ 319 bmp = Qt Gui.QApplication.clipboard()319 bmp = QtWidgets.QApplication.clipboard() 320 320 pixmap = QtGui.QPixmap.grabWidget(self.canvas) 321 321 bmp.setPixmap(pixmap) … … 374 374 # Move the slider all the way up, if present 375 375 vertical_scroll_bar = self.txt_widget.verticalScrollBar() 376 vertical_scroll_bar.triggerAction(Qt Gui.QScrollBar.SliderToMinimum)376 vertical_scroll_bar.triggerAction(QtWidgets.QScrollBar.SliderToMinimum) 377 377 378 378 def onSavePoints(self, plot_data):
Note: See TracChangeset
for help on using the changeset viewer.