|
QGIS API Documentation 3.99.0-Master (a8f284845db)
|
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 ()=default | |
| void | appendMessage (const QString &message) override |
| message to be appended to the current text | |
| void | setMessage (const QString &message, Qgis::StringFormat format) override |
| Sets message, it won't be displayed until. | |
| void | setTitle (const QString &title) override |
| Sets title for the messages. | |
| void | showMessage (bool blocking=true) override |
| sends the message to the standard output | |
| Public Member Functions inherited from QgsMessageOutput | |
| virtual | ~QgsMessageOutput ()=default |
Additional Inherited Members | |
| 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 if showMessage(bool) is not used showMessage(bool) deletes the instance) | |
| static void | setMessageOutputCreator (MESSAGE_OUTPUT_CREATOR f) |
| sets function that will be used to create message output | |
| static void | showMessage (const QString &title, const QString &message, Qgis::StringFormat format) |
| Display the blocking message to the user. | |
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 95 of file qgsmessageoutput.h.
|
default |
|
overridevirtual |
message to be appended to the current text
Implements QgsMessageOutput.
Definition at line 64 of file qgsmessageoutput.cpp.
|
signal |
signals that object will be destroyed and shouldn't be used anymore
|
overridevirtual |
Sets message, it won't be displayed until.
Implements QgsMessageOutput.
Definition at line 58 of file qgsmessageoutput.cpp.
|
overridevirtual |
Sets title for the messages.
Implements QgsMessageOutput.
Definition at line 83 of file qgsmessageoutput.cpp.
|
overridevirtual |
sends the message to the standard output
Implements QgsMessageOutput.
Definition at line 69 of file qgsmessageoutput.cpp.