Ignore:
Timestamp:
May 17, 2018 4:50:09 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, 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:
085e3c9d
Parents:
976978b
git-author:
Piotr Rozyczko <rozyczko@…> (04/13/18 09:34:43)
git-committer:
Piotr Rozyczko <rozyczko@…> (05/17/18 04:50:09)
Message:

Merged ESS_GUI_reporting

File:
1 edited

Legend:

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

    rc889a3e r57be490  
    2323from sas.qtgui.Utilities.GridPanel import BatchOutputPanel 
    2424 
     25from sas.qtgui.Utilities.ReportDialog import ReportDialog 
    2526from sas.qtgui.MainWindow.UI.AcknowledgementsUI import Ui_Acknowledgements 
    2627from sas.qtgui.MainWindow.AboutBox import AboutBox 
     
    488489    def actionSave_Analysis(self): 
    489490        """ 
    490         """ 
    491         print("actionSave_Analysis TRIGGERED") 
    492  
    493         pass 
     491        Menu File/Save Analysis 
     492        """ 
     493        self.communicate.saveAnalysisSignal.emit() 
    494494 
    495495    def actionQuit(self): 
     
    526526    def actionReport(self): 
    527527        """ 
    528         """ 
    529         print("actionReport TRIGGERED") 
    530         pass 
     528        Show the Fit Report dialog. 
     529        """ 
     530        report_list = None 
     531        if getattr(self._current_perspective, "currentTab"): 
     532            try: 
     533                report_list = self._current_perspective.currentTab.getReport() 
     534            except Exception as ex: 
     535                logging.error("Report generation failed with: " + str(ex)) 
     536 
     537        if report_list is not None: 
     538            self.report_dialog = ReportDialog(parent=self, report_list=report_list) 
     539            self.report_dialog.show() 
    531540 
    532541    def actionReset(self): 
Note: See TracChangeset for help on using the changeset viewer.