![]() |
DeskUp 0.3
|
Utility class to bridge DeskUp's error system with the Qt graphical interface. More...
#include <desk_up_error_gui_converter.h>
Static Public Member Functions | |
| static int | showError (const DeskUp::Error &err) |
| Displays a Qt dialog box for a given error. | |
| static QString | getUserMessage (const DeskUp::Error &err) |
| static std::pair< QString, QMessageBox::Icon > | mapLevel (Level lvl) |
Utility class to bridge DeskUp's error system with the Qt graphical interface.
Converts DeskUp::Error instances into localized and user-friendly messages displayed via QMessageBox.
|
static |
Displays a Qt dialog box for a given error.
| err | A DeskUp::Error instance to display. |
