summaryrefslogtreecommitdiffstats
path: root/gui/CustomMessageBox.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-10-29 22:14:57 +0100
committerPetr Mrázek <peterix@gmail.com>2013-10-29 22:14:57 +0100
commit44823324f9f489adf957a459bac5dd4d0693e85e (patch)
tree7d761d3c8189c06dda83e3fa88f281a24ab46e4b /gui/CustomMessageBox.h
parent946d397ccedfe1c116566fce1f86ae4f794e44a4 (diff)
parent511417c4f7a9429619492092201253124ee9fed9 (diff)
downloadMultiMC-44823324f9f489adf957a459bac5dd4d0693e85e.tar
MultiMC-44823324f9f489adf957a459bac5dd4d0693e85e.tar.gz
MultiMC-44823324f9f489adf957a459bac5dd4d0693e85e.tar.lz
MultiMC-44823324f9f489adf957a459bac5dd4d0693e85e.tar.xz
MultiMC-44823324f9f489adf957a459bac5dd4d0693e85e.zip
Merge branch 'develop' of github.com:MultiMC/MultiMC5 into 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);
+}