Class: QgsMessageOutputConsole

class qgis.core.QgsMessageOutputConsole

Bases: PyQt5.QtCore.QObject, 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

param message

childEvent

connectNotify

customEvent

disconnectNotify

isSignalConnected

receivers

sender

senderSignalIndex

setMessage

param message

setTitle

param title

showMessage

sends the message to the standard output

timerEvent

Signals

destroyed

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

appendMessage(self, message: str)
Parameters

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)
Parameters
setTitle(self, title: str)
Parameters

title (str) –

showMessage(self, blocking: bool = True)

sends the message to the standard output

Parameters

blocking (bool = True) –

timerEvent()