Changeset 03e04a4 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Aug 6, 2018 9:49:45 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:
c0de493, ebfe223
Parents:
060413c (diff), 4bddb9ca (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.
Message:

Merge branch 'ESS_GUI' of https://github.com/SasView/sasview into ESS_GUI

Location:
src/sas/qtgui/MainWindow
Files:
3 added
3 edited

Legend:

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

    r8e2cd79 r060413c  
    2727from sas.qtgui.MainWindow.AboutBox import AboutBox 
    2828from sas.qtgui.MainWindow.WelcomePanel import WelcomePanel 
     29from sas.qtgui.MainWindow.CategoryManager import CategoryManager 
    2930 
    3031from sas.qtgui.MainWindow.DataManager import DataManager 
     
    134135        self.ackWidget = Acknowledgements() 
    135136        self.aboutWidget = AboutBox() 
     137        self.categoryManagerWidget = CategoryManager(self._parent, manager=self) 
    136138        self.welcomePanel = WelcomePanel() 
    137139        self.grid_window = None 
     
    419421        self._workspace.actionHide_Toolbar.triggered.connect(self.actionHide_Toolbar) 
    420422        self._workspace.actionStartup_Settings.triggered.connect(self.actionStartup_Settings) 
    421         self._workspace.actionCategry_Manager.triggered.connect(self.actionCategry_Manager) 
     423        self._workspace.actionCategory_Manager.triggered.connect(self.actionCategory_Manager) 
    422424        # Tools 
    423425        self._workspace.actionData_Operation.triggered.connect(self.actionData_Operation) 
     
    611613        pass 
    612614 
    613     def actionCategry_Manager(self): 
    614         """ 
    615         """ 
    616         print("actionCategry_Manager TRIGGERED") 
    617         pass 
     615    def actionCategory_Manager(self): 
     616        """ 
     617        """ 
     618        self.categoryManagerWidget.show() 
    618619 
    619620    #============ TOOLS ================= 
  • src/sas/qtgui/MainWindow/MainWindow.py

    re4335ae r3d18691  
    2727        except Exception as ex: 
    2828            import logging 
    29             logging.error("Application failed with: " + str(ex)) 
    30             print("Application failed with: ", ex) 
     29            logging.error("Application failed with: "+str(ex)) 
     30            print("Application failed with: ", str(ex)) 
    3131 
    3232    def closeEvent(self, event): 
  • src/sas/qtgui/MainWindow/UI/MainWindowUI.ui

    r2b39fea r3d18691  
    7575    <addaction name="actionStartup_Settings"/> 
    7676    <addaction name="separator"/> 
    77     <addaction name="actionCategry_Manager"/> 
     77    <addaction name="actionCategory_Manager"/> 
    7878   </widget> 
    7979   <widget class="QMenu" name="menuTool"> 
     
    324324   </property> 
    325325  </action> 
    326   <action name="actionCategry_Manager"> 
     326  <action name="actionCategory_Manager"> 
    327327   <property name="text"> 
    328328    <string>Category Manager</string> 
Note: See TracChangeset for help on using the changeset viewer.