Changeset b87dc1a in sasview
- Timestamp:
- Aug 2, 2018 5:53:51 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- c0de493
- Parents:
- 18d5c94a
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
r18d5c94a rb87dc1a 151 151 152 152 def markParameterDisabled(model, row): 153 """Given the QModel row number, format to show it is not available for 154 fitting""" 155 items = [model.item(row, c) for c in range(5)] 153 """Given the QModel row number, format to show it is not available for fitting""" 154 155 # If an error column is present, there are a total of 6 columns. 156 items = [model.item(row, c) for c in range(6)] 156 157 157 158 model.blockSignals(True) … … 161 162 continue 162 163 item.setEditable(False) 163 item.setSelectable(False)164 164 item.setCheckable(False) 165 165 -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r18d5c94a rb87dc1a 1970 1970 for row in new_rows: 1971 1971 self._model_model.appendRow(row) 1972 # disable fitting of parameters not listed in self.kernel_module 1973 # (probably radius_effective) 1972 # disable fitting of parameters not listed in self.kernel_module (probably radius_effective) 1974 1973 if row[0].text() not in self.kernel_module.params.keys(): 1975 1974 row_num = self._model_model.rowCount() - 1
Note: See TracChangeset
for help on using the changeset viewer.