Changeset a90c9c5 in sasview for src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
- Timestamp:
- Feb 5, 2018 5:33:02 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:
- 725d9c06
- Parents:
- 14ec91c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r14ec91c5 ra90c9c5 94 94 95 95 # External signals 96 self.parent.tabsModifiedSignal.connect(self. onModifiedTabs)96 self.parent.tabsModifiedSignal.connect(self.initializeFitList) 97 97 98 98 def updateSignalsFromTab(self, tab=None): … … 283 283 self.current_cell = self.tblTabList.item(row, column).data(0) 284 284 285 def onModifiedTabs(self):286 """287 Respond to tabs being deleted by deleting involved constraints288 289 This should probably be done in FittingWidget as it is the owner of290 all the fitting data, but I want to keep the FW oblivious about291 dependence on other FW tabs, so enforcing the constraint deletion here.292 """293 # Get the list of all constraints from querying the table294 #constraints = getConstraintsForModel()295 296 # Get the current list of tabs297 #tabs = ObjectLibrary.listObjects()298 299 # Check if any of the constraint dependencies got deleted300 # Check the list of constraints301 self.initializeFitList()302 pass303 304 285 def onFitComplete(self, result): 305 286 """ … … 677 658 # Update the tab 678 659 constrained_tab.addConstraintToRow(constraint, constrained_row) 679 pass
Note: See TracChangeset
for help on using the changeset viewer.