Ignore:
Timestamp:
Nov 20, 2018 5:31:43 AM (5 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
d72ac57
Parents:
64b9e61
Message:

Select the constrained parameter for fitting. SASVIEW-1198

File:
1 edited

Legend:

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

    r09e0c32 r442a9ae  
    25242524    def isCheckable(self, row): 
    25252525        return self._model_model.item(row, 0).isCheckable() 
     2526 
     2527    def selectCheckbox(self, row): 
     2528        """ 
     2529        Select the checkbox in given row. 
     2530        """ 
     2531        assert 0<= row <= self._model_model.rowCount() 
     2532        index = self._model_model.index(row, 0) 
     2533        item = self._model_model.itemFromIndex(index) 
     2534        item.setCheckState(QtCore.Qt.Checked) 
    25262535 
    25272536    def checkboxSelected(self, item): 
Note: See TracChangeset for help on using the changeset viewer.