marble
AreaAnnotation.h
Go to the documentation of this file.
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
virtual const char * graphicType() const
Provides information for downcasting a SceneGraphicsItem.
Definition: AreaAnnotation.cpp:378
QPair< int, int > & mergedNodes()
Getters for the nodes to be merged.
Definition: AreaAnnotation.cpp:373
virtual void paint(GeoPainter *painter, const ViewportParams *viewport)
Paints the item using the given GeoPainter.
Definition: AreaAnnotation.cpp:41
virtual bool mouseReleaseEvent(QMouseEvent *event)
Definition: AreaAnnotation.cpp:253
QList< int > & selectedNodes()
Returns the list of selected node indexes.
Definition: AreaAnnotation.cpp:320
int rightClickedNode() const
Returns the node index on which the mouse press event (with the right button) has been caught...
Definition: AreaAnnotation.cpp:325
AreaAnnotation(GeoDataPlacemark *placemark)
Definition: AreaAnnotation.cpp:31
bool isInnerBoundsPoint(const QPoint &point, bool restrictive=false) const
Checks whether the point parameter is contained by one of its inner boundaries.
Definition: AreaAnnotation.cpp:330
Definition: AreaAnnotation.h:24
This is the base class for all scene graphics included within the annotate plugin.
Definition: SceneGraphicsItem.h:34
virtual bool mouseMoveEvent(QMouseEvent *event)
Definition: AreaAnnotation.cpp:153
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
const GeoDataPlacemark * placemark() const
SceneGraphicItem class, when called from one of its derived classes' constructors, takes as a parameter a pointer to the placemark of the graphic element.
Definition: SceneGraphicsItem.cpp:41
void setMergedNodes(const QPair< int, int > &nodes)
Sets the nodes to be merged.
Definition: AreaAnnotation.cpp:368
bool isValidPolygon() const
Checks if the polygon has a valid shape; an invalid shape would be, for example, if one of its inner ...
Definition: AreaAnnotation.cpp:353
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
virtual bool mousePressEvent(QMouseEvent *event)
In the implementation of these virtual functions, the following convention has been followed: if the ...
Definition: AreaAnnotation.cpp:109
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.