|
| QgsTextBackgroundSettings () |
|
| QgsTextBackgroundSettings (const QgsTextBackgroundSettings &other) |
| Copy constructor. More...
|
|
| ~QgsTextBackgroundSettings () |
|
QPainter::CompositionMode | blendMode () const |
| Returns the blending mode used for drawing the background shape. More...
|
|
bool | enabled () const |
| Returns whether the background is enabled. More...
|
|
QColor | fillColor () const |
| Returns the color used for filing the background shape. More...
|
|
QgsFillSymbol * | fillSymbol () const |
| Returns the fill symbol to be rendered in the background. More...
|
|
Qt::PenJoinStyle | joinStyle () const |
| Returns the join style used for drawing the background shape. More...
|
|
QgsMarkerSymbol * | markerSymbol () const |
| Returns the marker symbol to be rendered in the background. More...
|
|
QPointF | offset () const |
| Returns the offset used for drawing the background shape. More...
|
|
QgsMapUnitScale | offsetMapUnitScale () const |
| Returns the map unit scale object for the shape offset. More...
|
|
QgsUnitTypes::RenderUnit | offsetUnit () const |
| Returns the units used for the shape's offset. More...
|
|
double | opacity () const |
| Returns the background shape's opacity. More...
|
|
bool | operator!= (const QgsTextBackgroundSettings &other) const |
|
QgsTextBackgroundSettings & | operator= (const QgsTextBackgroundSettings &other) |
|
bool | operator== (const QgsTextBackgroundSettings &other) const |
|
const QgsPaintEffect * | paintEffect () const |
| Returns the current paint effect for the background shape. More...
|
|
QSizeF | radii () const |
| Returns the radii used for rounding the corners of shapes. More...
|
|
QgsMapUnitScale | radiiMapUnitScale () const |
| Returns the map unit scale object for the shape radii. More...
|
|
QgsUnitTypes::RenderUnit | radiiUnit () const |
| Returns the units used for the shape's radii. More...
|
|
void | readFromLayer (QgsVectorLayer *layer) |
| Reads settings from a layer's custom properties (for QGIS 2.x projects). More...
|
|
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) |
| Read settings from a DOM element. More...
|
|
QSet< QString > | referencedFields (const QgsRenderContext &context) const |
| Returns all field names referenced by the configuration (e.g. More...
|
|
double | rotation () const |
| Returns the rotation for the background shape, in degrees clockwise. More...
|
|
RotationType | rotationType () const |
| Returns the method used for rotating the background shape. More...
|
|
void | setBlendMode (QPainter::CompositionMode mode) |
| Sets the blending mode used for drawing the background shape. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the text background will be drawn. More...
|
|
void | setFillColor (const QColor &color) |
| Sets the color used for filing the background shape. More...
|
|
void | setFillSymbol (QgsFillSymbol *symbol) |
| Sets the current fill symbol for the background shape. More...
|
|
void | setJoinStyle (Qt::PenJoinStyle style) |
| Sets the join style used for drawing the background shape. More...
|
|
void | setMarkerSymbol (QgsMarkerSymbol *symbol) |
| Sets the current marker symbol for the background shape. More...
|
|
void | setOffset (QPointF offset) |
| Sets the offset used for drawing the background shape. More...
|
|
void | setOffsetMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shape offset. More...
|
|
void | setOffsetUnit (QgsUnitTypes::RenderUnit units) |
| Sets the units used for the shape's offset. More...
|
|
void | setOpacity (double opacity) |
| Sets the background shape's opacity. More...
|
|
void | setPaintEffect (QgsPaintEffect *effect) |
| Sets the current paint effect for the background shape. More...
|
|
void | setRadii (QSizeF radii) |
| Sets the radii used for rounding the corners of shapes. More...
|
|
void | setRadiiMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shape radii. More...
|
|
void | setRadiiUnit (QgsUnitTypes::RenderUnit units) |
| Sets the units used for the shape's radii. More...
|
|
void | setRotation (double rotation) |
| Sets the rotation for the background shape, in degrees clockwise. More...
|
|
void | setRotationType (RotationType type) |
| Sets the method used for rotating the background shape. More...
|
|
void | setSize (QSizeF size) |
| Sets the size of the background shape. More...
|
|
void | setSizeMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shape size. More...
|
|
void | setSizeType (SizeType type) |
| Sets the method used to determine the size of the background shape (e.g., fixed size or buffer around text). More...
|
|
void | setSizeUnit (QgsUnitTypes::RenderUnit unit) |
| Sets the units used for the shape's size. More...
|
|
void | setStrokeColor (const QColor &color) |
| Sets the color used for outlining the background shape. More...
|
|
void | setStrokeWidth (double width) |
| Sets the width of the shape's stroke (stroke). More...
|
|
void | setStrokeWidthMapUnitScale (const QgsMapUnitScale &scale) |
| Sets the map unit scale object for the shape stroke width. More...
|
|
void | setStrokeWidthUnit (QgsUnitTypes::RenderUnit units) |
| Sets the units used for the shape's stroke width. More...
|
|
void | setSvgFile (const QString &file) |
| Sets the path to the background SVG file. More...
|
|
void | setType (ShapeType type) |
| Sets the type of background shape to draw (e.g., square, ellipse, SVG). More...
|
|
QSizeF | size () const |
| Returns the size of the background shape. More...
|
|
QgsMapUnitScale | sizeMapUnitScale () const |
| Returns the map unit scale object for the shape size. More...
|
|
SizeType | sizeType () const |
| Returns the method used to determine the size of the background shape (e.g., fixed size or buffer around text). More...
|
|
QgsUnitTypes::RenderUnit | sizeUnit () const |
| Returns the units used for the shape's size. More...
|
|
QColor | strokeColor () const |
| Returns the color used for outlining the background shape. More...
|
|
double | strokeWidth () const |
| Returns the width of the shape's stroke (stroke). More...
|
|
QgsMapUnitScale | strokeWidthMapUnitScale () const |
| Returns the map unit scale object for the shape stroke width. More...
|
|
QgsUnitTypes::RenderUnit | strokeWidthUnit () const |
| Returns the units used for the shape's stroke width. More...
|
|
QString | svgFile () const |
| Returns the absolute path to the background SVG file, if set. More...
|
|
ShapeType | type () const |
| Returns the type of background shape (e.g., square, ellipse, SVG). More...
|
|
void | updateDataDefinedProperties (QgsRenderContext &context, const QgsPropertyCollection &properties) |
| Updates the format by evaluating current values of data defined properties. More...
|
|
void | upgradeDataDefinedProperties (QgsPropertyCollection &properties) |
| Upgrade data defined properties when reading a project file saved in QGIS prior to version 3.20. More...
|
|
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const |
| Write settings into a DOM element. More...
|
|