diff options
Diffstat (limited to 'gui/CustomMessageBox.h')
-rw-r--r-- | gui/CustomMessageBox.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gui/CustomMessageBox.h b/gui/CustomMessageBox.h new file mode 100644 index 00000000..145651ec --- /dev/null +++ b/gui/CustomMessageBox.h @@ -0,0 +1,11 @@ +#pragma once + +#include <QMessageBox> + +namespace CustomMessageBox +{ + QMessageBox *selectable(QWidget *parent, const QString &title, const QString &text, + QMessageBox::Icon icon = QMessageBox::NoIcon, + QMessageBox::StandardButtons buttons = QMessageBox::Ok, + QMessageBox::StandardButton defaultButton = QMessageBox::NoButton); +} |