Add selectable message box helper, use it, make login GUI error label selectable

This commit is contained in:
Sky
2013-10-29 12:40:09 +00:00
parent e7e03c2b54
commit b0ef429786
11 changed files with 88 additions and 44 deletions

11
gui/CustomMessageBox.h Normal file
View File

@ -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);
}