 |
ImageD
v2_7_5 (24.06.22)
ImageD is an image processing software designed for rapid prototyping and implementing algorithms and solutions for science, research and teaching.
|
Go to the documentation of this file.
9 #ifndef D_ERROR_HANDLER_H
10 #define D_ERROR_HANDLER_H
23 #include <QStringList>
25 #include <QMessageBox>
26 #include <QSizePolicy>
43 void ERR(
int err, QString sender, QString func, QString detail);
46 void set_FileStream_path_csv(QString path);
49 bool err_popup =
true;
50 bool err_stream =
false;
51 bool file_set =
false;
52 QFileInfo FI_ErrorProtocol;
54 QStringList QSL_StashedErrors;
57 #endif // D_ERROR_HANDLER_H
const QStringList QSL_Errors
Definition: d_enum.h:183
@ ER_okay
Definition: d_enum.h:133
@ ER_file_not_exist
Definition: d_enum.h:161
void set_FileStream_path_csv(QString path)
D_Error_Handler::set_FileStream_path_csv set the file for error streaming and activates error streami...
Definition: d_error_handler.cpp:103
void ERR(int err, QString sender, QString func, QString detail)
D_Error_Handler::ERR pops an error message if an error occured and/or streams it to a csv file.
Definition: d_error_handler.cpp:23
@ ER_number_of
Definition: d_enum.h:181
The D_Error_Handler class takes error codes from D_ERROR_ENUM and shows a popup if an error occures.
Definition: d_error_handler.h:38
void set_Popup_active(bool show_pop)
Definition: d_error_handler.h:44
void set_FileStream_active(bool stream_to_file)
Definition: d_error_handler.h:45
@ ER_other
Definition: d_enum.h:134
D_Error_Handler()
Definition: d_error_handler.cpp:11
const QString QS_Fun_Sad
Definition: d_enum.h:2523