1234567891011121314151617181920212223242526272829 |
- #ifndef BOOTSPLASHSCREEN_H
- #define BOOTSPLASHSCREEN_H
- #include <QSplashScreen>
- #include <QPixmap>
- #include <QProgressBar>
- #include <QList>
- #include <QtGlobal>
- class BootSplashScreen : public QSplashScreen
- {
- Q_OBJECT
- public:
- BootSplashScreen(QPixmap& pixmap, int elapseTime);
- ~BootSplashScreen();
- private:
- QProgressBar* mProgressBar;
- int mElapseTime;
- private:
- void SetProgress();
- private:
- void slotUpdateProgress();
- };
- #endif // BOOTSPLASHSCREEN_H
|