Ignore:
Timestamp:
Oct 9, 2017 9:26:07 AM (7 years ago)
Author:
wojciech
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:
a95c44b
Parents:
13cd397
Message:

Attempt to pass parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py

    r8222f171 rca7c6bd  
    131131    Adds predefined headers to the model 
    132132    """ 
    133     model.setHeaderData(0, QtCore.Qt.Horizontal, QtCore.QVariant("Parameter")) 
    134     model.setHeaderData(1, QtCore.Qt.Horizontal, QtCore.QVariant("Value")) 
    135     model.setHeaderData(2, QtCore.Qt.Horizontal, QtCore.QVariant("Min")) 
    136     model.setHeaderData(3, QtCore.Qt.Horizontal, QtCore.QVariant("Max")) 
    137     model.setHeaderData(4, QtCore.Qt.Horizontal, QtCore.QVariant("Units")) 
     133    model.parameter_headers = ['Parameter', 'Value', 'Min', 'Max', 'Units'] 
     134    #model.setHeaderData(0, QtCore.Qt.Horizontal, QtCore.QVariant("Parameter")) 
     135    #model.setHeaderData(1, QtCore.Qt.Horizontal, QtCore.QVariant("Value")) 
     136    #model.setHeaderData(2, QtCore.Qt.Horizontal, QtCore.QVariant("Min")) 
     137    #model.setHeaderData(3, QtCore.Qt.Horizontal, QtCore.QVariant("Max")) 
     138    #model.setHeaderData(4, QtCore.Qt.Horizontal, QtCore.QVariant("Units")) 
    138139 
    139140def addErrorHeadersToModel(model): 
Note: See TracChangeset for help on using the changeset viewer.