QGIS/python/gui/qgsmessagelogviewer.sip
Nyall Dawson 87a670848b [sipify] Always add virtual keyword for overridden methods
sip often requires the virtual keyword to be present, or
it chokes on covariant return types in overridden methods
2017-04-18 11:14:01 +10:00

50 lines
1.7 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
A generic dialog widget for displaying QGIS log messages.
%End
%TypeHeaderCode
#include "qgsmessagelogviewer.h"
%End
public:
QgsMessageLogViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
%Docstring
Create a new message log viewer. The viewer will automatically connect to the system's
QgsApplication.messageLog() instance.
%End
public slots:
void logMessage( const QString &message, const QString &tag, QgsMessageLog::MessageLevel level );
%Docstring
Logs a ``message`` to the viewer.
%End
protected:
virtual void closeEvent( QCloseEvent *e );
virtual void reject();
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsmessagelogviewer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/