MIRA
|
Widget provides a splash screen that can be shown during application startup. More...
#include <widgets/SplashScreen.h>
Public Types | |
enum | SpecialMode { DUMMY } |
Public Member Functions | |
SplashScreen (SpecialMode mode) | |
Creates a disabled dummy SplashScreen, which does nothing. More... | |
SplashScreen (QWidget *parent, const QPixmap &pixmap) | |
void | show () |
Shows the splash screen. More... | |
void | closeTimer (int timeout) |
After calling this method the splash screen will hide automatically after the specified timeout has elapsed. More... | |
void | closeOnClick () |
After this method is called, the user can close the splash screen by clicking on it. More... | |
void | clearMessage () |
void | showMessage (const QString &message, int alignment=Qt::AlignLeft|Qt::AlignTop, const QColor &color=Qt::black) |
void | setTextRect (const QRect &rect) |
Static Public Member Functions | |
static void | closeSplashScreen () |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *event) |
Widget provides a splash screen that can be shown during application startup.
Similar to QSplashScreen, but supports transparent pixmaps. For a documentation of the methods, see QSplashScreen.
enum SpecialMode |
SplashScreen | ( | SpecialMode | mode | ) |
Creates a disabled dummy SplashScreen, which does nothing.
SplashScreen | ( | QWidget * | parent, |
const QPixmap & | pixmap | ||
) |
void show | ( | ) |
Shows the splash screen.
void closeTimer | ( | int | timeout | ) |
After calling this method the splash screen will hide automatically after the specified timeout has elapsed.
void closeOnClick | ( | ) |
After this method is called, the user can close the splash screen by clicking on it.
(e.g. after startup is finished)
void clearMessage | ( | ) |
void showMessage | ( | const QString & | message, |
int | alignment = Qt::AlignLeft|Qt::AlignTop , |
||
const QColor & | color = Qt::black |
||
) |
void setTextRect | ( | const QRect & | rect | ) |
|
static |
|
protectedvirtual |