QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
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;
virtual void setMessage(const QString &message, MessageType msgType)=0
Sets message, it won't be displayed until.
Default implementation of message output interface.
virtual void showMessage(bool blocking=true)=0
display the message to the user and deletes itself
virtual void setTitle(const QString &title)=0
Sets title for the messages.
MessageType
message can be in plain text or in html format
QgsMessageOutput *(* MESSAGE_OUTPUT_CREATOR)()
virtual void appendMessage(const QString &message)=0
message to be appended to the current text