QGIS/python/gui/auto_generated/inputcontroller/qgs2dmapcontroller.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

51 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/inputcontroller/qgs2dmapcontroller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAbstract2DMapController : QgsAbstractInputController
{
%Docstring(signature="appended")
Abstract base class for all 2D map controllers.
.. versionadded:: 3.32
%End
%TypeHeaderCode
#include "qgs2dmapcontroller.h"
%End
public:
QgsAbstract2DMapController( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsAbstract2DMapController, with the specified ``parent`` object.
%End
virtual Qgis::InputControllerType type() const;
signals:
void zoomMap( double factor );
%Docstring
Emitted when the controller should change the scale of a map by the given ``factor``.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/inputcontroller/qgs2dmapcontroller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/