BootSplashScreen.h 482 B

1234567891011121314151617181920212223242526272829
  1. #ifndef BOOTSPLASHSCREEN_H
  2. #define BOOTSPLASHSCREEN_H
  3. #include <QSplashScreen>
  4. #include <QPixmap>
  5. #include <QProgressBar>
  6. #include <QList>
  7. #include <QtGlobal>
  8. class BootSplashScreen : public QSplashScreen
  9. {
  10. Q_OBJECT
  11. public:
  12. BootSplashScreen(QPixmap& pixmap, int elapseTime);
  13. ~BootSplashScreen();
  14. private:
  15. QProgressBar* mProgressBar;
  16. int mElapseTime;
  17. private:
  18. void SetProgress();
  19. private:
  20. void slotUpdateProgress();
  21. };
  22. #endif // BOOTSPLASHSCREEN_H