Changeset dee9e5f in sasview


Ignore:
Timestamp:
Sep 19, 2018 7:28:12 AM (6 years ago)
Author:
wojciech
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:
c1bc9de
Parents:
ccd2b87
Message:

Moved reported results handling to GuiManager?

Location:
src/sas/qtgui
Files:
5 edited

Legend:

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

    rfc5d2d7f rdee9e5f  
    992992        When setting a perspective, sets up the menu bar 
    993993        """ 
     994        self._workspace.actionReport.setEnabled(False) 
    994995        if isinstance(perspective, Perspectives.PERSPECTIVES["Fitting"]): 
    995996            self.checkAnalysisOption(self._workspace.actionFitting) 
     
    10011002            self._workspace.menubar.addAction(self._workspace.menuWindow.menuAction()) 
    10021003            self._workspace.menubar.addAction(self._workspace.menuHelp.menuAction()) 
     1004            self._workspace.actionReport.setEnabled(True) 
    10031005 
    10041006        elif isinstance(perspective, Perspectives.PERSPECTIVES["Invariant"]): 
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    r42d79fc rdee9e5f  
    123123        # Set up the model. 
    124124        self.setup_model() 
    125  
    126         #Disable reporting results 
    127         self.parent._workspace.actionReport.setEnabled(False) 
    128125 
    129126        # Set up the mapper 
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    r42d79fc rdee9e5f  
    7878 
    7979        self.updateWindowTitle() 
    80  
    81         #Enabling Results reporting 
    82         self.parent._workspace.actionReport.setEnabled(True) 
    83  
    8480 
    8581    def updateWindowTitle(self): 
  • src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py

    r42d79fc rdee9e5f  
    112112        # Let's choose the Standard Item Model. 
    113113        self.model = QtGui.QStandardItemModel(self) 
    114  
    115         #Disable reporting results 
    116         self.parent._workspace.actionReport.setEnabled(False) 
    117114 
    118115        # Connect buttons to slots. 
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r42d79fc rdee9e5f  
    114114        # Set up the Widget Map 
    115115        self.setupMapper() 
    116  
    117         #Disable reporting results 
    118         self._parent._workspace.actionReport.setEnabled(False) 
    119116 
    120117        #Hidding calculate all buton 
Note: See TracChangeset for help on using the changeset viewer.