软件启动画面
QPixmap* showPixmap = new QPixmap(":/Skin/start.png");
showPixmap->mask();
QSplashScreen *splash = new QSplashScreen;
splash->setPixmap(*showPixmap);
splash->show();
Sleep(2000);
Qt::Alignment topRight = Qt::AlignRight | Qt::AlignTop;
splash->showMessage(QObject::tr("Setting up the main window..."),topRight, Qt::white);
Sleep(1000);
splash->showMessage(QObject::tr("Loading modules..."),topRight, Qt::white);
Sleep(1000);
splash->showMessage(QObject::tr("Establishing connections..."),topRight, Qt::white);
Sleep(1000);
splash->finish(&mainWin);
delete splash;
showPixmap->mask();
QSplashScreen *splash = new QSplashScreen;
splash->setPixmap(*showPixmap);
splash->show();
Sleep(2000);
Qt::Alignment topRight = Qt::AlignRight | Qt::AlignTop;
splash->showMessage(QObject::tr("Setting up the main window..."),topRight, Qt::white);
Sleep(1000);
splash->showMessage(QObject::tr("Loading modules..."),topRight, Qt::white);
Sleep(1000);
splash->showMessage(QObject::tr("Establishing connections..."),topRight, Qt::white);
Sleep(1000);
splash->finish(&mainWin);
delete splash;