コード例 #1
0
ファイル: main.cpp プロジェクト: Lums-proj/Lums-Studio
int
main(int argc, char** argv)
{
    QApplication a(argc, argv);
    Splash* s = new Splash;

    s->show();
    return a.exec();
}
コード例 #2
0
void NewGeneMainWindow::displaySplash(bool const opened_as_about_box)
{
	theSplash = new Splash{this, this, opened_as_about_box};

	Splash * view = theSplash;

	Qt::WindowFlags flags = view->windowFlags();
	flags |= Qt::WindowStaysOnTopHint;
	flags |= Qt::SplashScreen;
	flags &= ~Qt::WindowContextHelpButtonHint;
	view->installEventFilter(view);
	view->setWindowFlags(flags);
	view->show();
	//view->activateWindow();
}
コード例 #3
0
ファイル: game.cpp プロジェクト: zivlakmilos/Parmecium
void Game::splash(void)
{
    Splash *splash = new Splash(this->width, this->height);
    splash->show();
    delete splash;
}