15 #ifndef QGSMASKINGWIDGET_H
16 #define QGSMASKINGWIDGET_H
26 #include "ui_qgsmaskingwidgetbase.h"
40 class GUI_EXPORT QgsMaskingWidget:
public QgsPanelWidget,
private Ui::QgsMaskingWidgetBase
45 QgsMaskingWidget( QWidget *parent =
nullptr );
54 bool hasBeenPopulated();
62 void showEvent( QShowEvent * )
override;
69 void onSelectionChanged();
76 QPointer<QgsMessageBarItem> mMessageBarItem;
77 bool mMustPopulate =
false;
94 SymbolLayerVisitor( SymbolLayerCallback callback );
99 void visitSymbol(
const QgsSymbol *symbol,
const QString &leafIdentifier, QVector<int> rootPath );
105 QList<QPair<QgsSymbolLayerId, QList<QgsSymbolLayerReference>>> mMasks;
106 SymbolLayerCallback mCallback;
Represents an item shown within a QgsMessageBar widget.
An interface for classes which can visit style entity (e.g.
virtual bool visitEnter(const QgsStyleEntityVisitorInterface::Node &node)
Called when the visitor starts visiting a node.
virtual bool visit(const QgsStyleEntityVisitorInterface::StyleLeaf &entity)
Called when the visitor will visit a style entity.
We may need stable references to symbol layers, when pointers to symbol layers is not usable (when a ...
Abstract base class for all rendered symbols.
Represents a vector layer which manages a vector based data sets.
Contains information relating to a node (i.e.
Contains information relating to the style entity currently being visited.