Changeset 304d082 in sasview for src/sas/qtgui/Plotting/LinearFit.py


Ignore:
Timestamp:
Oct 31, 2017 10:00:59 AM (7 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:
6280464
Parents:
0849aec
Message:

More functionality conversion

File:
1 edited

Legend:

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

    r0849aec r304d082  
    1919 
    2020class LinearFit(QtWidgets.QDialog, Ui_LinearFitUI): 
     21    updatePlot = QtCore.pyqtSignal(tuple) 
    2122    def __init__(self, parent=None, 
    2223                 data=None, 
     
    178179        self.txtChi2.setText(formatNumber(self.Chivalue)) 
    179180 
    180         #self.parent.updatePlot.emit((tempx, tempy)) 
    181         self.parent.emit(QtCore.SIGNAL('updatePlot'), (tempx, tempy)) 
     181        self.updatePlot.emit((tempx, tempy)) 
    182182 
    183183    def origData(self): 
Note: See TracChangeset for help on using the changeset viewer.