2021-03-31 05:38:59 -07:00
|
|
|
#ifndef GENERALDIALOG_H
|
|
|
|
#define GENERALDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2021-05-09 11:07:05 -07:00
|
|
|
#include "usbms_splash.h"
|
|
|
|
|
2021-03-31 05:38:59 -07:00
|
|
|
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-05-01 12:53:52 -07:00
|
|
|
bool koboxSettingsRebootDialog = false;
|
2021-04-22 04:38:54 -07:00
|
|
|
bool lowBatteryDialog = false;
|
2021-05-09 11:07:05 -07:00
|
|
|
bool usbmsDialog = 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;
|
2021-05-09 11:07:05 -07:00
|
|
|
usbms_splash *usbmsWindow;
|
2021-03-31 05:38:59 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GENERALDIALOG_H
|