30 #include <QtCore/QCoreApplication>
39 QCoreApplication::processEvents();
45 m_msgAlignment = alignment;
57 if(m_sc != 0 && m_sc->isVisible())
63 m_msgAlignment(Qt::AlignLeft),
void close()
Closes 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() ...
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.