Changeset 16afe01 in sasview for src/sas/qtgui/Perspectives/Fitting
- Timestamp:
- Oct 23, 2017 4:03:53 AM (7 years ago)
- 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:
- 8d39961, e0b2b2c, f4a1433
- Parents:
- 7d9c83c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ViewDelegate.py
r8f2548c r16afe01 19 19 self.param_value=1 20 20 self.param_min=2 21 self.param_max= 222 self.param_unit= 223 24 def editableParameters(self):25 return [self.param_value, self.param_min, self.param_max ]21 self.param_max=3 22 self.param_unit=4 23 24 def fancyColumns(self): 25 return [self.param_value, self.param_min, self.param_max, self.param_unit] 26 26 27 27 def addErrorColumn(self): … … 41 41 Overwrite generic painter for certain columns 42 42 """ 43 if index.column() in self. editableParameters():43 if index.column() in self.fancyColumns(): 44 44 # Units - present in nice HTML 45 45 options = QtGui.QStyleOptionViewItemV4(option)
Note: See TracChangeset
for help on using the changeset viewer.