QGIS/python/gui/qgsmessagelogviewer.sip
Nyall Dawson ac94345331 Rename QgisGui to QgsGuiUtils
Better reflects what this namespace contains, and replaces the
non-standard Qgis prefix with the Qgs standard
2017-05-15 07:33:52 +10:00

52 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 = QgsGuiUtils::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 *
************************************************************************/