Qx v0.7
Qt Extensions Library
Loading...
Searching...
No Matches
qx-common-widgets.h
Go to the documentation of this file.
1#ifndef QX_WIDGETS_COMMON_H
2#define QX_WIDGETS_COMMON_H
3
4// Shared Lib Support
5#include "qx/widgets/qx_widgets_export.h"
6
7// Qt Includes
8#include <QMessageBox>
9
10// Extra-component Includes
11#include "qx/core/qx-error.h"
12
13namespace Qx
14{
15//-Namespace Functions-------------------------------------------------------------------------------------------------
16QX_WIDGETS_EXPORT void postError(const Error& error);
17QX_WIDGETS_EXPORT int postBlockingError(const Error& error,
18 QMessageBox::StandardButtons choices = QMessageBox::Ok,
19 QMessageBox::StandardButton defChoice = QMessageBox::NoButton);
20
21}
22
23#endif // QX_WIDGETS_COMMON_H
The Error class acts as an interface for an extensible variety of error objects.
Definition qx-error.h:65
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-abstracterror.cpp:13
int postBlockingError(const Error &error, QMessageBox::StandardButtons choices, QMessageBox::StandardButton defChoice)
Definition qx-common-widgets.cpp:57
void postError(const Error &error)
Definition qx-common-widgets.cpp:32
The qx-error.h header file provides access to the Error interface.