QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
#include <qgspallabeling.h>
Public Member Functions | |
QgsPalLayerSettings () | |
QgsPalLayerSettings (const QgsPalLayerSettings &s) | |
~QgsPalLayerSettings () | |
void | calculateLabelSize (const QFontMetricsF *fm, QString text, double &labelX, double &labelY, QgsFeature *f=nullptr, QgsRenderContext *context=nullptr) |
bool | dataDefinedEvaluate (QgsPalLayerSettings::DataDefinedProperties p, QVariant &exprVal, QgsExpressionContext *context=nullptr, const QVariant &originalValue=QVariant()) const |
Get data defined property value from expression string or attribute field name. More... | |
bool | dataDefinedIsActive (QgsPalLayerSettings::DataDefinedProperties p) const |
Whether data definition is active. More... | |
QMap< QString, QString > | dataDefinedMap (QgsPalLayerSettings::DataDefinedProperties p) const |
Get property value as separate values split into Qmap. More... | |
QMap< QgsPalLayerSettings::DataDefinedProperties, QPair< QString, int > > | dataDefinedNames () const |
Map of data defined enum to names and old-style indecies The QPair contains a new string for layer property key, and a reference to old-style numeric key (< QGIS 2.0) More... | |
QgsDataDefined * | dataDefinedProperty (QgsPalLayerSettings::DataDefinedProperties p) |
Get a data defined property pointer. More... | |
bool | dataDefinedUseExpression (QgsPalLayerSettings::DataDefinedProperties p) const |
Whether data definition is set to use an expression. More... | |
QVariant | dataDefinedValue (QgsPalLayerSettings::DataDefinedProperties p, QgsFeature &f, const QgsFields &fields, const QgsExpressionContext *context=nullptr) const |
Get data defined property value from expression string or attribute field name. More... | |
QgsExpression * | getLabelExpression () |
Returns the QgsExpression for this label settings. More... | |
QgsPalLayerSettings & | operator= (const QgsPalLayerSettings &s) |
copy operator - only copies the permanent members More... | |
void | readFromLayer (QgsVectorLayer *layer) |
void | readXml (QDomElement &elem) |
Read settings from a DOM element. More... | |
void | registerFeature (QgsFeature &f, QgsRenderContext &context, QgsLabelFeature **labelFeature=nullptr, QgsGeometry *obstacleGeometry=nullptr) |
Register a feature for labelling. More... | |
void | removeAllDataDefinedProperties () |
Clear all data-defined properties. More... | |
void | removeDataDefinedProperty (QgsPalLayerSettings::DataDefinedProperties p) |
Set a property to static instead data defined. More... | |
double | scaleToPixelContext (double size, const QgsRenderContext &c, SizeUnit unit, bool rasterfactor=false, const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale()) const |
Calculates size (considering output size should be in pixel or map units, scale factors and optionally oversampling) More... | |
void | setDataDefinedProperty (QgsPalLayerSettings::DataDefinedProperties p, bool active, bool useExpr, const QString &expr, const QString &field) |
Set a property as data defined. More... | |
int | sizeToPixel (double size, const QgsRenderContext &c, SizeUnit unit, bool rasterfactor=false, const QgsMapUnitScale &mapUnitScale=QgsMapUnitScale()) const |
Calculates pixel size (considering output size should be in pixel or map units, scale factors and optionally oversampling) More... | |
QString | updateDataDefinedString (const QString &value) |
Convert old property value to new one as delimited values. More... | |
void | writeToLayer (QgsVectorLayer *layer) |
QDomElement | writeXml (QDomDocument &doc) |
Write settings into a DOM element. More... | |
Static Public Member Functions | |
static QgsPalLayerSettings | fromLayer (QgsVectorLayer *layer) |
Definition at line 68 of file qgspallabeling.h.
Definition at line 234 of file qgspallabeling.h.
Enumerator | |
---|---|
SymbolLeftRight | place direction symbols on left/right of label |
SymbolAbove | place direction symbols on above label |
SymbolBelow | place direction symbols on below label |
Definition at line 161 of file qgspallabeling.h.
Line placement flags, which control how candidates are generated for a linear feature.
Definition at line 127 of file qgspallabeling.h.
Enumerator | |
---|---|
MultiLeft | |
MultiCenter | |
MultiRight | |
MultiFollowPlacement | Alignment follows placement of label, eg labels to the left of a feature will be drawn with right alignment |
Definition at line 168 of file qgspallabeling.h.
Valid obstacle types, which affect how features within the layer will act as obstacles for labels.
Definition at line 181 of file qgspallabeling.h.
Behaviour modifier for label offset and distance, only applies in some label placement modes.
Enumerator | |
---|---|
FromPoint | Offset distance applies from point geometry. |
FromSymbolBounds | Offset distance applies from rendered symbol bounds. |
Definition at line 117 of file qgspallabeling.h.
Placement modes which determine how label candidates are generated for a feature.
Definition at line 84 of file qgspallabeling.h.
Positions for labels when using the QgsPalLabeling::OrderedPositionsAroundPoint placement mode.
Definition at line 98 of file qgspallabeling.h.
Enumerator | |
---|---|
QuadrantAboveLeft | |
QuadrantAbove | |
QuadrantAboveRight | |
QuadrantLeft | |
QuadrantOver | |
QuadrantRight | |
QuadrantBelowLeft | |
QuadrantBelow | |
QuadrantBelowRight |
Definition at line 141 of file qgspallabeling.h.
Enumerator | |
---|---|
RotationSync | |
RotationOffset | |
RotationFixed |
Definition at line 209 of file qgspallabeling.h.
Enumerator | |
---|---|
ShadowLowest | |
ShadowText | |
ShadowBuffer | |
ShadowShape |
Definition at line 225 of file qgspallabeling.h.
Enumerator | |
---|---|
ShapeRectangle | |
ShapeSquare | |
ShapeEllipse | |
ShapeCircle | |
ShapeSVG |
Definition at line 193 of file qgspallabeling.h.
Enumerator | |
---|---|
SizeBuffer | |
SizeFixed | |
SizePercent |
Definition at line 202 of file qgspallabeling.h.
Units used for option sizes, before being converted to rendered sizes.
Enumerator | |
---|---|
Points | |
MM | |
MapUnits | |
Percent |
Definition at line 217 of file qgspallabeling.h.
Definition at line 154 of file qgspallabeling.h.
QgsPalLayerSettings::QgsPalLayerSettings | ( | ) |
Definition at line 106 of file qgspallabeling.cpp.
QgsPalLayerSettings::QgsPalLayerSettings | ( | const QgsPalLayerSettings & | s | ) |
Definition at line 354 of file qgspallabeling.cpp.
QgsPalLayerSettings::~QgsPalLayerSettings | ( | ) |
Definition at line 523 of file qgspallabeling.cpp.
void QgsPalLayerSettings::calculateLabelSize | ( | const QFontMetricsF * | fm, |
QString | text, | ||
double & | labelX, | ||
double & | labelY, | ||
QgsFeature * | f = nullptr , |
||
QgsRenderContext * | context = nullptr |
||
) |
Definition at line 1942 of file qgspallabeling.cpp.
bool QgsPalLayerSettings::dataDefinedEvaluate | ( | QgsPalLayerSettings::DataDefinedProperties | p, |
QVariant & | exprVal, | ||
QgsExpressionContext * | context = nullptr , |
||
const QVariant & | originalValue = QVariant() |
||
) | const |
Get data defined property value from expression string or attribute field name.
Definition at line 1875 of file qgspallabeling.cpp.
bool QgsPalLayerSettings::dataDefinedIsActive | ( | QgsPalLayerSettings::DataDefinedProperties | p | ) | const |
Whether data definition is active.
Definition at line 1906 of file qgspallabeling.cpp.
QMap< QString, QString > QgsPalLayerSettings::dataDefinedMap | ( | QgsPalLayerSettings::DataDefinedProperties | p | ) | const |
Get property value as separate values split into Qmap.
Definition at line 1797 of file qgspallabeling.cpp.
|
inline |
Map of data defined enum to names and old-style indecies The QPair contains a new string for layer property key, and a reference to old-style numeric key (< QGIS 2.0)
Definition at line 651 of file qgspallabeling.h.
QgsDataDefined * QgsPalLayerSettings::dataDefinedProperty | ( | QgsPalLayerSettings::DataDefinedProperties | p | ) |
Get a data defined property pointer.
Definition at line 1784 of file qgspallabeling.cpp.
bool QgsPalLayerSettings::dataDefinedUseExpression | ( | QgsPalLayerSettings::DataDefinedProperties | p | ) | const |
Whether data definition is set to use an expression.
Definition at line 1922 of file qgspallabeling.cpp.
QVariant QgsPalLayerSettings::dataDefinedValue | ( | QgsPalLayerSettings::DataDefinedProperties | p, |
QgsFeature & | f, | ||
const QgsFields & | fields, | ||
const QgsExpressionContext * | context = nullptr |
||
) | const |
Get data defined property value from expression string or attribute field name.
Definition at line 1808 of file qgspallabeling.cpp.
|
static |
Definition at line 536 of file qgspallabeling.cpp.
QgsExpression * QgsPalLayerSettings::getLabelExpression | ( | ) |
Returns the QgsExpression for this label settings.
Definition at line 544 of file qgspallabeling.cpp.
QgsPalLayerSettings & QgsPalLayerSettings::operator= | ( | const QgsPalLayerSettings & | s | ) |
copy operator - only copies the permanent members
Definition at line 369 of file qgspallabeling.cpp.
void QgsPalLayerSettings::readFromLayer | ( | QgsVectorLayer * | layer | ) |
Definition at line 791 of file qgspallabeling.cpp.
void QgsPalLayerSettings::readXml | ( | QDomElement & | elem | ) |
Read settings from a DOM element.
Definition at line 1268 of file qgspallabeling.cpp.
void QgsPalLayerSettings::registerFeature | ( | QgsFeature & | f, |
QgsRenderContext & | context, | ||
QgsLabelFeature ** | labelFeature = nullptr , |
||
QgsGeometry * | obstacleGeometry = nullptr |
||
) |
Register a feature for labelling.
f | feature to label |
context | render context. The QgsExpressionContext contained within the render context must have already had the feature and fields sets prior to calling this method. |
labelFeature | if using QgsLabelingEngineV2, this will receive the label feature. Not available in Python bindings. |
obstacleGeometry | optional obstacle geometry, if a different geometry to the feature's geometry should be used as an obstacle for labels (eg, if the feature has been rendered with an offset point symbol, the obstacle geometry should represent the bounds of the offset symbol). If not set, the feature's original geometry will be used as an obstacle for labels. Not available in Python bindings. |
Definition at line 2119 of file qgspallabeling.cpp.
void QgsPalLayerSettings::removeAllDataDefinedProperties | ( | ) |
Clear all data-defined properties.
Definition at line 1761 of file qgspallabeling.cpp.
void QgsPalLayerSettings::removeDataDefinedProperty | ( | QgsPalLayerSettings::DataDefinedProperties | p | ) |
Set a property to static instead data defined.
Definition at line 1751 of file qgspallabeling.cpp.
double QgsPalLayerSettings::scaleToPixelContext | ( | double | size, |
const QgsRenderContext & | c, | ||
SizeUnit | unit, | ||
bool | rasterfactor = false , |
||
const QgsMapUnitScale & | mapUnitScale = QgsMapUnitScale() |
||
) | const |
Calculates size (considering output size should be in pixel or map units, scale factors and optionally oversampling)
size | size to convert |
c | rendercontext |
unit | SizeUnit enum value of size |
rasterfactor | whether to consider oversampling |
mapUnitScale | a mapUnitScale clamper |
Definition at line 3926 of file qgspallabeling.cpp.
void QgsPalLayerSettings::setDataDefinedProperty | ( | QgsPalLayerSettings::DataDefinedProperties | p, |
bool | active, | ||
bool | useExpr, | ||
const QString & | expr, | ||
const QString & | field | ||
) |
Set a property as data defined.
Definition at line 1727 of file qgspallabeling.cpp.
int QgsPalLayerSettings::sizeToPixel | ( | double | size, |
const QgsRenderContext & | c, | ||
SizeUnit | unit, | ||
bool | rasterfactor = false , |
||
const QgsMapUnitScale & | mapUnitScale = QgsMapUnitScale() |
||
) | const |
Calculates pixel size (considering output size should be in pixel or map units, scale factors and optionally oversampling)
size | size to convert |
c | rendercontext |
unit | SizeUnit enum value of size |
rasterfactor | whether to consider oversampling |
mapUnitScale | a mapUnitScale clamper |
Definition at line 3921 of file qgspallabeling.cpp.
Convert old property value to new one as delimited values.
Definition at line 1767 of file qgspallabeling.cpp.
void QgsPalLayerSettings::writeToLayer | ( | QgsVectorLayer * | layer | ) |
Definition at line 1114 of file qgspallabeling.cpp.
QDomElement QgsPalLayerSettings::writeXml | ( | QDomDocument & | doc | ) |
Write settings into a DOM element.
Definition at line 1563 of file qgspallabeling.cpp.
bool QgsPalLayerSettings::addDirectionSymbol |
Definition at line 392 of file qgspallabeling.h.
double QgsPalLayerSettings::angleOffset |
Definition at line 494 of file qgspallabeling.h.
QPainter::CompositionMode QgsPalLayerSettings::blendMode |
Definition at line 375 of file qgspallabeling.h.
QPainter::CompositionMode QgsPalLayerSettings::bufferBlendMode |
Definition at line 412 of file qgspallabeling.h.
QColor QgsPalLayerSettings::bufferColor |
Definition at line 408 of file qgspallabeling.h.
bool QgsPalLayerSettings::bufferDraw |
Definition at line 404 of file qgspallabeling.h.
Qt::PenJoinStyle QgsPalLayerSettings::bufferJoinStyle |
Definition at line 411 of file qgspallabeling.h.
bool QgsPalLayerSettings::bufferNoFill |
Definition at line 409 of file qgspallabeling.h.
double QgsPalLayerSettings::bufferSize |
Definition at line 405 of file qgspallabeling.h.
bool QgsPalLayerSettings::bufferSizeInMapUnits |
Definition at line 406 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::bufferSizeMapUnitScale |
Definition at line 407 of file qgspallabeling.h.
int QgsPalLayerSettings::bufferTransp |
Definition at line 410 of file qgspallabeling.h.
bool QgsPalLayerSettings::centroidInside |
Definition at line 464 of file qgspallabeling.h.
bool QgsPalLayerSettings::centroidWhole |
Definition at line 463 of file qgspallabeling.h.
const QgsCoordinateTransform* QgsPalLayerSettings::ct |
Definition at line 658 of file qgspallabeling.h.
QMap< QgsPalLayerSettings::DataDefinedProperties, QgsDataDefined* > QgsPalLayerSettings::dataDefinedProperties |
Map of current data defined properties.
Pointers to QgsDataDefined should never be null, the pointers are owned by this class
Definition at line 624 of file qgspallabeling.h.
int QgsPalLayerSettings::decimals |
Definition at line 399 of file qgspallabeling.h.
bool QgsPalLayerSettings::displayAll |
Definition at line 512 of file qgspallabeling.h.
double QgsPalLayerSettings::dist |
Definition at line 476 of file qgspallabeling.h.
bool QgsPalLayerSettings::distInMapUnits |
Definition at line 477 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::distMapUnitScale |
Definition at line 478 of file qgspallabeling.h.
bool QgsPalLayerSettings::drawLabels |
Whether to draw labels for this layer.
For some layers it may be desirable to register their features as obstacles for other labels without requiring labels to be drawn for the layer itself. In this case drawLabels can be set to false and obstacle set to true, which will result in the layer acting as an obstacle but having no labels of its own.
Definition at line 355 of file qgspallabeling.h.
bool QgsPalLayerSettings::enabled |
Definition at line 346 of file qgspallabeling.h.
QgsGeometry* QgsPalLayerSettings::extentGeom |
Definition at line 662 of file qgspallabeling.h.
int QgsPalLayerSettings::fieldIndex |
Definition at line 656 of file qgspallabeling.h.
QString QgsPalLayerSettings::fieldName |
Definition at line 359 of file qgspallabeling.h.
bool QgsPalLayerSettings::fitInPolygonOnly |
True if only labels which completely fit within a polygon are allowed.
Definition at line 475 of file qgspallabeling.h.
bool QgsPalLayerSettings::fontLimitPixelSize |
Definition at line 508 of file qgspallabeling.h.
int QgsPalLayerSettings::fontMaxPixelSize |
Definition at line 510 of file qgspallabeling.h.
int QgsPalLayerSettings::fontMinPixelSize |
Definition at line 509 of file qgspallabeling.h.
bool QgsPalLayerSettings::fontSizeInMapUnits |
Definition at line 371 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::fontSizeMapUnitScale |
Definition at line 372 of file qgspallabeling.h.
bool QgsPalLayerSettings::formatNumbers |
Definition at line 398 of file qgspallabeling.h.
bool QgsPalLayerSettings::isExpression |
Is this label made from a expression string eg FieldName || 'mm'.
Definition at line 363 of file qgspallabeling.h.
bool QgsPalLayerSettings::labelOffsetInMapUnits |
Definition at line 492 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::labelOffsetMapUnitScale |
Definition at line 493 of file qgspallabeling.h.
bool QgsPalLayerSettings::labelPerPart |
Definition at line 515 of file qgspallabeling.h.
QString QgsPalLayerSettings::leftDirectionSymbol |
Definition at line 393 of file qgspallabeling.h.
bool QgsPalLayerSettings::limitNumLabels |
Definition at line 518 of file qgspallabeling.h.
double QgsPalLayerSettings::maxCurvedCharAngleIn |
Definition at line 497 of file qgspallabeling.h.
double QgsPalLayerSettings::maxCurvedCharAngleOut |
Definition at line 498 of file qgspallabeling.h.
int QgsPalLayerSettings::maxNumLabels |
Definition at line 519 of file qgspallabeling.h.
QgsFeature* QgsPalLayerSettings::mCurFeat |
Definition at line 654 of file qgspallabeling.h.
QgsFields QgsPalLayerSettings::mCurFields |
Definition at line 655 of file qgspallabeling.h.
bool QgsPalLayerSettings::mergeLines |
Definition at line 516 of file qgspallabeling.h.
int QgsPalLayerSettings::mFeatsRegPal |
Definition at line 665 of file qgspallabeling.h.
int QgsPalLayerSettings::mFeatsSendingToPal |
Definition at line 664 of file qgspallabeling.h.
int QgsPalLayerSettings::mFeaturesToLabel |
Definition at line 663 of file qgspallabeling.h.
double QgsPalLayerSettings::minFeatureSize |
Definition at line 521 of file qgspallabeling.h.
QString QgsPalLayerSettings::mTextFontFamily |
Definition at line 667 of file qgspallabeling.h.
bool QgsPalLayerSettings::mTextFontFound |
Definition at line 668 of file qgspallabeling.h.
MultiLineAlign QgsPalLayerSettings::multilineAlign |
Definition at line 387 of file qgspallabeling.h.
double QgsPalLayerSettings::multilineHeight |
Definition at line 386 of file qgspallabeling.h.
bool QgsPalLayerSettings::obstacle |
Definition at line 522 of file qgspallabeling.h.
double QgsPalLayerSettings::obstacleFactor |
Obstacle factor, where 1.0 = default, < 1.0 more likely to be covered by labels,
1.0 less likely to be covered
Definition at line 527 of file qgspallabeling.h.
ObstacleType QgsPalLayerSettings::obstacleType |
Controls how features act as obstacles for labels.
Definition at line 531 of file qgspallabeling.h.
OffsetType QgsPalLayerSettings::offsetType |
Offset type for layer (only applies in certain placement modes)
Definition at line 480 of file qgspallabeling.h.
DirectionSymbols QgsPalLayerSettings::placeDirectionSymbol |
Definition at line 395 of file qgspallabeling.h.
Placement QgsPalLayerSettings::placement |
Definition at line 460 of file qgspallabeling.h.
unsigned int QgsPalLayerSettings::placementFlags |
Definition at line 461 of file qgspallabeling.h.
bool QgsPalLayerSettings::plusSign |
Definition at line 400 of file qgspallabeling.h.
QVector< PredefinedPointPosition > QgsPalLayerSettings::predefinedPositionOrder |
Ordered list of predefined label positions for points.
Positions earlier in the list will be prioritised over later positions. Only used when the placement is set to QgsPalLayerSettings::OrderedPositionsAroundPoint.
Definition at line 471 of file qgspallabeling.h.
bool QgsPalLayerSettings::preserveRotation |
Definition at line 495 of file qgspallabeling.h.
QColor QgsPalLayerSettings::previewBkgrdColor |
Definition at line 376 of file qgspallabeling.h.
int QgsPalLayerSettings::priority |
Definition at line 500 of file qgspallabeling.h.
QgsPoint QgsPalLayerSettings::ptOne |
Definition at line 661 of file qgspallabeling.h.
QgsPoint QgsPalLayerSettings::ptZero |
Definition at line 660 of file qgspallabeling.h.
QuadrantPosition QgsPalLayerSettings::quadOffset |
Definition at line 488 of file qgspallabeling.h.
double QgsPalLayerSettings::rasterCompressFactor |
Definition at line 538 of file qgspallabeling.h.
double QgsPalLayerSettings::repeatDistance |
Definition at line 482 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::repeatDistanceMapUnitScale |
Definition at line 484 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::repeatDistanceUnit |
Definition at line 483 of file qgspallabeling.h.
bool QgsPalLayerSettings::reverseDirectionSymbol |
Definition at line 396 of file qgspallabeling.h.
QString QgsPalLayerSettings::rightDirectionSymbol |
Definition at line 394 of file qgspallabeling.h.
int QgsPalLayerSettings::scaleMax |
Definition at line 506 of file qgspallabeling.h.
int QgsPalLayerSettings::scaleMin |
Definition at line 505 of file qgspallabeling.h.
bool QgsPalLayerSettings::scaleVisibility |
Definition at line 504 of file qgspallabeling.h.
QPainter::CompositionMode QgsPalLayerSettings::shadowBlendMode |
Definition at line 456 of file qgspallabeling.h.
QColor QgsPalLayerSettings::shadowColor |
Definition at line 455 of file qgspallabeling.h.
bool QgsPalLayerSettings::shadowDraw |
Definition at line 442 of file qgspallabeling.h.
int QgsPalLayerSettings::shadowOffsetAngle |
Definition at line 444 of file qgspallabeling.h.
double QgsPalLayerSettings::shadowOffsetDist |
Definition at line 445 of file qgspallabeling.h.
bool QgsPalLayerSettings::shadowOffsetGlobal |
Definition at line 448 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shadowOffsetMapUnitScale |
Definition at line 447 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shadowOffsetUnits |
Definition at line 446 of file qgspallabeling.h.
double QgsPalLayerSettings::shadowRadius |
Definition at line 449 of file qgspallabeling.h.
bool QgsPalLayerSettings::shadowRadiusAlphaOnly |
Definition at line 452 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shadowRadiusMapUnitScale |
Definition at line 451 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shadowRadiusUnits |
Definition at line 450 of file qgspallabeling.h.
int QgsPalLayerSettings::shadowScale |
Definition at line 454 of file qgspallabeling.h.
int QgsPalLayerSettings::shadowTransparency |
Definition at line 453 of file qgspallabeling.h.
ShadowType QgsPalLayerSettings::shadowUnder |
Definition at line 443 of file qgspallabeling.h.
QPainter::CompositionMode QgsPalLayerSettings::shapeBlendMode |
Definition at line 432 of file qgspallabeling.h.
QColor QgsPalLayerSettings::shapeBorderColor |
Definition at line 434 of file qgspallabeling.h.
double QgsPalLayerSettings::shapeBorderWidth |
Definition at line 435 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shapeBorderWidthMapUnitScale |
Definition at line 437 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shapeBorderWidthUnits |
Definition at line 436 of file qgspallabeling.h.
bool QgsPalLayerSettings::shapeDraw |
Definition at line 416 of file qgspallabeling.h.
QColor QgsPalLayerSettings::shapeFillColor |
Definition at line 433 of file qgspallabeling.h.
Qt::PenJoinStyle QgsPalLayerSettings::shapeJoinStyle |
Definition at line 438 of file qgspallabeling.h.
QPointF QgsPalLayerSettings::shapeOffset |
Definition at line 425 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shapeOffsetMapUnitScale |
Definition at line 427 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shapeOffsetUnits |
Definition at line 426 of file qgspallabeling.h.
QPointF QgsPalLayerSettings::shapeRadii |
Definition at line 428 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shapeRadiiMapUnitScale |
Definition at line 430 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shapeRadiiUnits |
Definition at line 429 of file qgspallabeling.h.
double QgsPalLayerSettings::shapeRotation |
Definition at line 424 of file qgspallabeling.h.
RotationType QgsPalLayerSettings::shapeRotationType |
Definition at line 423 of file qgspallabeling.h.
QPointF QgsPalLayerSettings::shapeSize |
Definition at line 420 of file qgspallabeling.h.
QgsMapUnitScale QgsPalLayerSettings::shapeSizeMapUnitScale |
Definition at line 422 of file qgspallabeling.h.
SizeType QgsPalLayerSettings::shapeSizeType |
Definition at line 419 of file qgspallabeling.h.
SizeUnit QgsPalLayerSettings::shapeSizeUnits |
Definition at line 421 of file qgspallabeling.h.
QString QgsPalLayerSettings::shapeSVGFile |
Definition at line 418 of file qgspallabeling.h.
int QgsPalLayerSettings::shapeTransparency |
Definition at line 431 of file qgspallabeling.h.
ShapeType QgsPalLayerSettings::shapeType |
Definition at line 417 of file qgspallabeling.h.
bool QgsPalLayerSettings::showingShadowRects |
Definition at line 670 of file qgspallabeling.h.
QgsStringReplacementCollection QgsPalLayerSettings::substitutions |
Substitution collection for automatic text substitution with labels.
Definition at line 379 of file qgspallabeling.h.
QColor QgsPalLayerSettings::textColor |
Definition at line 373 of file qgspallabeling.h.
QFont QgsPalLayerSettings::textFont |
Definition at line 369 of file qgspallabeling.h.
QString QgsPalLayerSettings::textNamedStyle |
Definition at line 370 of file qgspallabeling.h.
int QgsPalLayerSettings::textTransp |
Definition at line 374 of file qgspallabeling.h.
UpsideDownLabels QgsPalLayerSettings::upsidedownLabels |
Definition at line 513 of file qgspallabeling.h.
bool QgsPalLayerSettings::useSubstitutions |
True if substitutions should be applied.
Definition at line 381 of file qgspallabeling.h.
double QgsPalLayerSettings::vectorScaleFactor |
Definition at line 537 of file qgspallabeling.h.
QString QgsPalLayerSettings::wrapChar |
Definition at line 385 of file qgspallabeling.h.
const QgsMapToPixel* QgsPalLayerSettings::xform |
Definition at line 657 of file qgspallabeling.h.
double QgsPalLayerSettings::xOffset |
Definition at line 490 of file qgspallabeling.h.
double QgsPalLayerSettings::yOffset |
Definition at line 491 of file qgspallabeling.h.
double QgsPalLayerSettings::zIndex |
Z-Index of label, where labels with a higher z-index are rendered on top of labels with a lower z-index.
Definition at line 534 of file qgspallabeling.h.