QGIS API Documentation
4.3.0-Master (0ad0cdb9438)
Toggle main menu visibility
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.h
"
20
#include "qgis_gui.h"
21
#include "
qgis_sip.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:6177
QgsAbstract2DMapController::QgsAbstract2DMapController
QgsAbstract2DMapController(QObject *parent=nullptr)
Constructor for QgsAbstract2DMapController, with the specified parent object.
Definition
qgs2dmapcontroller.cpp:20
QgsAbstractInputController::QgsAbstractInputController
QgsAbstractInputController(QObject *parent=nullptr)
Constructor for QgsAbstractInputController, with the specified parent object.
Definition
qgsabstractinputcontroller.cpp:20
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:52
qgsabstractinputcontroller.h
Generated on
for QGIS API Documentation by
1.17.0