2021-03-31 05:38:59 -07:00
|
|
|
#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;
|
2021-04-01 05:58:37 -07:00
|
|
|
bool updateDialog = false;
|
2021-04-05 12:35:25 -07:00
|
|
|
bool settingsRebootDialog = false;
|
2021-04-22 04:38:54 -07:00
|
|
|
bool lowBatteryDialog = false;
|
2021-03-31 05:38:59 -07:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_cancelBtn_clicked();
|
|
|
|
|
|
|
|
void on_okBtn_clicked();
|
|
|
|
|
2021-04-05 12:35:25 -07:00
|
|
|
void on_acceptBtn_clicked();
|
|
|
|
|
2021-03-31 05:38:59 -07:00
|
|
|
private:
|
|
|
|
Ui::generalDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GENERALDIALOG_H
|