|
| QgsAnnotationPointTextItem (const QString &text, QgsPointXY point) |
| Constructor for QgsAnnotationPointTextItem, containing the specified text at the specified point. More...
|
|
| ~QgsAnnotationPointTextItem () override |
|
Qt::Alignment | alignment () const |
| Returns the text's alignment relative to the reference point(). More...
|
|
double | angle () const |
| Returns the text's rotation angle, in degrees clockwise. More...
|
|
Qgis::AnnotationItemEditOperationResult | applyEdit (QgsAbstractAnnotationItemEditOperation *operation) override |
| Applies an edit operation to the item. More...
|
|
QgsRectangle | boundingBox () const override |
| Returns the bounding box of the item's geographic location, in the parent layer's coordinate reference system. More...
|
|
QgsRectangle | boundingBox (QgsRenderContext &context) const override |
| Returns the bounding box of the item's geographic location, in the parent layer's coordinate reference system. More...
|
|
QgsAnnotationPointTextItem * | clone () override |
| Returns a clone of the item. More...
|
|
Qgis::AnnotationItemFlags | flags () const override |
| Returns item flags. More...
|
|
QgsTextFormat | format () const |
| Returns the text format used to render the text. More...
|
|
QList< QgsAnnotationItemNode > | nodes () const override |
| Returns the nodes for the item, used for editing the item. More...
|
|
QgsPointXY | point () const |
| Returns the point location of the text. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads the item's state from the given DOM element. More...
|
|
void | render (QgsRenderContext &context, QgsFeedback *feedback) override |
| Renders the item to the specified render context. More...
|
|
void | setAlignment (Qt::Alignment alignment) |
| Sets the text's alignment relative to the reference point(). More...
|
|
void | setAngle (double angle) |
| Sets the text's rotation angle, in degrees clockwise. More...
|
|
void | setFormat (const QgsTextFormat &format) |
| Sets the text format used to render the text. More...
|
|
void | setPoint (QgsPointXY point) |
| Sets the point location of the text. More...
|
|
void | setText (const QString &text) |
| Sets the text rendered by the item. More...
|
|
QString | text () const |
| Returns the text rendered by the item. More...
|
|
QgsAnnotationItemEditOperationTransientResults * | transientEditResults (QgsAbstractAnnotationItemEditOperation *operation) override |
| Retrieves the results of a transient (in progress) edit operation on the item. More...
|
|
QString | type () const override |
| Returns a unique (untranslated) string identifying the type of item. More...
|
|
bool | writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const override |
| Writes the item's state into an XML element. More...
|
|
| QgsAnnotationItem ()=default |
| Constructor for an annotation item. More...
|
|
| QgsAnnotationItem (const QgsAnnotationItem &other)=delete |
| QgsAnnotationItem cannot be copied. More...
|
|
virtual | ~QgsAnnotationItem ()=default |
|
virtual Qgis::AnnotationItemEditOperationResult | applyEdit (QgsAbstractAnnotationItemEditOperation *operation) |
| Applies an edit operation to the item. More...
|
|
virtual QgsRectangle | boundingBox () const =0 |
| Returns the bounding box of the item's geographic location, in the parent layer's coordinate reference system. More...
|
|
virtual QgsRectangle | boundingBox (QgsRenderContext &context) const |
| Returns the bounding box of the item's geographic location, in the parent layer's coordinate reference system. More...
|
|
virtual QgsAnnotationItem * | clone ()=0 |
| Returns a clone of the item. More...
|
|
virtual Qgis::AnnotationItemFlags | flags () const |
| Returns item flags. More...
|
|
virtual QList< QgsAnnotationItemNode > | nodes () const |
| Returns the nodes for the item, used for editing the item. More...
|
|
QgsAnnotationItem & | operator= (const QgsAnnotationItem &other)=delete |
| QgsAnnotationItem cannot be copied. More...
|
|
virtual bool | readXml (const QDomElement &element, const QgsReadWriteContext &context)=0 |
| Reads the item's state from the given DOM element. More...
|
|
virtual void | render (QgsRenderContext &context, QgsFeedback *feedback)=0 |
| Renders the item to the specified render context. More...
|
|
void | setSymbologyReferenceScale (double scale) |
| Sets the annotation's symbology reference scale. More...
|
|
void | setUseSymbologyReferenceScale (bool enabled) |
| Sets whether the annotation item uses a symbology reference scale. More...
|
|
void | setZIndex (int index) |
| Sets the item's z index, which controls the order in which annotation items are rendered in the layer. More...
|
|
double | symbologyReferenceScale () const |
| Returns the annotation's symbology reference scale. More...
|
|
virtual QgsAnnotationItemEditOperationTransientResults * | transientEditResults (QgsAbstractAnnotationItemEditOperation *operation) |
| Retrieves the results of a transient (in progress) edit operation on the item. More...
|
|
virtual QString | type () const =0 |
| Returns a unique (untranslated) string identifying the type of item. More...
|
|
bool | useSymbologyReferenceScale () const |
| Returns true if the annotation item uses a symbology reference scale. More...
|
|
virtual bool | writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const =0 |
| Writes the item's state into an XML element. More...
|
|
int | zIndex () const |
| Returns the item's z index, which controls the order in which annotation items are rendered in the layer. More...
|
|