Namespace for all functionality of the ADTF UI SDK provided since v3.12.
More...
|
std::pair< QString, QString > | split_result (tResult oResult) |
| Splits the result into the main error message and a detailed error description. More...
|
|
QMessageBox::StandardButton | result_message_box (QWidget *pParent, const QString &strTitle, tResult oResult, const QString &strInformativeText={}, QMessageBox::StandardButtons eButtons=QMessageBox::Ok, QMessageBox::StandardButton eDefaultButton=QMessageBox::NoButton) |
| Display a message box showing the given tResult. More...
|
|
Namespace for all functionality of the ADTF UI SDK provided since v3.12.
◆ result_message_box()
QMessageBox::StandardButton adtf::ui::mega::result_message_box |
( |
QWidget * |
pParent, |
|
|
const QString & |
strTitle, |
|
|
tResult |
oResult, |
|
|
const QString & |
strInformativeText = {} , |
|
|
QMessageBox::StandardButtons |
eButtons = QMessageBox::Ok , |
|
|
QMessageBox::StandardButton |
eDefaultButton = QMessageBox::NoButton |
|
) |
| |
Display a message box showing the given tResult.
- Parameters
-
[in] | pParent | The parent of the messagebox. |
[in] | strTitle | The title of the messagebox. |
[in] | oResult | The result to show. |
[in] | strInformativeText | An optional informative text, i.e. a question on how to continue. |
[in] | eButtons | The buttons that should be shown. |
[in] | eDefaultButton | The default button. |
- Returns
- The button that was clicked.
◆ split_result()
std::pair<QString, QString> adtf::ui::mega::split_result |
( |
tResult |
oResult | ) |
|
Splits the result into the main error message and a detailed error description.
- Parameters
-
[in] | oResult | The Result that should be split up. |
- Returns
- A pair containing the main error message and the details.