/************************************************************************
 * This file has been generated automatically from                      *
 *                                                                      *
 * src/gui/qgsmessagelogviewer.h                                        *
 *                                                                      *
 * Do not edit manually ! Edit header and run scripts/sipify.py 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.py again   *
 ************************************************************************/
