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
- param message
- param message
- param title
sends the message to the standard output
Signals
signals that object will be destroyed and shouldn't be used anymore [signal]
- appendMessage(self, message: str)¶
- Parameters
message (str) –
- childEvent(self, QChildEvent)¶
- connectNotify(self, QMetaMethod)¶
- customEvent(self, QEvent)¶
- destroyed¶
signals that object will be destroyed and shouldn’t be used anymore [signal]
- disconnectNotify(self, QMetaMethod)¶
- isSignalConnected(self, QMetaMethod) bool ¶
- receivers(self, PYQT_SIGNAL) int ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setMessage(self, message: str, msgType: QgsMessageOutput.MessageType)¶
- Parameters
message (str) –
msgType (QgsMessageOutput.MessageType) –
- setTitle(self, title: str)¶
- Parameters
title (str) –
- showMessage(self, blocking: bool = True)¶
sends the message to the standard output
- Parameters
blocking (bool = True) –
- timerEvent(self, QTimerEvent)¶