QGIS API Documentation 3.43.0-Master (3ee7834ace6)
|
3 More...
#include <qgs3dmaptool.h>
Public Member Functions | |
Qgs3DMapTool (Qgs3DMapCanvas *canvas) | |
Base constructor for a Qgs3DMapTool for the specified canvas. | |
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 | |
Qgs3DMapCanvas * | mCanvas = nullptr |
3
Base class for map tools operating on 3D map canvas.
Definition at line 37 of file qgs3dmaptool.h.
Qgs3DMapTool::Qgs3DMapTool | ( | Qgs3DMapCanvas * | canvas | ) |
Base constructor for a Qgs3DMapTool for the specified canvas.
Definition at line 21 of file qgs3dmaptool.cpp.
|
virtual |
Called when set as currently active map tool.
Definition at line 57 of file qgs3dmaptool.cpp.
Qgs3DMapCanvas * Qgs3DMapTool::canvas | ( | ) |
Returns the parent Qgs3DMapCanvas.
Definition at line 74 of file qgs3dmaptool.cpp.
|
virtual |
Mouse cursor to be used when the tool is active.
Definition at line 65 of file qgs3dmaptool.cpp.
|
virtual |
Called when map tool is being deactivated.
Definition at line 61 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle key press event forwarded by the parent Qgs3DMapCanvas.
Definition at line 42 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle key release event forwarded by the parent Qgs3DMapCanvas.
Definition at line 47 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse move event forwarded by the parent Qgs3DMapCanvas.
Definition at line 37 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse event forwarded by the parent Qgs3DMapCanvas.
Definition at line 27 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse release event forwarded by the parent Qgs3DMapCanvas.
Definition at line 32 of file qgs3dmaptool.cpp.
|
virtual |
Reimplement to handle mouse wheel event forwarded by the parent Qgs3DMapCanvas.
Definition at line 52 of file qgs3dmaptool.cpp.
|
protected |
Definition at line 75 of file qgs3dmaptool.h.