Changeset 8353d90 in sasview for src/sas/qtgui/MainWindow/MainWindow.py
- Timestamp:
- Dec 13, 2017 4:14:23 AM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/MainWindow.py
r53c771e r8353d90 1 1 # UNLESS EXEPTIONALLY REQUIRED TRY TO AVOID IMPORTING ANY MODULES HERE 2 2 # ESPECIALLY ANYTHING IN SAS, SASMODELS NAMESPACE 3 #from PyQt4 import QtGui 4 from PyQt5.QtWidgets import * 5 from PyQt5.QtGui import * 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 6 8 7 9 # Local UI … … 71 73 # Show the main SV window 72 74 mainwindow = MainSasViewWindow() 73 mainwindow.show ()75 mainwindow.showMaximized() 74 76 75 77 # no more splash screen 76 78 splash.finish(mainwindow) 79 80 # Time for the welcome window 81 mainwindow.guiManager.showWelcomeMessage() 77 82 78 83 # No need to .exec_ - the reactor takes care of it.
Note: See TracChangeset
for help on using the changeset viewer.