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.
35 lines
583 B
C++
35 lines
583 B
C++
#ifndef GENERALDIALOG_H
|
|
#define GENERALDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
using namespace std;
|
|
|
|
namespace Ui {
|
|
class generalDialog;
|
|
}
|
|
|
|
class generalDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit generalDialog(QWidget *parent = nullptr);
|
|
~generalDialog();
|
|
bool resetDialog = false;
|
|
bool updateDialog = false;
|
|
bool settingsRebootDialog = false;
|
|
bool lowBatteryDialog = false;
|
|
|
|
private slots:
|
|
void on_cancelBtn_clicked();
|
|
|
|
void on_okBtn_clicked();
|
|
|
|
void on_acceptBtn_clicked();
|
|
|
|
private:
|
|
Ui::generalDialog *ui;
|
|
};
|
|
|
|
#endif // GENERALDIALOG_H
|