Subgroup: Message
Class: QgsMessageLog¶
-
class
qgis.core.
QgsMessageLog
¶ Bases:
PyQt5.QtCore.QObject
Interface for logging messages from QGIS in GUI independent way. This class provides abstraction of a tabbed window for showing messages to the user. By default QgsMessageLogOutput will be used if not overridden with another message log creator function.
QGIS application uses QgsMessageLog class for logging messages in a dockable window for the user.
QgsMessageLog is not usually directly created, but rather accessed through
QgsApplication.messageLog()
Methods
blockSignals
childEvent
children
connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
killTimer
logMessage
add a message to the instance (and create it if necessary) metaObject
moveToThread
objectName
parent
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. receivers
removeEventFilter
sender
senderSignalIndex
setObjectName
setParent
setProperty
signalsBlocked
startTimer
thread
timerEvent
tr
Attributes
ALL
CRITICAL
INFO
NONE
WARNING
destroyed
destroyed(self, QObject = None) [signal] messageReceived
messageReceived(self, str, str, QgsMessageLog.MessageLevel) [signal] objectNameChanged
objectNameChanged(self, str) [signal] staticMetaObject
-
ALL
= 0¶
-
CRITICAL
= 2¶
-
INFO
= 0¶
-
class
MessageLevel
¶ Bases:
int
-
NONE
= 3¶
-
WARNING
= 1¶
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
isSignalConnected
()¶
-
logMessage
(message: str, tag: str = '', level: QgsMessageLog.MessageLevel = QgsMessageLog.WARNING)¶ add a message to the instance (and create it if necessary)
-
messageReceived
¶ messageReceived(self, str, str, QgsMessageLog.MessageLevel) [signal] messageReceived(self, bool) [signal]
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
timerEvent
()¶
-