Ignore:
Timestamp:
Dec 13, 2017 6:14:23 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, 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:
e90988c
Parents:
9387fe3
Message:

Assure the main window opens maximized and the welcome widget doesnt mess up the layout. SASVIEW-831

File:
1 edited

Legend:

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

    rd1955d67 r8353d90  
    8686        # Set up the status bar 
    8787        self.statusBarSetup() 
    88         # Show the Welcome panel 
    89         self.welcomePanel = WelcomePanel() 
    90         self._workspace.workspace.addSubWindow(self.welcomePanel) 
    9188 
    9289        # Current help file 
     
    9996                                              "_downloads", 
    10097                                              "Tutorial.pdf")) 
     98 
    10199    def addWidgets(self): 
    102100        """ 
     
    131129        self.ackWidget = Acknowledgements() 
    132130        self.aboutWidget = AboutBox() 
     131        self.welcomePanel = WelcomePanel() 
    133132 
    134133        # Add calculators - floating for usability 
     
    334333            msg += " Please try again later." 
    335334            self.communicate.statusBarUpdateSignal.emit(msg) 
     335 
     336    def showWelcomeMessage(self): 
     337        """ Show the Welcome panel """ 
     338        self._workspace.workspace.addSubWindow(self.welcomePanel) 
     339        self.welcomePanel.show() 
    336340 
    337341    def addCallbacks(self): 
Note: See TracChangeset for help on using the changeset viewer.