SplashScreenWidget
Qualified name: mv::gui::SplashScreenWidget
-
class SplashScreenWidget : public QWidget
Splash screen widget class.
For displaying a splash screen using an mv::gui::SplashScreenAction
- Author
Thomas Kroes
Public Functions
-
SplashScreenWidget(SplashScreenAction &splashScreenAction, QWidget *parent = nullptr)
Construct with reference to owning
splashScreenActionand optional pointer toparentwidget.- Parameters:
splashScreenAction – Reference to owning splashScreenAction
parent – Pointer to parent widget
-
~SplashScreenWidget() override
Destructor.
-
void showEvent(QShowEvent *event) override
Override the show event to initialize the widget once, wraps QWidget::showEvent()
- Parameters:
event – Pointer to show event
-
void hideEvent(QHideEvent *event) override
Override the hide event to stop the event processing timer, wraps QWidget::hideEvent()
- Parameters:
event – Pointer to hide event
-
void showAnimated()
Show the splash screen widget animated, wraps QWidget::show()
-
void closeAnimated()
Animate the splash screen widget and close it, wraps QWidget::close()