QGIS API Documentation 3.37.0-Master (0931624dea2)
Loading...
Searching...
No Matches
qgs2dmapcontroller.h
Go to the documentation of this file.
1/***************************************************************************
2 qgs2dmapcontroller.h
3 ---------------------
4 begin : March 2023
5 copyright : (C) 2023 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGS2DMAPCONTROLLER_H
17#define QGS2DMAPCONTROLLER_H
18
19#include "qgis_gui.h"
20#include "qgis_sip.h"
21#include "qgis.h"
23
32{
33 Q_OBJECT
34
35 public:
36
40 QgsAbstract2DMapController( QObject *parent SIP_TRANSFERTHIS = nullptr );
41
42 Qgis::InputControllerType type() const override;
43
44 signals:
45
46#if 0
47 // TODO: add a bunch of signals relating to navigating a 2D map, eg
48
52 void zoomMap( double factor );
53
54 // etc
55#endif
56
57};
58
59
60#endif // QGS2DMAPCONTROLLER_H
InputControllerType
Input controller types.
Definition qgis.h:4541
Abstract base class for all 2D map controllers.
Abstract base class for all input controllers.
virtual Qgis::InputControllerType type() const =0
Returns the input controller type.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53