Class: QgsAbstractInputController

class qgis.gui.QgsAbstractInputController

Bases: PyQt5.QtCore.QObject

Abstract base class for all input controllers.

Added in version 3.34.

QgsAbstractInputController(parent: Optional[QObject] = None) Constructor for QgsAbstractInputController, with the specified parent object.

Methods

childEvent

clone

Returns a new copy of the controller.

connectNotify

customEvent

deviceId

Returns a string uniquely identifying the device.

disconnectNotify

isSignalConnected

receivers

sender

senderSignalIndex

timerEvent

type

Returns the input controller type.

childEvent(self, a0: QChildEvent | None)
clone(self) QgsAbstractInputController | None

Returns a new copy of the controller.

Return type:

Optional[QgsAbstractInputController]

connectNotify(self, signal: QMetaMethod)
customEvent(self, a0: QEvent | None)
deviceId(self) str

Returns a string uniquely identifying the device.

Return type:

str

disconnectNotify(self, signal: QMetaMethod)
isSignalConnected(self, signal: QMetaMethod) bool
receivers(self, signal: PYQT_SIGNAL) int
sender(self) QObject | None
senderSignalIndex(self) int
timerEvent(self, a0: QTimerEvent | None)
type(self) Qgis.InputControllerType

Returns the input controller type.

Return type:

Qgis.InputControllerType