Ignore:
File:
1 edited

Legend:

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

    r0eff615 rf84d793  
    123123        #self._workspace.workspace.addDockWidget(Qt.LeftDockWidgetArea, self.dockedFilesWidget) 
    124124        self._workspace.addDockWidget(Qt.LeftDockWidgetArea, self.dockedFilesWidget) 
     125        self._workspace.resizeDocks([self.dockedFilesWidget], [305], Qt.Horizontal) 
    125126 
    126127        # Add the console window as another docked widget 
     
    395396        self.communicate.perspectiveChangedSignal.connect(self.perspectiveChanged) 
    396397        self.communicate.updateTheoryFromPerspectiveSignal.connect(self.updateTheoryFromPerspective) 
     398        self.communicate.deleteIntermediateTheoryPlotsSignal.connect(self.deleteIntermediateTheoryPlotsByModelID) 
    397399        self.communicate.plotRequestedSignal.connect(self.showPlot) 
    398400        self.communicate.plotFromFilenameSignal.connect(self.showPlotFromFilename) 
     
    438440        self._workspace.actionImage_Viewer.triggered.connect(self.actionImage_Viewer) 
    439441        self._workspace.actionOrientation_Viewer.triggered.connect(self.actionOrientation_Viewer) 
     442        self._workspace.actionFreeze_Theory.triggered.connect(self.actionFreeze_Theory) 
    440443        # Fitting 
    441444        self._workspace.actionNew_Fit_Page.triggered.connect(self.actionNew_Fit_Page) 
     
    684687        self._workspace.addDockWidget(Qt.RightDockWidgetArea, self.ipDockWidget) 
    685688 
     689    def actionFreeze_Theory(self): 
     690        """ 
     691        Convert a child index with data into a separate top level dataset 
     692        """ 
     693        self.filesWidget.freezeCheckedData() 
     694 
    686695    def actionOrientation_Viewer(self): 
    687696        """ 
     
    879888        """ 
    880889        self.filesWidget.updateTheoryFromPerspective(index) 
     890 
     891    def deleteIntermediateTheoryPlotsByModelID(self, model_id): 
     892        """ 
     893        Catch the signal to delete items in the Theory item model which correspond to a model ID. 
     894        Send the request to the DataExplorer for updating the theory model. 
     895        """ 
     896        self.filesWidget.deleteIntermediateTheoryPlotsByModelID(model_id) 
    881897 
    882898    def updateModelFromDataOperationPanel(self, new_item, new_datalist_item): 
Note: See TracChangeset for help on using the changeset viewer.