Changeset 09e0c32 in sasview for src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
- Timestamp:
- Nov 16, 2018 4:44:40 AM (5 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:
- 64b9e61
- Parents:
- ecc5d043
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
recc5d043 r09e0c32 79 79 self.tblConstraints.horizontalHeader().setSectionResizeMode(QtWidgets.QHeaderView.Stretch) 80 80 self.tblConstraints.setEnabled(False) 81 header = self.tblConstraints.horizontalHeaderItem(0) 82 header.setToolTip("Double click to edit.") 81 83 82 84 self.tblConstraints.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) … … 307 309 # No check on function here - trust the user (R) 308 310 if function != constraint.func: 309 #from sas.sascalc.fit.expression import compile_constraints 311 # This becomes rather difficult to validate now. 312 # Turn off validation for Edit Constraint 310 313 constraint.func = function 314 constraint.validate = False 311 315 312 316 def onTabCellEntered(self, row, column):
Note: See TracChangeset
for help on using the changeset viewer.