Changeset b14db78 in sasview for src/sas/qtgui/MainWindow/MainWindow.py
- Timestamp:
- Oct 6, 2018 10:20:50 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- f20ea3f
- Parents:
- 00a40bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/MainWindow.py
ra486918 rb14db78 6 6 from PyQt5.QtWidgets import QApplication 7 7 from PyQt5.QtGui import QPixmap 8 import os 8 9 import sys 9 10 # Local UI … … 44 45 The screen will disappear as soon as the event loop starts. 45 46 """ 46 # TODO: standardize path to images 47 pixmap = QPixmap("src/sas/qtgui/images/SVwelcome_mini.png") 47 pixmap_path = "images/SVwelcome_mini.png" 48 if os.path.splitext(sys.argv[0])[1].lower() == ".py": 49 pixmap_path = "src/sas/qtgui/images/SVwelcome_mini.png" 50 pixmap = QPixmap(pixmap_path) 48 51 splashScreen = QSplashScreen(pixmap) 49 52 return splashScreen
Note: See TracChangeset
for help on using the changeset viewer.