17 #ifndef QGSMESSAGEVIEWER_H 
   18 #define QGSMESSAGEVIEWER_H 
   20 #include "ui_qgsmessageviewer.h" 
   44     void setTitle( 
const QString &title ) 
override;
 
   51     void setMessageAsHtml( 
const QString &msg );
 
   53     void setMessageAsPlainText( 
const QString &msg );
 
   56     void setCheckBoxText( 
const QString &text );
 
   58     void setCheckBoxVisible( 
bool visible );
 
   60     void setCheckBoxState( Qt::CheckState state );
 
   62     Qt::CheckState checkBoxState();
 
   65     void setCheckBoxQgsSettingsLabel( 
const QString &label );
 
   68     void checkBox_toggled( 
bool );
 
   72     QString mCheckBoxQgsSettingsLabel;
 
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 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.
A generic message view for displaying QGIS messages.