Subgroup: Message

Class: QgsMessageOutputConsole

class qgis.core.QgsMessageOutputConsole

Bases: PyQt5.QtCore.QObject, qgis._core.QgsMessageOutput

Constructor for QgsMessageOutputConsole.

Default implementation of message output interface

This class outputs messages to the standard output. Therefore it might be the right choice for apps without GUI.

Methods

appendMessage
childEvent
connectNotify
customEvent
disconnectNotify
isSignalConnected
receivers
sender
senderSignalIndex
setMessage
setTitle
showMessage sends the message to the standard output
timerEvent

Signals

destroyed signals that object will be destroyed and shouldn’t be used anymore [signal]

Attributes

appendMessage(self, message: str)
childEvent()
connectNotify()
customEvent()
destroyed

signals that object will be destroyed and shouldn’t be used anymore [signal]

disconnectNotify()
isSignalConnected()
receivers()
sender()
senderSignalIndex()
setMessage(self, message: str, msgType: QgsMessageOutput.MessageType)
setTitle(self, title: str)
showMessage(self, blocking: bool = True)

sends the message to the standard output

timerEvent()