QGIS API Documentation  2.3.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
QgsMessageLogViewer Class Reference

A generic message for displaying QGIS log messages. More...

#include <qgsmessagelogviewer.h>

Inheritance diagram for QgsMessageLogViewer:
Inheritance graph
[legend]
Collaboration diagram for QgsMessageLogViewer:
Collaboration graph
[legend]

Public Slots

void logMessage (QString message, QString tag, QgsMessageLog::MessageLevel level)
 

Public Member Functions

 QgsMessageLogViewer (QStatusBar *statusBar=0, QWidget *parent=0, Qt::WindowFlags fl=QgisGui::ModalDialogFlags)
 
 ~QgsMessageLogViewer ()
 

Protected Member Functions

void showEvent (QShowEvent *)
 
void hideEvent (QHideEvent *)
 

Private Slots

void closeTab (int index)
 
void buttonToggled (bool checked)
 
void buttonDestroyed ()
 

Private Attributes

QToolButton * mButton
 
int mCount
 

Detailed Description

A generic message for displaying QGIS log messages.

Note
added in 1.8

Definition at line 35 of file qgsmessagelogviewer.h.

Constructor & Destructor Documentation

QgsMessageLogViewer::QgsMessageLogViewer ( QStatusBar *  statusBar = 0,
QWidget *  parent = 0,
Qt::WindowFlags  fl = QgisGui::ModalDialogFlags 
)
QgsMessageLogViewer::~QgsMessageLogViewer ( )

Definition at line 72 of file qgsmessagelogviewer.cpp.

Member Function Documentation

void QgsMessageLogViewer::buttonDestroyed ( )
privateslot

Definition at line 106 of file qgsmessagelogviewer.cpp.

References mButton.

Referenced by QgsMessageLogViewer().

void QgsMessageLogViewer::buttonToggled ( bool  checked)
privateslot

Definition at line 93 of file qgsmessagelogviewer.cpp.

Referenced by QgsMessageLogViewer().

void QgsMessageLogViewer::closeTab ( int  index)
privateslot

Definition at line 165 of file qgsmessagelogviewer.cpp.

References mButton, mCount, and tr.

Referenced by QgsMessageLogViewer().

void QgsMessageLogViewer::hideEvent ( QHideEvent *  )
protected

Definition at line 76 of file qgsmessagelogviewer.cpp.

References mButton.

void QgsMessageLogViewer::logMessage ( QString  message,
QString  tag,
QgsMessageLog::MessageLevel  level 
)
slot

Definition at line 111 of file qgsmessagelogviewer.cpp.

References QgsMessageLog::INFO, mButton, mCount, and tr.

Referenced by QgsMessageLogViewer().

void QgsMessageLogViewer::showEvent ( QShowEvent *  )
protected

Definition at line 84 of file qgsmessagelogviewer.cpp.

References mButton.

Member Data Documentation

QToolButton* QgsMessageLogViewer::mButton
private
int QgsMessageLogViewer::mCount
private

Definition at line 51 of file qgsmessagelogviewer.h.

Referenced by closeTab(), and logMessage().


The documentation for this class was generated from the following files: