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