aboutsummaryrefslogtreecommitdiff
path: root/gui/CustomMessageBox.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-10-30 00:56:43 +0100
committerPetr Mrázek <peterix@gmail.com>2013-10-30 00:56:43 +0100
commitf941119fbd89b5677a2895eee3232fa76389b4b5 (patch)
tree7d761d3c8189c06dda83e3fa88f281a24ab46e4b /gui/CustomMessageBox.h
parentc46292c9b1c153f2d17554690e90db1c8efe4d23 (diff)
parent44823324f9f489adf957a459bac5dd4d0693e85e (diff)
downloadPrismLauncher-f941119fbd89b5677a2895eee3232fa76389b4b5.tar.gz
PrismLauncher-f941119fbd89b5677a2895eee3232fa76389b4b5.tar.bz2
PrismLauncher-f941119fbd89b5677a2895eee3232fa76389b4b5.zip
Merge branch 'develop'
Diffstat (limited to 'gui/CustomMessageBox.h')
-rw-r--r--gui/CustomMessageBox.h11
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);
+}