- Timestamp:
- Nov 20, 2018 7:31:43 AM (6 years ago)
- 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
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r64b9e61 r442a9ae 730 730 constrained_tab.addConstraintToRow(constraint, constrained_row) 731 731 732 # Select this parameter for adjusting/fitting 733 constrained_tab.selectCheckbox(constrained_row) 734 735 732 736 def showMultiConstraint(self): 733 737 """ … … 825 829 if isBatch: 826 830 self.chkChain.setChecked(is_chain) 827 828 -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r09e0c32 r442a9ae 2524 2524 def isCheckable(self, row): 2525 2525 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) 2526 2535 2527 2536 def checkboxSelected(self, item):
Note: See TracChangeset
for help on using the changeset viewer.