QgsMessageOutputConsole class
Default implementation of message output interface.
Contents
This class outputs messages to the standard output. Therefore it might be the right choice for apps without GUI.
Base classes
- class QgsMessageOutput
- Interface for showing messages from QGIS in GUI independent way.
Constructors, destructors, conversion operators
- QgsMessageOutputConsole() defaulted
- Constructor for QgsMessageOutputConsole.
Public functions
- void appendMessage(const QString& message) override
- message to be appended to the current text
- void setMessage(const QString& message, MessageType msgType) 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
Signals
- void destroyed()
- signals that object will be destroyed and shouldn't be used anymore