Ignore:
File:
1 edited

Legend:

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

    r53c771e r8353d90  
    11# UNLESS EXEPTIONALLY REQUIRED TRY TO AVOID IMPORTING ANY MODULES HERE 
    22# ESPECIALLY ANYTHING IN SAS, SASMODELS NAMESPACE 
    3 #from PyQt4 import QtGui 
    4 from PyQt5.QtWidgets import * 
    5 from PyQt5.QtGui import * 
     3from PyQt5.QtWidgets import QMainWindow 
     4from PyQt5.QtWidgets import QMdiArea 
     5from PyQt5.QtWidgets import QSplashScreen 
     6from PyQt5.QtWidgets import QApplication 
     7from PyQt5.QtGui import QPixmap 
    68 
    79# Local UI 
     
    7173    # Show the main SV window 
    7274    mainwindow = MainSasViewWindow() 
    73     mainwindow.show() 
     75    mainwindow.showMaximized() 
    7476 
    7577    # no more splash screen 
    7678    splash.finish(mainwindow) 
     79 
     80    # Time for the welcome window 
     81    mainwindow.guiManager.showWelcomeMessage() 
    7782 
    7883    # No need to .exec_ - the reactor takes care of it. 
Note: See TracChangeset for help on using the changeset viewer.