Changeset 2d466e4 in sasview for src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
- Timestamp:
- Jan 17, 2018 9:44:35 AM (6 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:
- c5a2722f
- Parents:
- 47d7d2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
- Property mode changed from 100755 to 100644
r47d7d2d r2d466e4 9 9 from sas.qtgui.Perspectives.Fitting.UI.ConstraintWidgetUI import Ui_ConstraintWidgetUI 10 10 from sas.qtgui.Perspectives.Fitting.FittingWidget import FittingWidget 11 from sas.qtgui.Perspectives.Fitting.ComplexConstraint import ComplexConstraint 11 12 12 13 class ConstraintWidget(QtWidgets.QWidget, Ui_ConstraintWidgetUI): … … 434 435 Invoke the complex constraint editor 435 436 """ 436 pass 437 selected_rows = self.selectedParameters(self.tblTabList) 438 assert(len(selected_rows)==2) 439 440 tab_list = [ObjectLibrary.getObject(self.tblTabList.item(s, 0).data(0)) for s in selected_rows] 441 # Create and display the widget for param1 and param2 442 cc_widget = ComplexConstraint(self, tabs=tab_list) 443 if cc_widget.exec_() != QtWidgets.QDialog.Accepted: 444 return 445 446 #constraint = Constraint() 447 #c_text = cc_widget.txtConstraint.text() 448 pass
Note: See TracChangeset
for help on using the changeset viewer.