|
QGIS API Documentation 4.5.0-Master (9185df287ca)
|
Base class for map tools operating on 3D map canvas. More...
#include <qgs3dmaptool.h>

Public Member Functions | |
| Qgs3DMapTool (Qgs3DMapCanvas *canvas) | |
| Base constructor for a Qgs3DMapTool for the specified canvas. | |
| ~Qgs3DMapTool () override | |
| Destructor. | |
| virtual void | activate () |
| Called when set as currently active map tool. | |
| Qgs3DMapCanvas * | canvas () |
| Returns the parent Qgs3DMapCanvas. | |
| virtual QCursor | cursor () const |
| Mouse cursor to be used when the tool is active. | |
| virtual void | deactivate () |
| Called when map tool is being deactivated. | |
| virtual void | keyPressEvent (QKeyEvent *event) |
| Reimplement to handle key press event forwarded by the parent Qgs3DMapCanvas. | |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| Reimplement to handle key release event forwarded by the parent Qgs3DMapCanvas. | |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| Reimplement to handle mouse move event forwarded by the parent Qgs3DMapCanvas. | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| Reimplement to handle mouse event forwarded by the parent Qgs3DMapCanvas. | |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| Reimplement to handle mouse release event forwarded by the parent Qgs3DMapCanvas. | |
| virtual void | mouseWheelEvent (QWheelEvent *event) |
| Reimplement to handle mouse wheel event forwarded by the parent Qgs3DMapCanvas. | |
Protected Attributes | |
| QPointer< Qgs3DMapCanvas > | mCanvas |
Base class for map tools operating on 3D map canvas.
Definition at line 35 of file qgs3dmaptool.h.
| Qgs3DMapTool::Qgs3DMapTool | ( | Qgs3DMapCanvas * | canvas | ) |
Base constructor for a Qgs3DMapTool for the specified canvas.
Definition at line 22 of file qgs3dmaptool.cpp.
|
override |
Destructor.
Definition at line 27 of file qgs3dmaptool.cpp.
|
virtual |
Called when set as currently active map tool.
Definition at line 65 of file qgs3dmaptool.cpp.
| Qgs3DMapCanvas * Qgs3DMapTool::canvas | ( | ) |
Returns the parent Qgs3DMapCanvas.
Definition at line 79 of file qgs3dmaptool.cpp.
|
virtual |
Mouse cursor to be used when the tool is active.
Definition at line 71 of file qgs3dmaptool.cpp.
|
virtual |
Called when map tool is being deactivated.
Definition at line 68 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle key press event forwarded by the parent Qgs3DMapCanvas.
Definition at line 50 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle key release event forwarded by the parent Qgs3DMapCanvas.
Definition at line 55 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse move event forwarded by the parent Qgs3DMapCanvas.
Definition at line 45 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse event forwarded by the parent Qgs3DMapCanvas.
Definition at line 35 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse release event forwarded by the parent Qgs3DMapCanvas.
Definition at line 40 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse wheel event forwarded by the parent Qgs3DMapCanvas.
Definition at line 60 of file qgs3dmaptool.cpp.
|
protected |
Definition at line 76 of file qgs3dmaptool.h.