You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
installer-prompt/src/warningdialog.h

27 lines
424 B

#ifndef WARNINGDIALOG_H
#define WARNINGDIALOG_H
#include <QDialog>
namespace Ui {
class WarningDialog;
}
class WarningDialog : public QDialog
{
Q_OBJECT
public:
explicit WarningDialog(QString warningText, QWidget *parent = nullptr);
~WarningDialog();
static void showWarning(QString warningText);
private slots:
void onOkClicked();
private:
Ui::WarningDialog *ui;
};
#endif // WARNINGDIALOG_H