blob: f5bf97a8034c9b09b7b5062416d43847c4ba69dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _LUMINA_DESKTOP_BOOT_SPLASHSCREEN_H
#define _LUMINA_DESKTOP_BOOT_SPLASHSCREEN_H
#include <QWidget>
#include <QLabel>
#include <QProgressBar>
#include <QPixmap>
#include <QPoint>
#include <QApplication>
#include <QDesktopWidget>
namespace Ui{
class BootSplash;
};
class BootSplash : public QWidget{
Q_OBJECT
private:
Ui::BootSplash *ui;
public:
BootSplash();
~BootSplash(){}
void showScreen(QString loading); //update icon, text, and progress
void showText(QString txt); //will only update the text, not the icon/progress
};
#endif
|