Class: QgsAbstractInputController

Abstract base class for all input controllers.

Added in version 3.34.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsAbstractInputController

Base classes

QObject

Subclasses

QgsAbstract2DMapController

Abstract base class for all 2D map controllers.

QgsAbstract3DMapController

Abstract base class for all 3D map controllers.

Methods

clone

Returns a new copy of the controller.

deviceId

Returns a string uniquely identifying the device.

type

Returns the input controller type.

class qgis.gui.QgsAbstractInputController[source]

Bases: QObject

__init__(parent: QObject | None = None)

Constructor for QgsAbstractInputController, with the specified parent object.

Parameters:

parent (Optional[QObject] = None)

clone(self) QgsAbstractInputController | None[source]

Returns a new copy of the controller.

Return type:

Optional[QgsAbstractInputController]

deviceId(self) str[source]

Returns a string uniquely identifying the device.

Return type:

str

type(self) Qgis.InputControllerType[source]

Returns the input controller type.

Return type:

Qgis.InputControllerType