Class: QgsAbstractInputController

Abstract base class for all input controllers.

Added in version 3.34.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: clone(), deviceId(), type()

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.

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)

abstract clone(self) QgsAbstractInputController | None[source]

Returns a new copy of the controller.

Return type:

Optional[QgsAbstractInputController]

abstract deviceId(self) str[source]

Returns a string uniquely identifying the device.

Return type:

str

abstract type(self) Qgis.InputControllerType[source]

Returns the input controller type.

Return type:

Qgis.InputControllerType