QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSANNOTATIONITEMEDITNODE_H
18 #define QGSANNOTATIONITEMEDITNODE_H
20 #include "qgis_core.h"
50 SIP_PYOBJECT __repr__();
52 QString
str = QStringLiteral(
"<QgsAnnotationItemNode: %1 - %2 (%3, %4)>" ).arg( sipCpp->id().vertex )
54 .arg( sipCpp->point().x() )
55 .arg( sipCpp->point().y() );
56 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
81 void setPoint(
QgsPointXY point ) { mPoint = point; }
100 return mId == other.mId && mType == other.mType && mPoint == other.mPoint;
105 return !( *
this == other );
116 #endif // QGSANNOTATIONITEMEDITNODE_H
QString qgsEnumValueToKey(const T &value, bool *returnOk=nullptr)
Returns the value for the given key of an enum.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
AnnotationItemNodeType
Annotation item GUI flags.
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
A class to represent a 2D point.
@ VertexHandle
Node is a handle for manipulating vertices.
Contains information about a node used for editing an annotation item.
Utility class for identifying a unique vertex within a geometry.