QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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;
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
Interface for showing messages from QGIS in GUI independent way.
A generic message view for displaying QGIS messages.
virtual void setTitle(const QString &title)=0
Sets title for the messages.
MessageType
message can be in plain text or in html format
virtual void appendMessage(const QString &message)=0
message to be appended to the current text