|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
Contains information about a node used for editing an annotation item. More...
#include <qgsannotationitemnode.h>
Public Member Functions | |
| QgsAnnotationItemNode ()=default | |
| QgsAnnotationItemNode (const QgsVertexId &id, const QgsPointXY &point, Qgis::AnnotationItemNodeType type, Qt::CursorShape cursor=Qt::CursorShape::ArrowCursor) | |
| Constructor for QgsAnnotationItemNode, with the specified id, point and type. | |
| Qt::CursorShape | cursor () const |
| Returns the mouse cursor shape to use when hovering the node. | |
| QgsVertexId | id () const |
| Returns the ID number of the node, used for uniquely identifying the node in the item. | |
| bool | operator!= (const QgsAnnotationItemNode &other) const |
| bool | operator== (const QgsAnnotationItemNode &other) const |
| QgsPointXY | point () const |
| Returns the node's position, in geographic coordinates. | |
| void | setCursor (Qt::CursorShape shape) |
| Sets the mouse cursor shape to use when hovering the node. | |
| void | setPoint (QgsPointXY point) |
| Sets the node's position, in geographic coordinates. | |
| void | setType (Qgis::AnnotationItemNodeType type) |
| Sets the node type. | |
| Qgis::AnnotationItemNodeType | type () const |
| Returns the node type. | |
Contains information about a node used for editing an annotation item.
Definition at line 35 of file qgsannotationitemnode.h.
|
default |
|
inline |
Constructor for QgsAnnotationItemNode, with the specified id, point and type.
Definition at line 43 of file qgsannotationitemnode.h.
|
inline |
Returns the mouse cursor shape to use when hovering the node.
Definition at line 109 of file qgsannotationitemnode.h.
|
inline |
Returns the ID number of the node, used for uniquely identifying the node in the item.
Definition at line 66 of file qgsannotationitemnode.h.
|
inline |
Definition at line 122 of file qgsannotationitemnode.h.
|
inline |
Definition at line 120 of file qgsannotationitemnode.h.
|
inline |
Returns the node's position, in geographic coordinates.
The coordinates will match the annotation item's CRS.
Definition at line 78 of file qgsannotationitemnode.h.
|
inline |
Sets the mouse cursor shape to use when hovering the node.
Definition at line 117 of file qgsannotationitemnode.h.
|
inline |
Sets the node's position, in geographic coordinates.
The coordinates will match the annotation item's CRS.
Definition at line 87 of file qgsannotationitemnode.h.
|
inline |
|
inline |