Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
5QPixmap pixmap(":/splash.png");
8
9... // Loading some items
10splash->showMessage("Loaded modules");
11
13
14... // Establishing connections
15splash->showMessage("Established connections");
16
static void processEvents(QEventLoop::ProcessEventsFlags flags=QEventLoop::AllEvents)
Processes some pending events for the calling thread according to the specified flags.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
Definition qpixmap.h:27
The QSplashScreen widget provides a splash screen that can be shown during application startup.
void showMessage(const QString &message, int alignment=Qt::AlignLeft, const QColor &color=Qt::black)
Draws the message text onto the splash screen with color color and aligns the text according to the f...
void show()
Shows the widget and its child widgets.
Definition qwidget.cpp:7875
QPixmap pixmap(":/splash.png")
[0]
QSplashScreen * splash