Changeset cbcdd2c in sasview for src/sas/qtgui/GuiManager.py


Ignore:
Timestamp:
Mar 10, 2017 7:44:44 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
cd31251
Parents:
5236449
Message:

QModel items conversion into SasModel? parameters + data display SASVIEW-535

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/GuiManager.py

    r5236449 rcbcdd2c  
    182182            self._current_perspective.close() 
    183183        # Default perspective 
    184         self._current_perspective = Perspectives.PERSPECTIVES[str(perspective_name)](self) 
     184        self._current_perspective = Perspectives.PERSPECTIVES[str(perspective_name)](manager=self, parent=self) 
    185185        self._workspace.workspace.addWindow(self._current_perspective) 
    186186        self._current_perspective.show() 
     
    335335        self.communicate.progressBarUpdateSignal.connect(self.updateProgressBar) 
    336336        self.communicate.perspectiveChangedSignal.connect(self.perspectiveChanged) 
     337        self.communicate.updateTheoryFromPerspectiveSignal.connect(self.updateTheoryFromPerspective) 
    337338 
    338339    def addTriggers(self): 
     
    721722        self.checkUpdate() 
    722723 
    723         pass 
    724  
     724    def updateTheoryFromPerspective(self, index): 
     725        """ 
     726        Catch the theory update signal from a perspective 
     727        Send the request to the DataExplorer for updating the theory model. 
     728        """ 
     729        self.filesWidget.updateTheoryFromPerspective(index) 
     730 
     731 
     732 
Note: See TracChangeset for help on using the changeset viewer.