Class: QgsMessageViewer¶
- class qgis.gui.QgsMessageViewer¶
Bases:
PyQt5.QtWidgets.QDialog
,QgsMessageOutput
A generic message view for displaying QGIS messages.
Methods
- param message:
- rtype:
Qt.CheckState
- param label:
- param state:
- param text:
- param visible:
- param message:
- param msg:
- param msg:
- param title:
- param blocking:
- 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:
message (str) –
msgType (QgsMessageOutput.MessageType) –
- setMessageAsHtml(self, msg: str)¶
- Parameters:
msg (str) –
- setMessageAsPlainText(self, msg: str)¶
- Parameters:
msg (str) –
- setTitle(self, title: str)¶
- Parameters:
title (str) –
- showEvent(self, QShowEvent)¶
- showMessage(self, blocking: bool = True)¶
- Parameters:
blocking (bool = True) –
- tabletEvent(self, QTabletEvent)¶
- timerEvent(self, QTimerEvent)¶
- updateMicroFocus(self)¶
- wheelEvent(self, QWheelEvent)¶