26 #ifndef __TERRALIB_QT_AF_INTERNAL_SPLASHSCREENMANAGER_H
27 #define __TERRALIB_QT_AF_INTERNAL_SPLASHSCREENMANAGER_H
30 #include "../../common/Singleton.h"
34 #include <QSplashScreen>
73 void set(QSplashScreen* impl,
int alignment = Qt::AlignLeft,
const QColor& color = Qt::black);
Template support for singleton pattern.
A singleton for holding the application splash screen.
void finish(QWidget *w)
Finishes the splash screen.
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.
~SplashScreenManager()
Destructor.
QSplashScreen * m_sc
A reference to the splash screen.
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 hide()
Hide the splash screen.
void show()
Shows the splash screen.
void setLogo(const QPixmap &pix)
Updates the image to be presented on splash screen.
SplashScreenManager()
It initializes the singleton.
QColor m_msgColor
The color used to draw the message text.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).