Observer to enable report view on warnings / errors if not already enabled. More...
#include <ReportView.h>
Public Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) |
ReportOutputObserver (ReportOutput *view) | |
The ReportOutputObserver class is used to check if messages sent to the report view are warnings or errors, and if so and if the user has not disabled this in preferences, the report view is toggled on so the user always gets the warnings/errors. More... | |
Protected Member Functions | |
void | showReportView (void) |
Protected Attributes | |
QPointer< ReportOutput > | reportView |
Detailed Description
Observer to enable report view on warnings / errors if not already enabled.
Constructor & Destructor Documentation
◆ ReportOutputObserver()
ReportOutputObserver::ReportOutputObserver | ( | ReportOutput * | view | ) |
The ReportOutputObserver class is used to check if messages sent to the report view are warnings or errors, and if so and if the user has not disabled this in preferences, the report view is toggled on so the user always gets the warnings/errors.
References reportView.
Member Function Documentation
◆ eventFilter()
References Gui::DockWnd::ReportHighlighter::Error, App::GetApplication(), ParameterGrp::GetGroup(), App::Application::GetUserParameter(), Gui::DockWnd::ReportHighlighter::LogText, Gui::DockWnd::ReportHighlighter::Message, CustomReportEvent::messageType(), reportView, showReportView(), and Gui::DockWnd::ReportHighlighter::Warning.
◆ showReportView()
|
protected |
References reportView.
Referenced by eventFilter().
Member Data Documentation
◆ reportView
|
protected |
Referenced by eventFilter(), ReportOutputObserver(), and showReportView().
The documentation for this class was generated from the following files:
- src/Gui/ReportView.h
- src/Gui/ReportView.cpp