Changeset 7969b9c in sasview for src/sas/qtgui/Plotting/Plotter.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:
- fbfc488
- Parents:
- 4992ff2
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/31/17 10:00:59)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:43:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter.py
r4992ff2 r7969b9c 21 21 1D Plot widget for use with a QDialog 22 22 """ 23 updatePlot = QtCore.pyqtSignal(tuple)24 23 def __init__(self, parent=None, manager=None, quickplot=False): 25 24 super(PlotterWidget, self).__init__(parent, manager=manager, quickplot=quickplot) … … 41 40 self.fit_result.symbol = 13 42 41 self.fit_result.name = "Fit" 43 44 # Add a slot for receiving update signal from LinearFit45 # NEW style signals46 self.updatePlot.connect(self.onFitDisplay)47 # OLD style signals48 # QtCore.QObject.connect(self, QtCore.SIGNAL('updatePlot'), self.onFitDisplay)49 42 50 43 @property … … 368 361 xlabel=self.xLogLabel, 369 362 ylabel=self.yLogLabel) 363 fit_dialog.updatePlot.connect(self.onFitDisplay) 370 364 if fit_dialog.exec_() == QtWidgets.QDialog.Accepted: 371 365 return
Note: See TracChangeset
for help on using the changeset viewer.