QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
17 #ifndef QGSMESSAGEOUTPUT_H
18 #define QGSMESSAGEOUTPUT_H
24 #include "qgis_core.h"
58 virtual void setTitle(
const QString &title ) = 0;
67 static void showMessage(
const QString &title,
const QString &message,
MessageType msgType );
112 void setTitle(
const QString &title )
override;
virtual void setMessage(const QString &message, MessageType msgType)=0
Sets message, it won't be displayed until.
void destroyed()
signals that object will be destroyed and shouldn't be used anymore
Default implementation of message output interface.
virtual void showMessage(bool blocking=true)=0
display the message to the user and deletes itself
Interface for showing messages from QGIS in GUI independent way.
virtual void setTitle(const QString &title)=0
Sets title for the messages.
MessageType
message can be in plain text or in html format
virtual ~QgsMessageOutput()=default
QgsMessageOutputConsole()=default
Constructor for QgsMessageOutputConsole.
QgsMessageOutput *(* MESSAGE_OUTPUT_CREATOR)()
virtual void appendMessage(const QString &message)=0
message to be appended to the current text