17 #ifndef QGSMESSAGEOUTPUT_H 18 #define QGSMESSAGEOUTPUT_H 24 #include "qgis_core.h" 52 virtual void setMessage(
const QString &message,
MessageType msgType ) = 0;
55 virtual void appendMessage(
const QString &message ) = 0;
58 virtual void setTitle(
const QString &title ) = 0;
61 virtual void showMessage(
bool blocking =
true ) = 0;
67 static void showMessage(
const QString &title,
const QString &message,
MessageType msgType );
111 void setTitle(
const QString &title )
override;
MessageType
message can be in plain text or in html format
virtual void setTitle(const QString &title)=0
set title for the messages
virtual void appendMessage(const QString &message)=0
message to be appended to the current text
QgsMessageOutput *(* MESSAGE_OUTPUT_CREATOR)()
Default implementation of message output interface.
virtual void setMessage(const QString &message, MessageType msgType)=0
set message, it won't be displayed until
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.