QGIS API Documentation
3.41.0-Master (af5edcb665c)
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
:
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
Qgis::InputControllerType
InputControllerType
Input controller types.
Definition
qgis.h:5048
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 Thu Dec 26 2024 02:19:01 for QGIS API Documentation by
1.9.8