QGIS/python/gui/qgsmessagelogviewer.sip

50 lines
1.7 KiB
Plaintext
Raw Normal View History

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