mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
51fad25719
WIP, some changes coming, notably a critical/low battery alert, and some big code revamping.
32 lines
490 B
C++
32 lines
490 B
C++
#ifndef ALERT_H
|
|
#define ALERT_H
|
|
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class alert;
|
|
}
|
|
|
|
using namespace std;
|
|
|
|
class alert : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit alert(QWidget *parent = nullptr);
|
|
~alert();
|
|
bool signatureError = false;
|
|
bool downgradeError = false;
|
|
bool criticalBattery = false;
|
|
|
|
private slots:
|
|
void on_continueBtn_clicked();
|
|
void on_resetBtn_clicked();
|
|
void on_continue2Btn_clicked();
|
|
|
|
private:
|
|
Ui::alert *ui;
|
|
};
|
|
|
|
#endif // ALERT_H
|