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 *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsMessageLogViewer: QDialog
|
|
|
|
{
|
2017-04-07 08:50:57 +02:00
|
|
|
%Docstring
|
|
|
|
A generic dialog widget for displaying QGIS log messages.
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
|
2017-04-07 08:50:57 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmessagelogviewer.h"
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
public:
|
2017-04-08 10:23:05 +02:00
|
|
|
|
2017-04-17 10:55:53 +10:00
|
|
|
QgsMessageLogViewer( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
|
2017-04-08 10:23:05 +02:00
|
|
|
%Docstring
|
2017-04-17 10:55:53 +10:00
|
|
|
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
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
public slots:
|
2017-04-17 10:55:53 +10:00
|
|
|
|
|
|
|
void logMessage( const QString &message, const QString &tag, QgsMessageLog::MessageLevel level );
|
2017-04-17 10:49:29 +10:00
|
|
|
%Docstring
|
2017-04-17 13:49:59 +10:00
|
|
|
Logs a ``message`` to the viewer.
|
2017-04-17 10:49:29 +10:00
|
|
|
%End
|
2017-04-07 08:50:57 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void closeEvent( QCloseEvent *e );
|
|
|
|
void reject();
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
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 *
|
|
|
|
************************************************************************/
|