QGIS/python/PyQt6/gui/auto_generated/inputcontroller/qgsabstractinputcontroller.sip.in
Denis Rouzaud 2562958772 sipify
2024-12-07 05:16:00 +10:00

63 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.py again *
************************************************************************/
class QgsAbstractInputController : QObject
{
%Docstring(signature="appended")
Abstract base class for all input controllers.
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgsabstractinputcontroller.h"
#include "qgs2dmapcontroller.h"
#include "qgs3dmapcontroller.h"
%End
%ConvertToSubClassCode
if ( qobject_cast<QgsAbstract2DMapController *>( sipCpp ) )
sipType = sipType_QgsAbstract2DMapController;
else if ( qobject_cast<QgsAbstract3DMapController *>( sipCpp ) )
sipType = sipType_QgsAbstract3DMapController;
else
sipType = nullptr;
%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.py again *
************************************************************************/