129    int type() 
const override;
 
  130    QIcon icon() 
const override;
 
  133    QString displayName() 
const override;
 
  134    bool requiresRasterization() 
const override;
 
  135    bool containsAdvancedEffects() 
const override;
 
  140    void adjustBoxSize();
 
  148    void setResizeToContents( 
bool enabled );
 
  154    bool resizeToContents() 
const;
 
  173    void setAutoUpdateModel( 
bool autoUpdate );
 
  180    bool autoUpdateModel() 
const;
 
  186    void setLegendFilterByMapEnabled( 
bool enabled );
 
  199    void setLegendFilterOutAtlas( 
bool doFilter );
 
  205    bool legendFilterOutAtlas() 
const;
 
  211    void setTitle( 
const QString &title );
 
  217    QString title() 
const;
 
  223    Qt::AlignmentFlag titleAlignment() 
const;
 
  229    void setTitleAlignment( Qt::AlignmentFlag alignment );
 
  286    Q_DECL_DEPRECATED 
void setLineSpacing( 
double spacing ) 
SIP_DEPRECATED;
 
  292    double boxSpace() const;
 
  298    void setBoxSpace( 
double space );
 
  304    double columnSpace() const;
 
  310    void setColumnSpace( 
double spacing );
 
  326    Q_DECL_DEPRECATED 
void setFontColor( const QColor &color ) 
SIP_DEPRECATED;
 
  332    double symbolWidth() const;
 
  338    void setSymbolWidth( 
double width );
 
  346    double maximumSymbolSize() const;
 
  356    void setMaximumSymbolSize( 
double size );
 
  364    double minimumSymbolSize() const;
 
  374    void setMinimumSymbolSize( 
double size );
 
  384    void setSymbolAlignment( Qt::AlignmentFlag alignment );
 
  394    Qt::AlignmentFlag symbolAlignment() const;
 
  400    double symbolHeight() const;
 
  406    void setSymbolHeight( 
double height );
 
  412    double wmsLegendWidth() const;
 
  418    void setWmsLegendWidth( 
double width );
 
  424    double wmsLegendHeight() const;
 
  430    void setWmsLegendHeight( 
double height );
 
  436    void setWrapString( const QString &
string );
 
  442    QString wrapString() const;
 
  448    int columnCount() const;
 
  454    void setColumnCount( 
int count );
 
  461    bool splitLayer() const;
 
  468    void setSplitLayer( 
bool enabled );
 
  474    bool equalColumnWidth() const;
 
  480    void setEqualColumnWidth( 
bool equalize );
 
  488    bool drawRasterStroke() const;
 
  497    void setDrawRasterStroke( 
bool enabled );
 
  506    QColor rasterStrokeColor() const;
 
  515    void setRasterStrokeColor( const QColor &color );
 
  524    double rasterStrokeWidth() const;
 
  533    void setRasterStrokeWidth( 
double width );
 
  545    double autoWrapLinesAfter() const;
 
  557    void setAutoWrapLinesAfter( 
double length );
 
  580    void setFilterByMapItems( 
const QList< QgsLayoutItemMap * > &maps );
 
  590    QList< QgsLayoutItemMap * > filterByMapItems() 
const;
 
  599    QString themeName() 
const;
 
  609    void updateFilterByMap( 
bool redraw = 
true );
 
  616    void paint( QPainter *painter, 
const QStyleOptionGraphicsItem *itemStyle, QWidget *pWidget ) 
override;
 
  618    void finalizeRestoreFromXml() 
override;
 
  621    ExportLayerBehavior exportLayerBehavior() 
const override;
 
  623    bool isRefreshing() 
const override;
 
  627    void refresh() 
override;
 
  628    void invalidateCache() 
override;
 
  633    bool writePropertiesToElement( QDomElement &element, QDomDocument &document, 
const QgsReadWriteContext &context ) 
const override;
 
  634    bool readPropertiesFromElement( 
const QDomElement &element, 
const QDomDocument &document, 
const QgsReadWriteContext &context ) 
override;
 
  639    void invalidateCurrentMap();
 
  641    void updateFilterByMapAndRedraw();
 
  645    void mapLayerStyleOverridesChanged();
 
  647    void mapThemeChanged( 
const QString &theme );
 
  651    void onAtlasFeature();
 
  656    void clearLegendCachedData();
 
  666    void setModelStyleOverrides( 
const QMap<QString, QString> &overrides );
 
  668    void ensureModelIsInitialized() 
const;
 
  672    std::unique_ptr< QgsLegendModel > mLegendModel;
 
  673    std::unique_ptr< QgsLayerTree > mCustomLayerTree;
 
  674    bool mDeferLegendModelInitialization = 
true;
 
  679    int mColumnCount = 1;
 
  684    QList< QString > mFilterByMapUuids;
 
  685    QList< QPointer< QgsLayoutItemMap >> mFilterByMapItems;
 
  687    bool mLegendFilterByMap = 
false;
 
  688    bool mLegendFilterByExpression = 
false;
 
  691    bool mFilterOutAtlas = 
false;
 
  694    bool mFilterAskedForUpdate = 
false;
 
  696    void doUpdateFilterByMap();
 
  698    bool mInAtlas = 
false;
 
  701    bool mInitialMapScaleCalculated = 
false;
 
  704    bool mForceResize = 
false;
 
  707    bool mSizeToContents = 
true;
 
 
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
 
Contains settings and helpers relating to a render of a QgsLayoutItem.
 
A container for the context for various read/write operations on objects.