Class: QgsMessageViewer

A generic message view for displaying QGIS messages.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsMessageViewer

Base classes

QDialog

QWidget

QObject

QPaintDevice

QgsMessageOutput

Interface for showing messages from QGIS in GUI independent way.

class qgis.gui.QgsMessageViewer[source]

Bases: QDialog, QgsMessageOutput

checkBoxState(self) Qt.CheckState[source]
Return type:

Qt.CheckState

setCheckBoxQgsSettingsLabel(self, label: str | None)[source]
Parameters:

label (Optional[str])

setCheckBoxState(self, state: Qt.CheckState)[source]
Parameters:

state (Qt.CheckState)

setCheckBoxText(self, text: str | None)[source]
Parameters:

text (Optional[str])

setCheckBoxVisible(self, visible: bool)[source]
Parameters:

visible (bool)

setMessageAsHtml(self, msg: str | None)[source]
Parameters:

msg (Optional[str])

setMessageAsPlainText(self, msg: str | None)[source]
Parameters:

msg (Optional[str])