Functions | |
void | qtlAbout (QObject *parent, const QString &title, const QString &iconPath, const QString &text) |
Display a simple "about" box similar to QMessageBox::about() but add a specific icon. More... | |
bool | qtlConfirm (QObject *parent, const QString &question, const QString &title) |
Ask a question with Yes/No buttons (default to No). More... | |
void | qtlError (QObject *parent, const QString &message, const QString &title) |
Report an error message. More... | |
bool qtlConfirm | ( | QObject * | parent, |
const QString & | question, | ||
const QString & | title = qtlApplicationName() |
||
) |
Ask a question with Yes/No buttons (default to No).
[in] | parent | Parent object/widget. If not a widget, find first widget in its hierarchy. |
[in] | question | The question to display. |
[in] | title | Dialog box title. Default to the application name. |
void qtlError | ( | QObject * | parent, |
const QString & | message, | ||
const QString & | title = qtlApplicationName() |
||
) |
Report an error message.
[in] | parent | Parent object/widget. If not a widget, find first widget in its hierarchy. |
[in] | message | The message to display. |
[in] | title | Dialog box title. Default to the application name. |
void qtlAbout | ( | QObject * | parent, |
const QString & | title, | ||
const QString & | iconPath, | ||
const QString & | text | ||
) |
Display a simple "about" box similar to QMessageBox::about() but add a specific icon.
[in] | parent | Parent object/widget. If not a widget, find first widget in its hierarchy. |
[in] | title | Window title. |
[in] | iconPath | Path to icon file, for instance ":/images/logo.png". |
[in] | text | Description text. Can be HTML. |