QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
src
gui
inputcontroller
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
"
22
#include "
qgsabstractinputcontroller.h
"
23
31
class
GUI_EXPORT
QgsAbstract2DMapController
:
public
QgsAbstractInputController
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
Qgis::InputControllerType
InputControllerType
Input controller types.
Definition
qgis.h:4977
QgsAbstract2DMapController
Abstract base class for all 2D map controllers.
Definition
qgs2dmapcontroller.h:32
QgsAbstractInputController
Abstract base class for all input controllers.
Definition
qgsabstractinputcontroller.h:33
QgsAbstractInputController::type
virtual Qgis::InputControllerType type() const =0
Returns the input controller type.
qgis.h
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsabstractinputcontroller.h
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8