QElectroTech 0.100.0-dev
|
Functions | |
QMessageBox::StandardButton | critical (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton) |
QMessageBox::StandardButton | information (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton) |
QMessageBox::StandardButton | question (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton) |
QMessageBox::StandardButton | warning (QWidget *, const QString &, const QString &, QMessageBox::StandardButtons=QMessageBox::Ok, QMessageBox::StandardButton=QMessageBox::NoButton) |
This namespace defines static methods behaving in a very similar way to some static methods from the QMessageBox Qt class. The behavior is expected to be the same under X11 and Windows. However, under MacOS, when a parent widget is provided, these methodes ensure the dialog box is "window modal" and has the Qt:Sheet flag, thus enabling a better MacOS integration.
QMessageBox::StandardButton QET::QetMessageBox::critical | ( | QWidget * | parent, |
const QString & | title, | ||
const QString & | text, | ||
QMessageBox::StandardButtons | buttons = QMessageBox::Ok , |
||
QMessageBox::StandardButton | defaultButton = QMessageBox::NoButton |
||
) |
QMessageBox::StandardButton QET::QetMessageBox::information | ( | QWidget * | parent, |
const QString & | title, | ||
const QString & | text, | ||
QMessageBox::StandardButtons | buttons = QMessageBox::Ok , |
||
QMessageBox::StandardButton | defaultButton = QMessageBox::NoButton |
||
) |
QMessageBox::StandardButton QET::QetMessageBox::question | ( | QWidget * | parent, |
const QString & | title, | ||
const QString & | text, | ||
QMessageBox::StandardButtons | buttons = QMessageBox::Ok , |
||
QMessageBox::StandardButton | defaultButton = QMessageBox::NoButton |
||
) |
QMessageBox::StandardButton QET::QetMessageBox::warning | ( | QWidget * | parent, |
const QString & | title, | ||
const QString & | text, | ||
QMessageBox::StandardButtons | buttons = QMessageBox::Ok , |
||
QMessageBox::StandardButton | defaultButton = QMessageBox::NoButton |
||
) |