Changeset 672b8ab in sasview for src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py
- Timestamp:
- May 10, 2017 7:36:13 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:
- 1bc27f1
- Parents:
- 2da5759
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/SmearingWidget.py
r180bd54 r672b8ab 180 180 181 181 return (smearing, accuracy, d_down, d_up) 182 183 def setState(self, smearing, accuracy, d_down, d_up): 184 """ 185 Sets new values for the controls 186 """ 187 # Update the model -> controls update automatically 188 if smearing is not None: 189 self.model.item(MODEL.index('SMEARING')).setText(smearing) 190 if accuracy is not None: 191 self.model.item(MODEL.index('ACCURACY')).setText(accuracy) 192 if d_down is not None: 193 self.model.item(MODEL.index('PINHOLE_MIN')).setText(d_down) 194 if d_up is not None: 195 self.model.item(MODEL.index('PINHOLE_MAX')).setText(d_up) 196
Note: See TracChangeset
for help on using the changeset viewer.