diff options
-rw-r--r-- | main.cpp | 7 | ||||
-rw-r--r-- | shemov.qrc | 1 | ||||
-rw-r--r-- | shemov_splash.png | bin | 0 -> 159975 bytes | |||
-rw-r--r-- | shemov_splash.xcf | bin | 0 -> 506863 bytes |
4 files changed, 7 insertions, 1 deletions
@@ -6,6 +6,7 @@ */ #include <QApplication> +#include <QSplashScreen> #include "shemov.h" @@ -15,6 +16,10 @@ int main(int argc, char **argv){ QCoreApplication::setOrganizationDomain("hadante.servebeer.com"); QCoreApplication::setApplicationName("SheMov"); QCoreApplication::setApplicationVersion("0.1"); - (void) new SheMov; + QPixmap splash(":/shemov_splash.png"); + QSplashScreen sp(splash); + sp.show(); + SheMov *sm = new SheMov; + sp.finish(sm); return app.exec(); } @@ -6,6 +6,7 @@ <file>picture.svg</file> <file>shemov.png</file> <file>archive.svg</file> + <file>shemov_splash.png</file> </qresource> </RCC> diff --git a/shemov_splash.png b/shemov_splash.png Binary files differnew file mode 100644 index 0000000..024d1ec --- /dev/null +++ b/shemov_splash.png diff --git a/shemov_splash.xcf b/shemov_splash.xcf Binary files differnew file mode 100644 index 0000000..f63ab05 --- /dev/null +++ b/shemov_splash.xcf |