Changes in src/sas/qtgui/Perspectives/Fitting/FittingWidget.py [ce67f35:bbcf9f0] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rce67f35 rbbcf9f0 284 284 # Data for chosen model 285 285 self.model_data = None 286 self._previous_model_index = 0 286 287 287 288 # Which shell is being currently displayed? … … 2020 2021 React to changes in the smearing widget 2021 2022 """ 2023 # update display 2024 smearing, accuracy, smearing_min, smearing_max = self.smearing_widget.state() 2025 self.lblCurrentSmearing.setText(smearing) 2022 2026 self.calculateQGridForModel() 2023 2027 … … 2619 2623 """ 2620 2624 name = self.nameFromData(fitted_data) 2621 # Notify the GUI manager so it can create the theory model in DataExplorer 2622 self.theory_item = GuiUtils.createModelItemWithPlot(fitted_data, name=name) 2623 self.communicate.updateTheoryFromPerspectiveSignal.emit(self.theory_item) 2625 # Modify the item or add it if new 2626 theory_item = GuiUtils.createModelItemWithPlot(fitted_data, name=name) 2627 self.communicate.updateTheoryFromPerspectiveSignal.emit(theory_item) 2628 2629 def setTheoryItem(self, item): 2630 """ 2631 Reset the theory item based on the data explorer update 2632 """ 2633 self.theory_item = item 2624 2634 2625 2635 def nameFromData(self, fitted_data):
Note: See TracChangeset
for help on using the changeset viewer.