5 Splash::Splash(QWidget *parent): QMainWindow(parent)
\r
7 QLabel *label = new QLabel(this);
\r
8 QRect geo = QApplication::desktop()->geometry();
\r
9 label->setGeometry(geo);
\r
10 label->setStyleSheet("background-color: black; color: black");
\r
11 label->setPixmap(QPixmap(":/icons/splash.jpg").scaled(geo.width(),
\r
12 geo.height(), Qt::KeepAspectRatio, Qt::SmoothTransformation));
\r
13 setCentralWidget(label);
\r