QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A generic dialog widget for displaying QGIS log messages. More...
#include <qgsmessagelogviewer.h>
Public Slots | |
void | logMessage (const QString &message, const QString &tag, Qgis::MessageLevel level) |
Logs a message to the viewer. More... | |
Public Member Functions | |
QgsMessageLogViewer (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) | |
Create a new message log viewer. More... | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *e) override |
bool | eventFilter (QObject *obj, QEvent *ev) override |
void | reject () override |
A generic dialog widget for displaying QGIS log messages.
Definition at line 36 of file qgsmessagelogviewer.h.
QgsMessageLogViewer::QgsMessageLogViewer | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags |
||
) |
Create a new message log viewer.
The viewer will automatically connect to the system's QgsApplication::messageLog() instance.
Definition at line 35 of file qgsmessagelogviewer.cpp.
|
overrideprotected |
Definition at line 101 of file qgsmessagelogviewer.cpp.
|
overrideprotected |
Definition at line 184 of file qgsmessagelogviewer.cpp.
|
slot |
Logs a message to the viewer.
Definition at line 110 of file qgsmessagelogviewer.cpp.
|
overrideprotected |
Definition at line 106 of file qgsmessagelogviewer.cpp.