| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Contains settings relating to clipping a layout map by the current atlas feature. More...
#include <qgslayoutitemmap.h>

Signals | |
| void | changed () | 
| Emitted when the atlas clipping settings are changed.   | |
Public Member Functions | |
| QgsLayoutItemMapAtlasClippingSettings (QgsLayoutItemMap *map=nullptr) | |
| Constructor for QgsLayoutItemMapAtlasClippingSettings, with the specified map parent.   | |
| bool | enabled () const | 
Returns true if the map content should be clipped to the current atlas feature.   | |
| QgsMapClippingRegion::FeatureClippingType | featureClippingType () const | 
| Returns the feature clipping type to apply when clipping to the current atlas feature.   | |
| bool | forceLabelsInsideFeature () const | 
Returns true if labels should only be placed inside the atlas feature geometry.   | |
| QList< QgsMapLayer * > | layersToClip () const | 
| Returns the list of map layers to clip to the atlas feature.   | |
| bool | readXml (const QDomElement &element, const QDomDocument &doc, const QgsReadWriteContext &context) | 
| Sets the setting's state from a DOM document, where element is the DOM node corresponding to a 'LayoutMap' tag.   | |
| bool | restrictToLayers () const | 
Returns true if clipping should be restricted to a subset of layers.   | |
| void | setEnabled (bool enabled) | 
| Sets whether the map content should be clipped to the current atlas feature.   | |
| void | setFeatureClippingType (QgsMapClippingRegion::FeatureClippingType type) | 
| Sets the feature clipping type to apply when clipping to the current atlas feature.   | |
| void | setForceLabelsInsideFeature (bool forceInside) | 
| Sets whether labels should only be placed inside the atlas feature geometry.   | |
| void | setLayersToClip (const QList< QgsMapLayer * > &layers) | 
| Sets the list of map layers to clip to the atlas feature.   | |
| void | setRestrictToLayers (bool enabled) | 
| Sets whether clipping should be restricted to a subset of layers.   | |
| bool | writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const | 
| Stores settings in a DOM element, where element is the DOM element corresponding to a 'LayoutMap' tag.   | |
Contains settings relating to clipping a layout map by the current atlas feature.
Definition at line 41 of file qgslayoutitemmap.h.
| QgsLayoutItemMapAtlasClippingSettings::QgsLayoutItemMapAtlasClippingSettings | ( | QgsLayoutItemMap * | map = nullptr | ) | 
Constructor for QgsLayoutItemMapAtlasClippingSettings, with the specified map parent.
Definition at line 3126 of file qgslayoutitemmap.cpp.
      
  | 
  signal | 
Emitted when the atlas clipping settings are changed.
| bool QgsLayoutItemMapAtlasClippingSettings::enabled | ( | ) | const | 
Returns true if the map content should be clipped to the current atlas feature. 
Definition at line 3137 of file qgslayoutitemmap.cpp.
| QgsMapClippingRegion::FeatureClippingType QgsLayoutItemMapAtlasClippingSettings::featureClippingType | ( | ) | const | 
Returns the feature clipping type to apply when clipping to the current atlas feature.
Definition at line 3151 of file qgslayoutitemmap.cpp.
| bool QgsLayoutItemMapAtlasClippingSettings::forceLabelsInsideFeature | ( | ) | const | 
Returns true if labels should only be placed inside the atlas feature geometry. 
Definition at line 3165 of file qgslayoutitemmap.cpp.
| QList< QgsMapLayer * > QgsLayoutItemMapAtlasClippingSettings::layersToClip | ( | ) | const | 
Returns the list of map layers to clip to the atlas feature.
true.Definition at line 3193 of file qgslayoutitemmap.cpp.
| bool QgsLayoutItemMapAtlasClippingSettings::readXml | ( | const QDomElement & | element, | 
| const QDomDocument & | doc, | ||
| const QgsReadWriteContext & | context | ||
| ) | 
Sets the setting's state from a DOM document, where element is the DOM node corresponding to a 'LayoutMap' tag.
Definition at line 3234 of file qgslayoutitemmap.cpp.
| bool QgsLayoutItemMapAtlasClippingSettings::restrictToLayers | ( | ) | const | 
Returns true if clipping should be restricted to a subset of layers. 
Definition at line 3179 of file qgslayoutitemmap.cpp.
| void QgsLayoutItemMapAtlasClippingSettings::setEnabled | ( | bool | enabled | ) | 
Sets whether the map content should be clipped to the current atlas feature.
Definition at line 3142 of file qgslayoutitemmap.cpp.
| void QgsLayoutItemMapAtlasClippingSettings::setFeatureClippingType | ( | QgsMapClippingRegion::FeatureClippingType | type | ) | 
Sets the feature clipping type to apply when clipping to the current atlas feature.
Definition at line 3156 of file qgslayoutitemmap.cpp.
| void QgsLayoutItemMapAtlasClippingSettings::setForceLabelsInsideFeature | ( | bool | forceInside | ) | 
Sets whether labels should only be placed inside the atlas feature geometry.
Definition at line 3170 of file qgslayoutitemmap.cpp.
| void QgsLayoutItemMapAtlasClippingSettings::setLayersToClip | ( | const QList< QgsMapLayer * > & | layers | ) | 
Sets the list of map layers to clip to the atlas feature.
true.Definition at line 3198 of file qgslayoutitemmap.cpp.
| void QgsLayoutItemMapAtlasClippingSettings::setRestrictToLayers | ( | bool | enabled | ) | 
Sets whether clipping should be restricted to a subset of layers.
Definition at line 3184 of file qgslayoutitemmap.cpp.
| bool QgsLayoutItemMapAtlasClippingSettings::writeXml | ( | QDomElement & | element, | 
| QDomDocument & | document, | ||
| const QgsReadWriteContext & | context | ||
| ) | const | 
Stores settings in a DOM element, where element is the DOM element corresponding to a 'LayoutMap' tag.
Definition at line 3204 of file qgslayoutitemmap.cpp.