QGIS API Documentation 3.41.0-Master (af5edcb665c)
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:
39 QgsAbstract2DMapController( QObject *parent SIP_TRANSFERTHIS = nullptr );
40
41 Qgis::InputControllerType type() const override;
42
43 signals:
44
45#if 0
46 // TODO: add a bunch of signals relating to navigating a 2D map, eg
47
51 void zoomMap( double factor );
52
53 // etc
54#endif
55};
56
57
58#endif // QGS2DMAPCONTROLLER_H
InputControllerType
Input controller types.
Definition qgis.h:5048
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