Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_widgets_qsplashscreen.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
//! [0]
5
QPixmap
pixmap
(
":/splash.png"
);
6
QSplashScreen
*
splash
=
new
QSplashScreen(pixmap);
7
splash->show();
8
9
...
// Loading some items
10
splash
->showMessage(
"Loaded modules"
);
11
12
QCoreApplication::processEvents();
13
14
...
// Establishing connections
15
splash
->showMessage(
"Established connections"
);
16
17
QCoreApplication::processEvents();
18
//! [0]
pixmap
QPixmap pixmap(":/splash.png")
[0]
splash
QSplashScreen * splash
Definition
src_gui_widgets_qsplashscreen.cpp:6
qtbase
src
widgets
doc
snippets
code
src_gui_widgets_qsplashscreen.cpp
Generated on
for Qt by
1.14.0