QGIS/python/gui/auto_generated/inputcontroller/qgsabstractinputcontroller.sip.in
Nyall Dawson eca6b7a409 Add framework for handling non-keyboard/mouse map controllers
This is the base API interface classes for creation of custom
2d or 3d map controllers, and registering them in a common
QgsInputControllerManager singleton class.
2023-06-27 14:49:20 +10:00

65 lines
2.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/inputcontroller/qgsabstractinputcontroller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAbstractInputController : QObject
{
%Docstring(signature="appended")
Abstract base class for all input controllers.
.. versionadded:: 3.32
%End
%TypeHeaderCode
#include "qgsabstractinputcontroller.h"
#include "qgs2dmapcontroller.h"
#include "qgs3dmapcontroller.h"
%ConvertToSubClassCode
if ( qobject_cast< QgsAbstract2DMapController * >( sipCpp ) )
sipType = sipType_QgsAbstract2DMapController;
else if ( qobject_cast< QgsAbstract3DMapController * >( sipCpp ) )
sipType = sipType_QgsAbstract3DMapController;
else
sipType = nullptr;
%End
%End
public:
QgsAbstractInputController( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsAbstractInputController, with the specified ``parent`` object.
%End
virtual QgsAbstractInputController *clone() const = 0 /Factory/;
%Docstring
Returns a new copy of the controller.
%End
virtual QString deviceId() const = 0;
%Docstring
Returns a string uniquely identifying the device.
%End
virtual Qgis::InputControllerType type() const = 0;
%Docstring
Returns the input controller type.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/inputcontroller/qgsabstractinputcontroller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/