|
| QgsBalloonCallout () |
|
| QgsBalloonCallout (const QgsBalloonCallout &other) |
| Copy constructor. More...
|
|
| ~QgsBalloonCallout () override |
|
QgsBalloonCallout * | clone () const override |
| Duplicates a callout by creating a deep copy of the callout. More...
|
|
double | cornerRadius () const |
| Returns the corner radius of the balloon shapes. More...
|
|
const QgsMapUnitScale & | cornerRadiusMapUnitScale () const |
| Returns the map unit scale for the corner radius. More...
|
|
QgsUnitTypes::RenderUnit | cornerRadiusUnit () const |
| Returns the units for the corner radius. More...
|
|
QgsFillSymbol * | fillSymbol () |
| Returns the fill symbol used to render the callout. More...
|
|
const QgsMargins & | margins () const |
| Returns the margins between the outside of the callout frame and the label's bounding rectangle. More...
|
|
QgsUnitTypes::RenderUnit | marginsUnit () const |
| Returns the units for the margins between the outside of the callout frame and the label's bounding rectangle. More...
|
|
double | offsetFromAnchor () const |
| Returns the offset distance from the anchor point at which to start the line. More...
|
|
const QgsMapUnitScale & | offsetFromAnchorMapUnitScale () const |
| Returns the map unit scale for the offset from anchor. More...
|
|
QgsUnitTypes::RenderUnit | offsetFromAnchorUnit () const |
| Returns the units for the offset from anchor point. More...
|
|
QgsBalloonCallout & | operator= (const QgsBalloonCallout &)=delete |
|
QVariantMap | properties (const QgsReadWriteContext &context) const override |
| Returns the properties describing the callout encoded in a string format. More...
|
|
void | readProperties (const QVariantMap &props, const QgsReadWriteContext &context) override |
| Reads a string map of an callout's properties and restores the callout to the state described by the properties map. More...
|
|
QSet< QString > | referencedFields (const QgsRenderContext &context) const override |
| Returns the set of attributes referenced by the callout. More...
|
|
void | setCornerRadius (double radius) |
| Sets the radius of the corners for the balloon shapes. More...
|
|
void | setCornerRadiusMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale for the corner radius. More...
|
|
void | setCornerRadiusUnit (QgsUnitTypes::RenderUnit unit) |
| Sets the unit for the corner radius. More...
|
|
void | setFillSymbol (QgsFillSymbol *symbol) |
| Sets the fill symbol used to render the callout. More...
|
|
void | setMargins (const QgsMargins &margins) |
| Sets the margins between the outside of the callout frame and the label's bounding rectangle. More...
|
|
void | setMarginsUnit (QgsUnitTypes::RenderUnit unit) |
| Sets the unit for the margins between the outside of the callout frame and the label's bounding rectangle. More...
|
|
void | setOffsetFromAnchor (double distance) |
| Sets the offset distance from the anchor point at which to start the line. More...
|
|
void | setOffsetFromAnchorMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale for the offset from anchor. More...
|
|
void | setOffsetFromAnchorUnit (QgsUnitTypes::RenderUnit unit) |
| Sets the unit for the offset from anchor distance. More...
|
|
void | setWedgeWidth (double width) |
| Sets the width of the wedge shape at the side it connects with the label. More...
|
|
void | setWedgeWidthMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale for the wedge width. More...
|
|
void | setWedgeWidthUnit (QgsUnitTypes::RenderUnit unit) |
| Sets the unit for the wedge width. More...
|
|
void | startRender (QgsRenderContext &context) override |
| Prepares the callout for rendering on the specified render context. More...
|
|
void | stopRender (QgsRenderContext &context) override |
| Finalises the callout after a set of rendering operations on the specified render context. More...
|
|
QString | type () const override |
| Returns a unique string representing the callout type. More...
|
|
double | wedgeWidth () const |
| Returns the width of the wedge shape at the side it connects with the label. More...
|
|
const QgsMapUnitScale & | wedgeWidthMapUnitScale () const |
| Returns the map unit scale for the wedge width. More...
|
|
QgsUnitTypes::RenderUnit | wedgeWidthUnit () const |
| Returns the units for the wedge width. More...
|
|
| QgsCallout () |
| Constructor for QgsCallout. More...
|
|
virtual | ~QgsCallout ()=default |
|
AnchorPoint | anchorPoint () const |
| Returns the feature's anchor point position. More...
|
|
QPainter::CompositionMode | blendMode () const |
| Returns the blending mode used for drawing callouts. More...
|
|
virtual QgsCallout * | clone () const =0 |
| Duplicates a callout by creating a deep copy of the callout. More...
|
|
bool | containsAdvancedEffects () const |
| Returns true if the callout requires advanced effects such as blend modes, which require output in raster formats to be fully respected. More...
|
|
QgsPropertyCollection & | dataDefinedProperties () |
| Returns a reference to the callout's property collection, used for data defined overrides. More...
|
|
const QgsPropertyCollection & | dataDefinedProperties () const |
| Returns a reference to the callout's property collection, used for data defined overrides. More...
|
|
virtual DrawOrder | drawOrder () const |
| Returns the desired drawing order (stacking) to use while rendering this callout. More...
|
|
bool | enabled () const |
| Returns true if the the callout is enabled. More...
|
|
LabelAnchorPoint | labelAnchorPoint () const |
| Returns the label's anchor point position. More...
|
|
virtual QVariantMap | properties (const QgsReadWriteContext &context) const |
| Returns the properties describing the callout encoded in a string format. More...
|
|
virtual void | readProperties (const QVariantMap &props, const QgsReadWriteContext &context) |
| Reads a string map of an callout's properties and restores the callout to the state described by the properties map. More...
|
|
virtual QSet< QString > | referencedFields (const QgsRenderContext &context) const |
| Returns the set of attributes referenced by the callout. More...
|
|
void | render (QgsRenderContext &context, const QRectF &rect, const double angle, const QgsGeometry &anchor, QgsCalloutContext &calloutContext) |
| Renders the callout onto the specified render context. More...
|
|
virtual void | restoreProperties (const QDomElement &element, const QgsReadWriteContext &context) |
| Restores the callout's properties from a DOM element. More...
|
|
virtual bool | saveProperties (QDomDocument &doc, QDomElement &element, const QgsReadWriteContext &context) const |
| Saves the current state of the callout to a DOM element. More...
|
|
void | setAnchorPoint (AnchorPoint anchor) |
| Sets the feature's anchor point position. More...
|
|
void | setBlendMode (QPainter::CompositionMode mode) |
| Sets the blending mode used for drawing callouts. More...
|
|
void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
| Sets the callout's property collection, used for data defined overrides. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the callout is enabled. More...
|
|
void | setLabelAnchorPoint (LabelAnchorPoint anchor) |
| Sets the label's anchor point position. More...
|
|
virtual void | startRender (QgsRenderContext &context) |
| Prepares the callout for rendering on the specified render context. More...
|
|
virtual void | stopRender (QgsRenderContext &context) |
| Finalises the callout after a set of rendering operations on the specified render context. More...
|
|
virtual QString | type () const =0 |
| Returns a unique string representing the callout type. More...
|
|