Skip to content

Commit

Permalink
Add new scaled higher res image for 4k, re #23814
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitar Tasev committed Nov 13, 2018
1 parent 9b05065 commit fded593
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file removed images/MantidSplashScreen_2400x1758.jpg
Binary file not shown.
Binary file added images/MantidSplashScreen_4k.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions qt/applications/workbench/resources.qrc
@@ -1,5 +1,6 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/images">
<file alias="MantidSplashScreen.png">../../../images/MantidSplashScreen.png</file>
<file alias="MantidSplashScreen_4k.jpg">../../../images/MantidSplashScreen_4k.jpg</file>
</qresource>
</RCC>
6 changes: 3 additions & 3 deletions qt/applications/workbench/workbench/app/mainwindow.py
Expand Up @@ -84,11 +84,11 @@ def qapplication():
from workbench.app.resources import qCleanupResources # noqa
atexit.register(qCleanupResources)

SPLASH = QSplashScreen(QPixmap(':/images/MantidSplashScreen.png'),
SPLASH = QSplashScreen(QPixmap(':/images/MantidSplashScreen_4k.jpg'),
Qt.WindowStaysOnTopHint)
SPLASH.show()
SPLASH.showMessage("Starting...", Qt.AlignBottom | Qt.AlignLeft |
Qt.AlignAbsolute, QColor(Qt.black))
SPLASH.showMessage("Starting...", Qt.AlignBottom | Qt.AlignLeft
| Qt.AlignAbsolute, QColor(Qt.black))
# The event loop has not started - force event processing
QApplication.processEvents(QEventLoop.AllEvents)

Expand Down

0 comments on commit fded593

Please sign in to comment.