Changeset 29eb947 in sasview
- Timestamp:
- Mar 23, 2017 3:41:31 AM (8 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:
- b1e36a3
- Parents:
- 0979dfb
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r351b53e r29eb947 256 256 self.disableModelCombo() 257 257 self.enableStructureCombo() 258 self._model_model.clear() 258 259 return 259 260 … … 309 310 """ 310 311 model = str(self.cbModel.currentText()) 312 category = str(self.cbCategory.currentText()) 311 313 structure = str(self.cbStructureFactor.currentText()) 314 if category == CATEGORY_STRUCTURE: 315 model = None 312 316 self.SASModelToQModel(model, structure_factor=structure) 313 317 … … 419 423 name_index = self._poly_model.index(model_row, 0) 420 424 # Extract changed value. Assumes proper validation by QValidator/Delegate 421 value = float(item.text()) 425 # Checkbox in column 0 426 if model_column == 0: 427 value = item.checkState() 428 else: 429 value = float(item.text()) 422 430 parameter_name = str(self._poly_model.data(name_index).toPyObject()) # "distribution of sld" etc. 423 431 if "Distribution of" in parameter_name: -
src/sas/qtgui/UI/DataExplorerUI.ui
r0979dfb r29eb947 61 61 </property> 62 62 <property name="toolTip"> 63 <string> Load a file with data</string>63 <string><html><head/><body><p><span style=" font-size:8pt;">Load a file with data</span></p></body></html></string> 64 64 </property> 65 65 <property name="styleSheet"> … … 205 205 </property> 206 206 <property name="toolTip"> 207 <string> Send data to perspective</string>207 <string><html><head/><body><p><span style=" font-size:8pt;">Send data to perspective</span></p></body></html></string> 208 208 </property> 209 209 <property name="styleSheet">
Note: See TracChangeset
for help on using the changeset viewer.