QGIS API Documentation
2.8.2-Wien
|
Default implementation of message output interface. More...
#include <qgsmessageoutput.h>
Signals | |
void | destroyed () |
signals that object will be destroyed and shouldn't be used anymore |
Public Member Functions | |
QgsMessageOutputConsole () | |
virtual void | appendMessage (const QString &message) override |
message to be appended to the current text | |
virtual void | setMessage (const QString &message, MessageType msgType) override |
set message, it won't be displayed until | |
virtual void | setTitle (const QString &title) override |
set title for the messages | |
virtual void | showMessage (bool blocking=true) override |
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 QgsMessageOutput * | createMessageOutput () |
function that returns new class derived from QgsMessageOutput (don't forget to delete it then) | |
static void | setMessageOutputCreator (MESSAGE_OUTPUT_CREATOR f) |
sets function that will be used to create message output |
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.
Definition at line 82 of file qgsmessageoutput.h.
QgsMessageOutputConsole::QgsMessageOutputConsole | ( | ) |
Definition at line 48 of file qgsmessageoutput.cpp.
|
overridevirtual |
message to be appended to the current text
Implements QgsMessageOutput.
Definition at line 60 of file qgsmessageoutput.cpp.
|
signal |
signals that object will be destroyed and shouldn't be used anymore
|
overridevirtual |
set message, it won't be displayed until
Implements QgsMessageOutput.
Definition at line 54 of file qgsmessageoutput.cpp.
|
overridevirtual |
set title for the messages
Implements QgsMessageOutput.
Definition at line 78 of file qgsmessageoutput.cpp.
|
overridevirtual |
sends the message to the standard output
Implements QgsMessageOutput.
Definition at line 65 of file qgsmessageoutput.cpp.