summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_widgets_qsplashscreen.cpp
blob: d20f1f298207eeb5e7ff26a88e112ed208b8c9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! [0]
QPixmap pixmap(":/splash.png");
QSplashScreen *splash = new QSplashScreen(pixmap);
splash->show();

... // Loading some items
splash->showMessage("Loaded modules");

qApp->processEvents();

... // Establishing connections
splash->showMessage("Established connections");

qApp->processEvents();
//! [0]