#include <adtf_utils.h>
#include <QWidget>
#include <QString>
#include <utility>
#include <QMessageBox>
Go to the source code of this file.
|
| namespace | adtf |
| | Namespace for all functionality provided by ADTF and its SDKs.
|
| |
| namespace | adtf::ui |
| | Namespace for the ADTF UI SDK.
|
| |
| namespace | adtf::ui::v0 |
| | Namespace for all ui classes and interfaces provided since v1.0.0.
|
| |
|
| std::pair< QString, QString > | adtf::ui::mega::split_result (tResult oResult) |
| |
| 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) |
| |
| std::pair< QString, QString > | adtf::ui::v0::split_result (tResult oResult) |
| |
| QMessageBox::StandardButton | adtf::ui::v0::result_message_box (QWidget *pParent, const QString &strTitle, tResult oResult, const QString &strInformativeText={}, QMessageBox::StandardButtons eButtons=QMessageBox::Ok, QMessageBox::StandardButton eDefaultButton=QMessageBox::NoButton) |
| |
| std::pair< QString, QString > | adtf::ui::split_result (tResult oResult) |
| |
| QMessageBox::StandardButton | adtf::ui::result_message_box (QWidget *pParent, const QString &strTitle, tResult oResult, const QString &strInformativeText={}, QMessageBox::StandardButtons eButtons=QMessageBox::Ok, QMessageBox::StandardButton eDefaultButton=QMessageBox::NoButton) |
| |
Copyright © Audi Electronics Venture GmbH. All rights reserved
◆ 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.