QGIS/python/gui/auto_generated/qgsmessagelogviewer.sip.in
Juergen E. Fischer c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00

54 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmessagelogviewer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsMessageLogViewer: QDialog
{
%Docstring(signature="appended")
A generic dialog widget for displaying QGIS log messages.
%End
%TypeHeaderCode
#include "qgsmessagelogviewer.h"
%End
public:
QgsMessageLogViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
%Docstring
Create a new message log viewer. The viewer will automatically connect to the system's
:py:func:`QgsApplication.messageLog()` instance.
%End
public slots:
void logMessage( const QString &message, const QString &tag, Qgis::MessageLevel level );
%Docstring
Logs a ``message`` to the viewer.
%End
protected:
virtual void closeEvent( QCloseEvent *e );
virtual void reject();
virtual bool eventFilter( QObject *obj, QEvent *ev );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmessagelogviewer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/