QGIS API Documentation
3.43.0-Master (3ee7834ace6)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
3d
qgs3dmaptool.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgs3dmaptool.cpp
3
--------------------------------------
4
Date : Sep 2018
5
Copyright : (C) 2018 by Martin Dobias
6
Email : wonder dot sk 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
#include "
qgs3dmaptool.h
"
17
#include "moc_qgs3dmaptool.cpp"
18
19
#include "
qgs3dmapcanvas.h
"
20
21
Qgs3DMapTool::Qgs3DMapTool
(
Qgs3DMapCanvas
*canvas )
22
: QObject( canvas )
23
, mCanvas( canvas )
24
{
25
}
21
Qgs3DMapTool::Qgs3DMapTool
(
Qgs3DMapCanvas
*canvas ) {
…
}
26
27
void
Qgs3DMapTool::mousePressEvent
( QMouseEvent *event )
28
{
29
Q_UNUSED( event )
30
}
27
void
Qgs3DMapTool::mousePressEvent
( QMouseEvent *event ) {
…
}
31
32
void
Qgs3DMapTool::mouseReleaseEvent
( QMouseEvent *event )
33
{
34
Q_UNUSED( event )
35
}
32
void
Qgs3DMapTool::mouseReleaseEvent
( QMouseEvent *event ) {
…
}
36
37
void
Qgs3DMapTool::mouseMoveEvent
( QMouseEvent *event )
38
{
39
Q_UNUSED( event )
40
}
37
void
Qgs3DMapTool::mouseMoveEvent
( QMouseEvent *event ) {
…
}
41
42
void
Qgs3DMapTool::keyPressEvent
( QKeyEvent *event )
43
{
44
Q_UNUSED( event )
45
}
42
void
Qgs3DMapTool::keyPressEvent
( QKeyEvent *event ) {
…
}
46
47
void
Qgs3DMapTool::keyReleaseEvent
( QKeyEvent *event )
48
{
49
Q_UNUSED( event )
50
}
47
void
Qgs3DMapTool::keyReleaseEvent
( QKeyEvent *event ) {
…
}
51
52
void
Qgs3DMapTool::mouseWheelEvent
( QWheelEvent *event )
53
{
54
Q_UNUSED( event )
55
}
52
void
Qgs3DMapTool::mouseWheelEvent
( QWheelEvent *event ) {
…
}
56
57
void
Qgs3DMapTool::activate
()
58
{
59
}
57
void
Qgs3DMapTool::activate
() {
…
}
60
61
void
Qgs3DMapTool::deactivate
()
62
{
63
}
61
void
Qgs3DMapTool::deactivate
() {
…
}
64
65
QCursor
Qgs3DMapTool::cursor
()
const
66
{
67
return
Qt::CrossCursor;
68
}
65
QCursor
Qgs3DMapTool::cursor
()
const
{
…
}
69
70
void
Qgs3DMapTool::onMapSettingsChanged()
71
{
72
}
73
74
Qgs3DMapCanvas
*
Qgs3DMapTool::canvas
()
75
{
76
return
mCanvas
;
77
}
74
Qgs3DMapCanvas
*
Qgs3DMapTool::canvas
() {
…
}
Qgs3DMapCanvas
3
Definition
qgs3dmapcanvas.h:83
Qgs3DMapTool::mousePressEvent
virtual void mousePressEvent(QMouseEvent *event)
Reimplement to handle mouse event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:27
Qgs3DMapTool::cursor
virtual QCursor cursor() const
Mouse cursor to be used when the tool is active.
Definition
qgs3dmaptool.cpp:65
Qgs3DMapTool::mouseMoveEvent
virtual void mouseMoveEvent(QMouseEvent *event)
Reimplement to handle mouse move event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:37
Qgs3DMapTool::Qgs3DMapTool
Qgs3DMapTool(Qgs3DMapCanvas *canvas)
Base constructor for a Qgs3DMapTool for the specified canvas.
Definition
qgs3dmaptool.cpp:21
Qgs3DMapTool::keyPressEvent
virtual void keyPressEvent(QKeyEvent *event)
Reimplement to handle key press event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:42
Qgs3DMapTool::deactivate
virtual void deactivate()
Called when map tool is being deactivated.
Definition
qgs3dmaptool.cpp:61
Qgs3DMapTool::mCanvas
Qgs3DMapCanvas * mCanvas
Definition
qgs3dmaptool.h:75
Qgs3DMapTool::activate
virtual void activate()
Called when set as currently active map tool.
Definition
qgs3dmaptool.cpp:57
Qgs3DMapTool::keyReleaseEvent
virtual void keyReleaseEvent(QKeyEvent *event)
Reimplement to handle key release event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:47
Qgs3DMapTool::canvas
Qgs3DMapCanvas * canvas()
Returns the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:74
Qgs3DMapTool::mouseReleaseEvent
virtual void mouseReleaseEvent(QMouseEvent *event)
Reimplement to handle mouse release event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:32
Qgs3DMapTool::mouseWheelEvent
virtual void mouseWheelEvent(QWheelEvent *event)
Reimplement to handle mouse wheel event forwarded by the parent Qgs3DMapCanvas.
Definition
qgs3dmaptool.cpp:52
qgs3dmapcanvas.h
qgs3dmaptool.h
Generated on Mon Mar 24 2025 21:55:38 for QGIS API Documentation by
1.9.8