20 #ifndef DONOTSHOWAGAINMESSAGEBOX_H
21 #define DONOTSHOWAGAINMESSAGEBOX_H
23 #include <QMessageBox>
76 static int show(
Type type,
const QString text, QWidget *parent =
nullptr);
77 static int show(
Type type, QWidget *parent) {
return show(type, QString(), parent);}
86 #endif // DONOTSHOWAGAINMESSAGEBOX_H
A MessageBox with a QCheckBox to remember the decision of the user.
~DoNotShowAgainMessageBox()
Destructor.
The tuning curve has to be recalculated.
DoNotShowAgainMessageBox(Type type, const QString &text, QWidget *parent)
Private constructor.
Not all keys have been recorded.
Type mType
The type of the message box.
static int show(Type type, const QString text, QWidget *parent=nullptr)
Show a message box if the user didnt check the QCheckBox.
The tuning curve has not been calculated.
static bool doNotShowAgain(Type type)
static int show(Type type, QWidget *parent)
Type
The type and unique id for the message box.