Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
This window is implemented in Qt using the QSplashScreen class
Create a QSplashScreen with a QPixmap for the background
Next, show this box
AND set the text (this just shows the text, can be used between QSplashScreen::show(); and QSplashScreen::finish();
splashScreen.showMessage(
/*const QString &message*/ "Сообщение",
/*int alignment = Qt::AlignLeft*/ Положение текста,
/*const QColor &color = Qt::black*/ Цвет QColor);
Constant | Meaning | Description |
Qt::AlignLeft | 0x0001 | Left alignment |
Qt::AlignRight | 0x0002 | Right alignment |
Qt::AlignHCenter | 0x0004 | Center alignment (horizontal) |
Constant | Meaning | Description |
Qt::AlignTop | 0x0020 | Top alignment |
Qt::AlignBottom | 0x0040 | Bottom alignment |
Qt::AlignVCenter | 0x0080 | Center alignment (vertical) |
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question