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