Changes in src/sas/qtgui/MainWindow/MainWindow.py [8353d90:53c771e] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/MainWindow.py
r8353d90 r53c771e 1 1 # UNLESS EXEPTIONALLY REQUIRED TRY TO AVOID IMPORTING ANY MODULES HERE 2 2 # ESPECIALLY ANYTHING IN SAS, SASMODELS NAMESPACE 3 from PyQt5.QtWidgets import QMainWindow 4 from PyQt5.QtWidgets import QMdiArea 5 from PyQt5.QtWidgets import QSplashScreen 6 from PyQt5.QtWidgets import QApplication 7 from PyQt5.QtGui import QPixmap 3 #from PyQt4 import QtGui 4 from PyQt5.QtWidgets import * 5 from PyQt5.QtGui import * 8 6 9 7 # Local UI … … 73 71 # Show the main SV window 74 72 mainwindow = MainSasViewWindow() 75 mainwindow.show Maximized()73 mainwindow.show() 76 74 77 75 # no more splash screen 78 76 splash.finish(mainwindow) 79 80 # Time for the welcome window81 mainwindow.guiManager.showWelcomeMessage()82 77 83 78 # No need to .exec_ - the reactor takes care of it.
Note: See TracChangeset
for help on using the changeset viewer.