QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | List of all members
QgsMessageOutputConsole Class Reference

Default implementation of message output interface. More...

#include <qgsmessageoutput.h>

Inheritance diagram for QgsMessageOutputConsole:
Inheritance graph
[legend]

Signals

void destroyed ()
 signals that object will be destroyed and shouldn't be used anymore

Public Member Functions

 QgsMessageOutputConsole ()
virtual void setMessage (const QString &message, MessageType msgType)
 set message, it won't be displayed until
virtual void appendMessage (const QString &message)
 message to be appended to the current text
virtual void setTitle (const QString &title)
 set title for the messages
virtual void showMessage (bool blocking=true)
 sends the message to the standard output
- Public Member Functions inherited from QgsMessageOutput
virtual ~QgsMessageOutput ()
 virtual destructor

Additional Inherited Members

- Public Types inherited from QgsMessageOutput
enum  MessageType { MessageText, MessageHtml }
 message can be in plain text or in html format More...
- Static Public Member Functions inherited from QgsMessageOutput
static void setMessageOutputCreator (MESSAGE_OUTPUT_CREATOR f)
 sets function that will be used to create message output
static QgsMessageOutputcreateMessageOutput ()
 function that returns new class derived from QgsMessageOutput (don't forget to delete it then)

Detailed Description

Default implementation of message output interface.

This class outputs messages to the standard output. Therefore it might be the right choice for apps without GUI.

Constructor & Destructor Documentation

QgsMessageOutputConsole::QgsMessageOutputConsole ( )

Member Function Documentation

void QgsMessageOutputConsole::appendMessage ( const QString &  message)
virtual

message to be appended to the current text

Implements QgsMessageOutput.

void QgsMessageOutputConsole::destroyed ( )
signal

signals that object will be destroyed and shouldn't be used anymore

void QgsMessageOutputConsole::setMessage ( const QString &  message,
MessageType  msgType 
)
virtual

set message, it won't be displayed until

Implements QgsMessageOutput.

void QgsMessageOutputConsole::setTitle ( const QString &  title)
virtual

set title for the messages

Implements QgsMessageOutput.

void QgsMessageOutputConsole::showMessage ( bool  blocking = true)
virtual

sends the message to the standard output

Implements QgsMessageOutput.


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