17 #ifndef QGSMESSAGEVIEWER_H 18 #define QGSMESSAGEVIEWER_H 20 #include "ui_qgsmessageviewer.h" 45 void setTitle(
const QString &title )
override;
52 void setMessageAsHtml(
const QString &msg );
54 void setMessageAsPlainText(
const QString &msg );
57 void setCheckBoxText(
const QString &text );
59 void setCheckBoxVisible(
bool visible );
61 void setCheckBoxState( Qt::CheckState state );
63 Qt::CheckState checkBoxState();
66 void setCheckBoxQgsSettingsLabel(
const QString &label );
69 void checkBox_toggled(
bool );
73 QString mCheckBoxQgsSettingsLabel;
MessageType
message can be in plain text or in html format
virtual void setTitle(const QString &title)=0
Sets title for the messages.
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 showMessage(bool blocking=true)=0
display the message to the user and deletes itself
A generic message view for displaying QGIS messages.
Interface for showing messages from QGIS in GUI independent way.