Class: QgsMessageViewer

class qgis.gui.QgsMessageViewer

Bases: PyQt5.QtWidgets.QDialog, QgsMessageOutput

A generic message view for displaying QGIS messages.

Methods

actionEvent

appendMessage

param message:

changeEvent

checkBoxState

rtype:

Qt.CheckState

childEvent

closeEvent

connectNotify

contextMenuEvent

create

customEvent

destroy

disconnectNotify

dragEnterEvent

dragLeaveEvent

dragMoveEvent

dropEvent

enterEvent

event

eventFilter

focusInEvent

focusNextChild

focusNextPrevChild

focusOutEvent

focusPreviousChild

hideEvent

initPainter

inputMethodEvent

isSignalConnected

keyPressEvent

keyReleaseEvent

leaveEvent

metric

mouseDoubleClickEvent

mouseMoveEvent

mousePressEvent

mouseReleaseEvent

moveEvent

nativeEvent

paintEvent

receivers

resizeEvent

sender

senderSignalIndex

setCheckBoxQgsSettingsLabel

param label:

setCheckBoxState

param state:

setCheckBoxText

param text:

setCheckBoxVisible

param visible:

setMessage

param message:

setMessageAsHtml

param msg:

setMessageAsPlainText

param msg:

setTitle

param title:

sharedPainter

showEvent

showMessage

param blocking:

tabletEvent

timerEvent

updateMicroFocus

wheelEvent

actionEvent(self, QActionEvent)
appendMessage(self, message: str)
Parameters:

message (str) –

changeEvent(self, QEvent)
checkBoxState(self) Qt.CheckState
Return type:

Qt.CheckState

childEvent(self, QChildEvent)
closeEvent(self, QCloseEvent)
connectNotify(self, QMetaMethod)
contextMenuEvent(self, QContextMenuEvent)
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
customEvent(self, QEvent)
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, QMetaMethod)
dragEnterEvent(self, QDragEnterEvent)
dragLeaveEvent(self, QDragLeaveEvent)
dragMoveEvent(self, QDragMoveEvent)
dropEvent(self, QDropEvent)
enterEvent(self, QEvent)
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
focusInEvent(self, QFocusEvent)
focusNextChild(self) bool
focusNextPrevChild(self, bool) bool
focusOutEvent(self, QFocusEvent)
focusPreviousChild(self) bool
hideEvent(self, QHideEvent)
initPainter(self, QPainter)
inputMethodEvent(self, QInputMethodEvent)
isSignalConnected(self, QMetaMethod) bool
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
leaveEvent(self, QEvent)
metric(self, QPaintDevice.PaintDeviceMetric) int
mouseDoubleClickEvent(self, QMouseEvent)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
moveEvent(self, QMoveEvent)
nativeEvent(self, Union[QByteArray, bytes, bytearray], PyQt5.sip.voidptr) Tuple[bool, int]
paintEvent(self, QPaintEvent)
receivers(self, PYQT_SIGNAL) int
resizeEvent(self, QResizeEvent)
sender(self) QObject
senderSignalIndex(self) int
setCheckBoxQgsSettingsLabel(self, label: str)
Parameters:

label (str) –

setCheckBoxState(self, state: Qt.CheckState)
Parameters:

state (Qt.CheckState) –

setCheckBoxText(self, text: str)
Parameters:

text (str) –

setCheckBoxVisible(self, visible: bool)
Parameters:

visible (bool) –

setMessage(self, message: str, msgType: QgsMessageOutput.MessageType)
Parameters:
setMessageAsHtml(self, msg: str)
Parameters:

msg (str) –

setMessageAsPlainText(self, msg: str)
Parameters:

msg (str) –

setTitle(self, title: str)
Parameters:

title (str) –

sharedPainter(self) QPainter
showEvent(self, QShowEvent)
showMessage(self, blocking: bool = True)
Parameters:

blocking (bool = True) –

tabletEvent(self, QTabletEvent)
timerEvent(self, QTimerEvent)
updateMicroFocus(self)
wheelEvent(self, QWheelEvent)