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();
58 void showEvent( QShowEvent * )
override;
65 void onSelectionChanged();
72 QPointer<QgsMessageBarItem> mMessageBarItem;
73 bool mMustPopulate =
false;
90 SymbolLayerVisitor( SymbolLayerCallback callback );
95 void visitSymbol(
const QgsSymbol *symbol,
const QString &leafIdentifier, QVector<int> rootPath );
101 QList<QPair<QgsSymbolLayerId, QList<QgsSymbolLayerReference>>> mMasks;
102 SymbolLayerCallback mCallback;