kwave
18.07.70
|
#include <Splash.h>
Public Member Functions | |
Splash (const QString &PNGFile) | |
virtual | ~Splash () Q_DECL_OVERRIDE |
virtual void | paintEvent (QPaintEvent *e) Q_DECL_OVERRIDE |
virtual void | mousePressEvent (QMouseEvent *) Q_DECL_OVERRIDE |
void | done () |
Static Public Member Functions | |
static void | showMessage (const QString &message) |
Private Attributes | |
QFont | m_font |
QPixmap | m_pixmap |
QString | m_message |
Static Private Attributes | |
static QPointer< Kwave::Splash > | m_splash = Q_NULLPTR |
|
explicit |
Constructor
PNGFile | name of a file to be shown as splashscreen, should be found in one of the "appdata" directories. |
Definition at line 42 of file Splash.cpp.
References background, m_font, m_pixmap, m_splash, and rect().
|
virtual |
void Kwave::Splash::done | ( | ) |
should be called when the splashscreen is no longer needed
Definition at line 99 of file Splash.cpp.
References m_splash.
Referenced by main(), and mousePressEvent().
|
virtual |
hides the splash screen on mouse click
Definition at line 150 of file Splash.cpp.
References done().
|
virtual |
|
static |
wrapper for QSplashScreen::showMessage with only one parameter
Definition at line 115 of file Splash.cpp.
References m_splash.
Referenced by Kwave::FileContext::init(), Kwave::TopWidget::loadFile(), Kwave::App::newInstance(), Kwave::App::newWindow(), and Kwave::TopWidget::showInSplashSreen().
|
private |
font to use for the status text and version number
Definition at line 64 of file Splash.h.
Referenced by paintEvent(), and Splash().
|
private |
|
private |
pixmap with the Kwave logo
Definition at line 67 of file Splash.h.
Referenced by paintEvent(), and Splash().
|
staticprivate |
static instance
Definition at line 73 of file Splash.h.
Referenced by done(), paintEvent(), showMessage(), Splash(), and ~Splash().