30 #include <QtCore/QCoreApplication> 39 QCoreApplication::processEvents();
57 if(
m_sc !=
nullptr &&
m_sc->isHidden())
63 if(
m_sc !=
nullptr &&
m_sc->isVisible())
void show()
Shows the splash screen.
QColor m_msgColor
The color used to draw the message text.
A singleton for holding he application splash screen.
SplashScreenManager()
It initializes the singleton.
void showMessage(const QString &message)
This will cause the text to be drawn on the splash screen and a call to Application::processEvents() ...
void hide()
Hide the splash screen.
void finish(QWidget *w)
Finishes the splash screen.
int m_msgAlignment
The alignment used to draw the message text.
void set(QSplashScreen *impl, int alignment=Qt::AlignLeft, const QColor &color=Qt::black)
It sets the splash screen to be used during the application startup.
void setLogo(const QPixmap &pix)
Updates the image to be presented on splash screen.
QSplashScreen * m_sc
A reference to the splash screen.
~SplashScreenManager()
Destructor.