Provides static utility functions for Qt.
More...
Static Public Member Functions |
| static QString | eventTypeName (QEvent::Type eventType) |
| | Get a string-name of the event type.
|
| static QString | eventTypeName (QEvent const *event) |
| | Get a string-name of the event type.
|
| static QMessageBox::StandardButton | critical (QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton, Qt::WindowFlags f=Qt::Tool|Qt::MSWindowsFixedSizeDialogHint) |
| | Display a critical message box.
|
| static QMessageBox::StandardButton | information (QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton, Qt::WindowFlags f=Qt::Tool|Qt::MSWindowsFixedSizeDialogHint) |
| | Display an information message box.
|
| static QMessageBox::StandardButton | question (QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Yes|QMessageBox::No, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton, Qt::WindowFlags f=Qt::MSWindowsFixedSizeDialogHint|Qt::Tool) |
| | Display an inquiry message box.
|
| static QMessageBox::StandardButton | warning (QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons=QMessageBox::Ok, QMessageBox::StandardButton defaultButton=QMessageBox::NoButton, Qt::WindowFlags f=Qt::MSWindowsFixedSizeDialogHint|Qt::Tool) |
| | Display a warning message box.
|
Static Private Member Functions |
| static QMessageBox::StandardButton | showMessageBox (QMessageBox &mbox, QMessageBox::StandardButton defaultButton) |
| | Display a message box with the given default button.
|
Detailed Description
Provides static utility functions for Qt.
Member Function Documentation
| static QString makVrv::DtQtUtil::eventTypeName |
( |
QEvent::Type |
eventType | ) |
|
|
static |
Get a string-name of the event type.
- Returns
- The event type converted into a string, or the type-id as a string if unknown.
| static QString makVrv::DtQtUtil::eventTypeName |
( |
QEvent const * |
event | ) |
|
|
static |
Get a string-name of the event type.
- Returns
- The event type converted into a string, or the type-id as a string if unknown.
| static QMessageBox::StandardButton makVrv::DtQtUtil::critical |
( |
QWidget * |
parent, |
|
|
const QString & |
title, |
|
|
const QString & |
text, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Ok, |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton, |
|
|
Qt::WindowFlags |
f = Qt::Tool|Qt::MSWindowsFixedSizeDialogHint |
|
) |
| |
|
static |
Display a critical message box.
- Returns
- The button clicked to dismiss the message box.
| static QMessageBox::StandardButton makVrv::DtQtUtil::information |
( |
QWidget * |
parent, |
|
|
const QString & |
title, |
|
|
const QString & |
text, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Ok, |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton, |
|
|
Qt::WindowFlags |
f = Qt::Tool|Qt::MSWindowsFixedSizeDialogHint |
|
) |
| |
|
static |
Display an information message box.
- Returns
- The button clicked to dismiss the message box.
| static QMessageBox::StandardButton makVrv::DtQtUtil::question |
( |
QWidget * |
parent, |
|
|
const QString & |
title, |
|
|
const QString & |
text, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Yes|QMessageBox::No, |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton, |
|
|
Qt::WindowFlags |
f = Qt::MSWindowsFixedSizeDialogHint|Qt::Tool |
|
) |
| |
|
static |
Display an inquiry message box.
- Returns
- The button clicked to dismiss the message box.
| static QMessageBox::StandardButton makVrv::DtQtUtil::warning |
( |
QWidget * |
parent, |
|
|
const QString & |
title, |
|
|
const QString & |
text, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Ok, |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton, |
|
|
Qt::WindowFlags |
f = Qt::MSWindowsFixedSizeDialogHint|Qt::Tool |
|
) |
| |
|
static |
Display a warning message box.
- Returns
- The button clicked to dismiss the message box.
| static QMessageBox::StandardButton makVrv::DtQtUtil::showMessageBox |
( |
QMessageBox & |
mbox, |
|
|
QMessageBox::StandardButton |
defaultButton |
|
) |
| |
|
staticprivate |
Display a message box with the given default button.
- Returns
- The button clicked to dismiss the message box.
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrvCoreQt/DtQtUtil.h