Home · All Classes · Modules

QMessageBox Class Reference
[QtGui module]

Inherits QDialog.

Types

Methods

Static Methods

Qt Signals


Detailed Description


Type Documentation

QMessageBox.ButtonRole

QMessageBox.Icon

QMessageBox.StandardButton


Method Documentation

QMessageBox.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QMessageBox.__init__ (self, Icon, QString, QString, StandardButtons buttons = QMessageBox.NoButton, QWidget parent = None, Qt.WindowFlags flags = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QMessageBox.__init__ (self, QString, QString, Icon, int, int, int, QWidget parent = None, Qt.WindowFlags flags = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QMessageBox.about (QWidget, QString, QString)

QMessageBox.aboutQt (QWidget, QString title = QString())

QMessageBox.addButton (self, QAbstractButton, ButtonRole)

The QAbstractButton argument has it's ownership transferred to Qt.

QPushButton QMessageBox.addButton (self, QString, ButtonRole)

QPushButton QMessageBox.addButton (self, StandardButton)

QAbstractButton QMessageBox.button (self, StandardButton)

ButtonRole QMessageBox.buttonRole (self, QAbstractButton)

list-of-QAbstractButton QMessageBox.buttons (self)

QString QMessageBox.buttonText (self, int)

QMessageBox.changeEvent (self, QEvent)

QAbstractButton QMessageBox.clickedButton (self)

QMessageBox.closeEvent (self, QCloseEvent)

StandardButton QMessageBox.critical (QWidget, QString, QString, StandardButtons buttons = QMessageBox.Ok, StandardButton defaultButton = QMessageBox.NoButton)

int QMessageBox.critical (QWidget, QString, QString, int, int, int button2 = 0)

int QMessageBox.critical (QWidget, QString, QString, QString, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)

QPushButton QMessageBox.defaultButton (self)

QString QMessageBox.detailedText (self)

QAbstractButton QMessageBox.escapeButton (self)

bool QMessageBox.event (self, QEvent)

Icon QMessageBox.icon (self)

QPixmap QMessageBox.iconPixmap (self)

StandardButton QMessageBox.information (QWidget, QString, QString, StandardButtons buttons = QMessageBox.Ok, StandardButton defaultButton = QMessageBox.NoButton)

int QMessageBox.information (QWidget, QString, QString, int, int button1 = 0, int button2 = 0)

int QMessageBox.information (QWidget, QString, QString, QString, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)

QString QMessageBox.informativeText (self)

QMessageBox.keyPressEvent (self, QKeyEvent)

QMessageBox.open (self)

QMessageBox.open (self, QObject, SLOT()SLOT())

QMessageBox.open (self, callable)

StandardButton QMessageBox.question (QWidget, QString, QString, StandardButtons buttons = QMessageBox.Ok, StandardButton defaultButton = QMessageBox.NoButton)

int QMessageBox.question (QWidget, QString, QString, int, int button1 = 0, int button2 = 0)

int QMessageBox.question (QWidget, QString, QString, QString, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)

QMessageBox.removeButton (self, QAbstractButton)

The QAbstractButton argument

QMessageBox.resizeEvent (self, QResizeEvent)

QMessageBox.setButtonText (self, int, QString)

QMessageBox.setDefaultButton (self, QPushButton)

QMessageBox.setDefaultButton (self, StandardButton)

QMessageBox.setDetailedText (self, QString)

QMessageBox.setEscapeButton (self, QAbstractButton)

QMessageBox.setEscapeButton (self, StandardButton)

QMessageBox.setIcon (self, Icon)

QMessageBox.setIconPixmap (self, QPixmap)

QMessageBox.setInformativeText (self, QString)

QMessageBox.setStandardButtons (self, StandardButtons)

QMessageBox.setText (self, QString)

QMessageBox.setTextFormat (self, Qt.TextFormat)

QMessageBox.setWindowModality (self, Qt.WindowModality)

QMessageBox.setWindowTitle (self, QString)

QMessageBox.showEvent (self, QShowEvent)

QSize QMessageBox.sizeHint (self)

StandardButton QMessageBox.standardButton (self, QAbstractButton)

StandardButtons QMessageBox.standardButtons (self)

QPixmap QMessageBox.standardIcon (Icon)

QString QMessageBox.text (self)

Qt.TextFormat QMessageBox.textFormat (self)

StandardButton QMessageBox.warning (QWidget, QString, QString, StandardButtons buttons = QMessageBox.Ok, StandardButton defaultButton = QMessageBox.NoButton)

int QMessageBox.warning (QWidget, QString, QString, int, int, int button2 = 0)

int QMessageBox.warning (QWidget, QString, QString, QString, QString button1Text = QString(), QString button2Text = QString(), int defaultButtonNumber = 0, int escapeButtonNumber = -1)


Qt Signal Documentation

void buttonClicked (QAbstractButton *)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0