summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-08-19 18:14:50 +0000
committeram <am@f440f766-f032-0410-8965-dc7d17de2ca0>2009-08-19 18:14:50 +0000
commitc67771eb6aa38daab1f7222fc6c2b53c90a66b0e (patch)
tree042b4b39934fa7f310c07519b9cc87d272a02f69
parentf0eae1094e83a73b9baeebd21e0c77cce3803e19 (diff)
downloadSheMov-c67771eb6aa38daab1f7222fc6c2b53c90a66b0e.tar.gz
SheMov-c67771eb6aa38daab1f7222fc6c2b53c90a66b0e.tar.bz2
SheMov-c67771eb6aa38daab1f7222fc6c2b53c90a66b0e.zip
-created and added splash screen
git-svn-id: file:///var/svn/repos2/shemov/trunk@403 f440f766-f032-0410-8965-dc7d17de2ca0
-rw-r--r--main.cpp7
-rw-r--r--shemov.qrc1
-rw-r--r--shemov_splash.pngbin0 -> 159975 bytes
-rw-r--r--shemov_splash.xcfbin0 -> 506863 bytes
4 files changed, 7 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 58fea7a..d34ea40 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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();
}
diff --git a/shemov.qrc b/shemov.qrc
index a533de8..8d54656 100644
--- a/shemov.qrc
+++ b/shemov.qrc
@@ -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
new file mode 100644
index 0000000..024d1ec
--- /dev/null
+++ b/shemov_splash.png
Binary files differ
diff --git a/shemov_splash.xcf b/shemov_splash.xcf
new file mode 100644
index 0000000..f63ab05
--- /dev/null
+++ b/shemov_splash.xcf
Binary files differ