Changeset d00475d in sasview for src/sas/qtgui/MainWindow/GuiManager.py
- Timestamp:
- Oct 26, 2018 6:44:15 AM (5 years ago)
- 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:
- b1b71ad
- Parents:
- a3c59503 (diff), 75906a1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/GuiManager.py
ra3c59503 rd00475d 24 24 from sas.qtgui.Utilities.PluginManager import PluginManager 25 25 from sas.qtgui.Utilities.GridPanel import BatchOutputPanel 26 from sas.qtgui.Utilities.ResultPanel import ResultPanel 26 27 27 28 from sas.qtgui.Utilities.ReportDialog import ReportDialog … … 147 148 self.aboutWidget = AboutBox() 148 149 self.categoryManagerWidget = CategoryManager(self._parent, manager=self) 150 149 151 self.grid_window = None 150 152 self.grid_window = BatchOutputPanel(parent=self) … … 154 156 self.grid_subwindow.setVisible(False) 155 157 self.grid_window.windowClosedSignal.connect(lambda: self.grid_subwindow.setVisible(False)) 158 159 self.results_panel = ResultPanel(parent=self._parent, manager=self) 160 self.results_frame = self._workspace.workspace.addSubWindow(self.results_panel) 161 self.results_frame.setVisible(False) 162 self.results_panel.windowClosedSignal.connect(lambda: self.results_frame.setVisible(False)) 156 163 157 164 self._workspace.toolBar.setVisible(LocalConfig.TOOLBAR_SHOW) … … 443 450 """ 444 451 # disable not yet fully implemented actions 445 #self._workspace.actionOpen_Analysis.setVisible(False)446 452 self._workspace.actionUndo.setVisible(False) 447 453 self._workspace.actionRedo.setVisible(False) … … 450 456 self._workspace.actionImage_Viewer.setVisible(False) 451 457 self._workspace.actionCombine_Batch_Fit.setVisible(False) 452 self._workspace.actionFit_Results.setVisible(False)453 458 # orientation viewer set to invisible SASVIEW-1132 454 459 self._workspace.actionOrientation_Viewer.setVisible(False) … … 510 515 self._workspace.actionNext.triggered.connect(self.actionNext) 511 516 self._workspace.actionPrevious.triggered.connect(self.actionPrevious) 517 self._workspace.actionClosePlots.triggered.connect(self.actionClosePlots) 512 518 # Analysis 513 519 self._workspace.actionFitting.triggered.connect(self.actionFitting) … … 524 530 525 531 self.communicate.sendDataToGridSignal.connect(self.showBatchOutput) 532 self.communicate.resultPlotUpdateSignal.connect(self.showFitResults) 526 533 527 534 #============ FILE ================= … … 853 860 """ 854 861 """ 855 print("actionFit_Results TRIGGERED") 856 pass 862 self.showFitResults(None) 863 864 def showFitResults(self, output_data): 865 """ 866 Show bumps convergence plots 867 """ 868 self.results_frame.setVisible(True) 869 if output_data: 870 self.results_panel.onPlotResults(output_data) 857 871 858 872 def actionAdd_Custom_Model(self): … … 945 959 """ 946 960 self._workspace.workspace.activatePreviousSubWindow() 961 962 def actionClosePlots(self): 963 """ 964 Closes all Plotters and Plotter2Ds. 965 """ 966 self.filesWidget.closeAllPlots() 967 pass 947 968 948 969 #============ HELP =================
Note: See TracChangeset
for help on using the changeset viewer.