diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui
index 41fb7aae..03b9340a 100644
--- a/src/gui/qt/mainwindow.ui
+++ b/src/gui/qt/mainwindow.ui
@@ -515,7 +515,7 @@
6
- -
+
-
Qt::Vertical
@@ -528,26 +528,87 @@
- -
+
-
0
- 6
+ 0
+
-
+
+
+ 0
+
+
+ 0
+
+
-
+
+
+ Qt::Vertical
+
+
+ QSizePolicy::MinimumExpanding
+
+
+
+ 20
+ 110
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+ QSizePolicy::MinimumExpanding
+
+
+
+ 140
+ 0
+
+
+
+
+ -
+
+
+
+ 140
+ 100
+
+
+
+
+ 140
+ 100
+
+
+
+ :/graphics/graphics/logo-140-100.png
+
+
+
+
+
-
Qt::Horizontal
- QSizePolicy::Minimum
+ QSizePolicy::Fixed
- 83
- 20
+ 87
+ 40
@@ -1437,10 +1498,13 @@
Qt::Horizontal
+
+ QSizePolicy::Fixed
+
- 16
- 20
+ 30
+ 40
@@ -1451,7 +1515,7 @@
0
- 6
+ 0
-
@@ -1461,7 +1525,7 @@
20
- 0
+ 20
@@ -1471,9 +1535,12 @@
Qt::Horizontal
+
+ QSizePolicy::MinimumExpanding
+
- 40
+ 211
0
@@ -1939,930 +2006,23 @@
- -
-
-
- 0
+
-
+
+
+ Qt::Vertical
-
- 6
+
+ QSizePolicy::MinimumExpanding
-
-
-
-
- Qt::Vertical
-
-
-
- 121
- 101
-
-
-
-
- -
-
-
-
- 140
- 100
-
-
-
-
- 140
- 100
-
-
-
- true
-
-
- :/graphics/graphics/logo-140-100.png
-
-
-
-
+
+
+ 20
+ 20
+
+
+
- -
-
-
- 0
-
-
- 6
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 20
- 20
-
-
-
-
- -
-
-
-
- 0
- 0
- 0
- 0
-
-
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 221
- 223
- 228
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 85
- 85
- 85
-
-
-
-
-
-
- 199
- 199
- 199
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 74
- 131
- 83
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 103
- 141
- 178
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 0
- 0
- 238
-
-
-
-
-
-
- 82
- 24
- 139
-
-
-
-
-
-
- 232
- 232
- 232
-
-
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 221
- 223
- 228
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 85
- 85
- 85
-
-
-
-
-
-
- 199
- 199
- 199
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 74
- 131
- 83
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 103
- 141
- 178
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 0
- 0
- 238
-
-
-
-
-
-
- 82
- 24
- 139
-
-
-
-
-
-
- 232
- 232
- 232
-
-
-
-
-
-
-
-
- 128
- 128
- 128
-
-
-
-
-
-
- 221
- 223
- 228
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 85
- 85
- 85
-
-
-
-
-
-
- 199
- 199
- 199
-
-
-
-
-
-
- 199
- 199
- 199
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 128
- 128
- 128
-
-
-
-
-
-
- 74
- 131
- 83
-
-
-
-
-
-
- 74
- 131
- 83
-
-
-
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
- 86
- 117
- 148
-
-
-
-
-
-
- 255
- 255
- 255
-
-
-
-
-
-
- 0
- 0
- 238
-
-
-
-
-
-
- 82
- 24
- 139
-
-
-
-
-
-
- 232
- 232
- 232
-
-
-
-
-
-
-
- true
-
-
-
-
-
-
- 9
-
-
- 6
-
-
-
-
-
-
- 0
- 0
- 0
- 0
-
-
-
-
- 104
- 114
-
-
-
- true
-
-
- QFrame::StyledPanel
-
-
- QFrame::Raised
-
-
-
- 4
-
-
- 4
-
-
-
-
-
- true
-
-
- QFrame::StyledPanel
-
-
- QFrame::Raised
-
-
-
- 4
-
-
- 0
-
-
-
-
-
-
- 0
- 30
-
-
-
-
- 16777215
- 30
-
-
-
- true
-
-
-
-
-
-
- -
-
-
-
- 0
- 25
-
-
-
-
- 16777215
- 25
-
-
-
- true
-
-
-
-
-
-
- -
-
-
- 0
-
-
- 4
-
-
-
-
-
-
- 0
- 26
-
-
-
-
- 16777215
- 26
-
-
-
-
- -
-
-
-
- 0
- 26
-
-
-
-
- 16777215
- 26
-
-
-
-
-
-
-
-
-
- -
-
-
-
- 0
- 0
- 0
- 0
-
-
-
- QFrame::StyledPanel
-
-
- QFrame::Raised
-
-
-
- 9
-
-
- 6
-
-
-
-
-
-
- 57
- 80
-
-
-
-
- 57
- 80
-
-
-
-
-
-
-
- -
-
-
-
- 57
- 80
-
-
-
-
- 57
- 80
-
-
-
-
-
-
-
- -
-
-
-
- 57
- 80
-
-
-
-
- 57
- 80
-
-
-
-
-
-
-
- -
-
-
-
- 57
- 80
-
-
-
-
- 57
- 80
-
-
-
-
-
-
-
- -
-
-
-
- 57
- 80
-
-
-
-
- 57
- 80
-
-
-
-
-
-
-
-
-
-
- -
-
-
- 0
-
-
- 6
-
-
-
-
-
-
- 95
- 16
-
-
-
- QFrame::StyledPanel
-
-
- QFrame::Raised
-
-
-
- 2
-
-
- 0
-
-
-
-
-
-
- 12
-
-
-
- Qt::AlignCenter
-
-
-
-
-
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 0
+ 25
+
+
+
+
+ 16777215
+ 25
+
+
+
+ true
+
+
+
+
+
+
+ -
+
+
+ 0
+
+
+ 4
+
+
-
+
+
+
+ 0
+ 26
+
+
+
+
+ 16777215
+ 26
+
+
+
+
+ -
+
+
+
+ 0
+ 26
+
+
+
+
+ 16777215
+ 26
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+ 9
+
+
+ 6
+
+
-
+
+
+
+ 57
+ 80
+
+
+
+
+ 57
+ 80
+
+
+
+
+
+
+
+ -
+
+
+
+ 57
+ 80
+
+
+
+
+ 57
+ 80
+
+
+
+
+
+
+
+ -
+
+
+
+ 57
+ 80
+
+
+
+
+ 57
+ 80
+
+
+
+
+
+
+
+ -
+
+
+
+ 57
+ 80
+
+
+
+
+ 57
+ 80
+
+
+
+
+
+
+
+ -
+
+
+
+ 57
+ 80
+
+
+
+
+ 57
+ 80
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ 0
+
+
+ 6
+
+
-
+
+
+
+ 95
+ 16
+
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+ 2
+
+
+ 0
+
+
-
+
+
+
+ 12
+
+
+
+ Qt::AlignCenter
+
+
+
+
+
+
+ -
+
+
+
+ 95
+ 36
+
+
+
+ true
+
+
+ QFrame::StyledPanel
+
+
+ QFrame::Raised
+
+
+
+ 3
+
+
+ 0
+
+
-
+
+
+
+ 15
+ 75
+ true
+
+
+
+ Qt::AlignCenter
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 20
+ 20
+
+
+
+
+
diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp
index eef54258..946e83e9 100755
--- a/src/gui/qt/mainwindowimpl.cpp
+++ b/src/gui/qt/mainwindowimpl.cpp
@@ -68,7 +68,9 @@ mainWindowImpl::mainWindowImpl(QMainWindow *parent, const char *name)
//Toolbox verstecken?
if (!myConfig->readConfigInt("ShowToolBox", 1)) { groupBox_tools->hide(); }
- if (myConfig->readConfigInt("ShowIntro", 1)) { QTimer::singleShot(100, this, SLOT( paintStartSplash() )); }
+ if (myConfig->readConfigInt("ShowIntro", 1)) {
+ label_logo->hide();
+ QTimer::singleShot(100, this, SLOT( paintStartSplash() )); }
pushButton_raise->setDisabled(TRUE);
@@ -1384,7 +1386,7 @@ void mainWindowImpl::breakButtonClicked() {
void mainWindowImpl::paintStartSplash() {
- StartSplash *mySplash = new StartSplash();
+ StartSplash *mySplash = new StartSplash(this);
mySplash->setMaximumSize(400,250);
mySplash->setMinimumSize(400,250);
@@ -1404,7 +1406,7 @@ void mainWindowImpl::keyPressEvent ( QKeyEvent * event ) {
}
if (event->key() == 66) {
-
+ label_logo->hide();
}
diff --git a/src/gui/qt/startsplash/startsplash.cpp b/src/gui/qt/startsplash/startsplash.cpp
index 9332354c..bb8dce21 100644
--- a/src/gui/qt/startsplash/startsplash.cpp
+++ b/src/gui/qt/startsplash/startsplash.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "startsplash.h"
-StartSplash::StartSplash()
- : QDialog()
+StartSplash::StartSplash(mainWindowImpl *parent)
+ : QDialog(), myW(parent)
{
QFontDatabase::addApplicationFont ("src/gui/qt/fonts/c059013l.pfb");
QFontDatabase::addApplicationFont ("src/gui/qt/fonts/andybold.ttf");
@@ -236,7 +236,11 @@ void StartSplash::paintEvent(QPaintEvent * event) {
}
- if(frameNo >= 245) { this->hide(); }
+ if(frameNo >= 245) {
+ this->hide();
+ myW->label_logo->show();
+
+ }
}
diff --git a/src/gui/qt/startsplash/startsplash.h b/src/gui/qt/startsplash/startsplash.h
index 105c0735..d5570ab1 100644
--- a/src/gui/qt/startsplash/startsplash.h
+++ b/src/gui/qt/startsplash/startsplash.h
@@ -14,6 +14,8 @@
#include
+#include "mainwindowimpl.h"
+
#include
#include
@@ -21,7 +23,7 @@ class StartSplash : public QDialog
{
Q_OBJECT
public:
- StartSplash();
+ StartSplash(mainWindowImpl *);
~StartSplash();
@@ -35,6 +37,10 @@ public slots:
void nextAnimationFrame();
+private:
+
+ mainWindowImpl *myW;
+
};
#endif