CCIMXDesktop
 
Loading...
Searching...
No Matches
CCIMX_DesktopSplashWindow.h
1#ifndef CCIMX_DESKTOPSPLASHWINDOW_H
2#define CCIMX_DESKTOPSPLASHWINDOW_H
3
4#include <QSplashScreen>
5
7class QProgressBar;
8class QPropertyAnimation;
9
14class CCIMX_DesktopSplashWindow : public QSplashScreen {
15 Q_OBJECT
16 static constexpr const unsigned int CLOSE_DURATION = 500;
17
18public:
26 void close();
27public slots:
33 void handle_accessment(const QString& message, const int value);
34
35protected:
40 void drawContents(QPainter* painter) override;
41 QProgressBar* progressBar;
42 QPropertyAnimation* progressAnim = nullptr;
43private:
44 int progressValue;
45 QString currentMessage;
46};
47
48#endif // CCIMX_DESKTOPSPLASHWINDOW_H
The CCIMX_DesktopSplashWindow class class handles the init stage displays.
Definition CCIMX_DesktopSplashWindow.h:14
void drawContents(QPainter *painter) override
drawContents
Definition CCIMX_DesktopSplashWindow.cpp:55
void handle_accessment(const QString &message, const int value)
handle_accessment handle the accessiments
Definition CCIMX_DesktopSplashWindow.cpp:36
CCIMX_DesktopSplashWindow()
CCIMX_DesktopSplashWindow.
Definition CCIMX_DesktopSplashWindow.cpp:6
void close()
close called when the init comes to the end
Definition CCIMX_DesktopSplashWindow.cpp:26
QProgressBar * progressBar
progress sessions
Definition CCIMX_DesktopSplashWindow.h:41
QPropertyAnimation * progressAnim
processing bars
Definition CCIMX_DesktopSplashWindow.h:42
DesktopMainWindow is the main frontend window of the application. For beginners, this is the starting...
Definition desktopmainwindow.h:39