17 #ifndef QGSMESSAGEOUTPUT_H
18 #define QGSMESSAGEOUTPUT_H
49 virtual void setMessage(
const QString& message, MessageType msgType ) = 0;
52 virtual void appendMessage(
const QString& message ) = 0;
55 virtual void setTitle(
const QString& title ) = 0;
58 virtual void showMessage(
bool blocking =
true ) = 0;
94 virtual void setTitle(
const QString& title );
MessageType
message can be in plain text or in html format
virtual void setTitle(const QString &title)=0
set title for the messages
static MESSAGE_OUTPUT_CREATOR mMessageOutputCreator
Pointer to the function which creates the class for output.
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
QString mMessage
stores current message
virtual void showMessage(bool blocking=true)=0
display the message to the user
QString mTitle
stores current title
Interface for showing messages from QGIS in GUI independent way.