NAME

Qt::Gui::QMessageBox

PUBLIC METHODS

QMessageBox(QWidget * parent)
QMessageBox(QWidget * parent = 0)
QMessageBox(QMessageBox::Icon icon, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QWidget * parent, QFlags<Qt::WindowType> flags)
QMessageBox(QMessageBox::Icon icon, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QWidget * parent, QFlags<Qt::WindowType> flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)
QMessageBox(QMessageBox::Icon icon, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QWidget * parent = 0, QFlags<Qt::WindowType> flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)
QMessageBox(QMessageBox::Icon icon, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons = QMessageBox::NoButton, QWidget * parent = 0, QFlags<Qt::WindowType> flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)
QMessageBox(const QString & title, const QString & text, QMessageBox::Icon icon, int button0, int button1, int button2, QWidget * parent, QFlags<Qt::WindowType> f)
QMessageBox(const QString & title, const QString & text, QMessageBox::Icon icon, int button0, int button1, int button2, QWidget * parent, QFlags<Qt::WindowType> f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)
QMessageBox(const QString & title, const QString & text, QMessageBox::Icon icon, int button0, int button1, int button2, QWidget * parent = 0, QFlags<Qt::WindowType> f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint)
~QMessageBox()
static void about(QWidget * parent, const QString & title, const QString & text)
static void aboutQt(QWidget * parent, const QString & title)
static void aboutQt(QWidget * parent, const QString & title = QString())
QPushButton * addButton(QMessageBox::StandardButton button)
void addButton(QAbstractButton * button, QMessageBox::ButtonRole role)
QPushButton * addButton(const QString & text, QMessageBox::ButtonRole role)
QAbstractButton * button(QMessageBox::StandardButton which)
QMessageBox::ButtonRole buttonRole(QAbstractButton * button)
QString buttonText(int button)
QAbstractButton * clickedButton()
static QMessageBox::StandardButton critical(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton)
static QMessageBox::StandardButton critical(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static QMessageBox::StandardButton critical(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static int critical(QWidget * parent, const QString & title, const QString & text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1)
static int critical(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2)
static int critical(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0)
static int critical(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber)
static int critical(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber = -1)
static int critical(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int critical(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int critical(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString(), const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
QPushButton * defaultButton()
QString detailedText()
QAbstractButton * escapeButton()
QMessageBox::Icon icon()
QPixmap iconPixmap()
static QMessageBox::StandardButton information(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton)
static QMessageBox::StandardButton information(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static QMessageBox::StandardButton information(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static QMessageBox::StandardButton information(QWidget * parent, const QString & title, const QString & text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1)
static QMessageBox::StandardButton information(QWidget * parent, const QString & title, const QString & text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton)
static int information(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2)
static int information(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0)
static int information(QWidget * parent, const QString & title, const QString & text, int button0, int button1 = 0, int button2 = 0)
static int information(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber)
static int information(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber = -1)
static int information(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int information(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int information(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString(), const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
QString informativeText()
void open(QObject * receiver, const char * member)
static QMessageBox::StandardButton question(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton)
static QMessageBox::StandardButton question(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static QMessageBox::StandardButton question(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static int question(QWidget * parent, const QString & title, const QString & text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1)
static int question(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2)
static int question(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0)
static int question(QWidget * parent, const QString & title, const QString & text, int button0, int button1 = 0, int button2 = 0)
static int question(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber)
static int question(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber = -1)
static int question(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int question(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int question(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString(), const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
void removeButton(QAbstractButton * button)
void setButtonText(int button, const QString & text)
void setDefaultButton(QPushButton * button)
void setDefaultButton(QMessageBox::StandardButton button)
void setDetailedText(const QString & text)
void setEscapeButton(QAbstractButton * button)
void setEscapeButton(QMessageBox::StandardButton button)
void setIcon(QMessageBox::Icon arg0)
void setIconPixmap(const QPixmap & pixmap)
void setInformativeText(const QString & text)
void setStandardButtons(QFlags<QMessageBox::StandardButton> buttons)
void setText(const QString & text)
void setTextFormat(Qt::TextFormat format)
void setWindowModality(Qt::WindowModality windowModality)
void setWindowTitle(const QString & title)
QSize sizeHint()
QMessageBox::StandardButton standardButton(QAbstractButton * button)
QFlags<QMessageBox::StandardButton> standardButtons()
static QPixmap standardIcon(QMessageBox::Icon icon)
QString text()
Qt::TextFormat textFormat()
static QMessageBox::StandardButton warning(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton)
static QMessageBox::StandardButton warning(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static QMessageBox::StandardButton warning(QWidget * parent, const QString & title, const QString & text, QFlags<QMessageBox::StandardButton> buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton)
static int warning(QWidget * parent, const QString & title, const QString & text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1)
static int warning(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2)
static int warning(QWidget * parent, const QString & title, const QString & text, int button0, int button1, int button2 = 0)
static int warning(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber)
static int warning(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber, int escapeButtonNumber = -1)
static int warning(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text, int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int warning(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text, const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)
static int warning(QWidget * parent, const QString & title, const QString & text, const QString & button0Text, const QString & button1Text = QString(), const QString & button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)

ENUM VALUES

NoIcon
Information
Warning
Critical
Question
InvalidRole
AcceptRole
RejectRole
DestructiveRole
ActionRole
HelpRole
YesRole
NoRole
ResetRole
ApplyRole
NRoles
NoButton
Ok
Save
SaveAll
Open
Yes
YesToAll
No
NoToAll
Abort
Retry
Ignore
Close
Cancel
Discard
Help
Apply
Reset
RestoreDefaults
FirstButton
LastButton
YesAll
NoAll
Default
Escape
FlagMask
ButtonMask

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html