aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/BootSplash.h
blob: f9812ff4569fa13b60641f0d69ebd75394decd03 (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
30
31
#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;

	void generateTipOfTheDay();

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
bgstack15