quill/generaldialog.h
Nicolas Mailloux 9428483d02 Add QTextBrowser widget and dialog
Some things, such as UIDs, just couldn't display normally and we need
such a browser for them.
I'll work on implementing as the main engine for the Reader framework.
2021-06-08 07:49:52 -04:00

41 lines
807 B
C++

#ifndef GENERALDIALOG_H
#define GENERALDIALOG_H
#include <QDialog>
#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;
bool usbmsDialog = false;
bool textBrowserDialog = false;
private slots:
void on_cancelBtn_clicked();
void on_okBtn_clicked();
void on_acceptBtn_clicked();
private:
Ui::generalDialog *ui;
usbms_splash *usbmsWindow;
textwidget *textwidgetWindow;
};
#endif // GENERALDIALOG_H