Skip to content
generaldialog.h 807 B
Newer Older
#ifndef GENERALDIALOG_H
#define GENERALDIALOG_H

#include <QDialog>

Nicolas Mailloux's avatar
Nicolas Mailloux committed
#include "usbms_splash.h"
#include "textwidget.h"
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 koboxSettingsRebootDialog = false;
    bool lowBatteryDialog = false;
Nicolas Mailloux's avatar
Nicolas Mailloux committed
    bool usbmsDialog = false;
    bool textBrowserDialog = false;

private slots:
    void on_cancelBtn_clicked();
    void on_okBtn_clicked();
private:
    Ui::generalDialog *ui;
Nicolas Mailloux's avatar
Nicolas Mailloux committed
    usbms_splash *usbmsWindow;
    textwidget *textwidgetWindow;