Ignore:
Timestamp:
Aug 31, 2018 7:00:21 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_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
3a473ef
Parents:
0231f93
Message:

Added orientation and jitter viewer

File:
1 edited

Legend:

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

    r92c714f raa1db44  
    437437        self._workspace.actionPython_Shell_Editor.triggered.connect(self.actionPython_Shell_Editor) 
    438438        self._workspace.actionImage_Viewer.triggered.connect(self.actionImage_Viewer) 
     439        self._workspace.actionOrientation_Viewer.triggered.connect(self.actionOrientation_Viewer) 
    439440        # Fitting 
    440441        self._workspace.actionNew_Fit_Page.triggered.connect(self.actionNew_Fit_Page) 
     
    682683        self._workspace.addDockWidget(Qt.RightDockWidgetArea, self.ipDockWidget) 
    683684 
     685    def actionOrientation_Viewer(self): 
     686        """ 
     687        Make sasmodels orientation & jitter viewer available 
     688        """ 
     689        from sasmodels.jitter import run as orientation_run 
     690        try: 
     691            orientation_run() 
     692        except Exception as ex: 
     693            logging.error(str(ex)) 
     694 
    684695    def actionImage_Viewer(self): 
    685696        """ 
Note: See TracChangeset for help on using the changeset viewer.