16 #ifndef QGSSTYLEITEMSLISTWIDGET_H 17 #define QGSSTYLEITEMSLISTWIDGET_H 19 #include "ui_qgsstyleitemslistwidgetbase.h" 36 explicit QgsReadOnlyStyleModel(
QgsStyleModel *sourceModel, QObject *parent =
nullptr );
37 explicit QgsReadOnlyStyleModel(
QgsStyle *style, QObject *parent =
nullptr );
38 Qt::ItemFlags flags(
const QModelIndex &index )
const override;
39 QVariant data(
const QModelIndex &index,
int role )
const override;
82 void setEntityTypes(
const QList<QgsStyle::StyleEntity> &filters )
SIP_SKIP;
102 QString currentTagFilter()
const;
111 QMenu *advancedMenu();
122 void setAdvancedMenu( QMenu *menu );
131 void showAdvancedButton(
bool enabled );
138 QString currentItemName()
const;
148 void showEvent( QShowEvent *event )
override;
169 void groupsCombo_currentIndexChanged(
int index );
170 void updateModelFilters();
171 void onSelectionChanged(
const QModelIndex &index );
172 void populateGroups();
173 void openStyleManager();
178 bool mUpdatingGroups =
false;
181 #endif //QGSSTYLEITEMSLISTWIDGET_H A QAbstractItemModel subclass for showing symbol and color ramp entities contained within a QgsStyle ...
StyleEntity
Enum for Entities involved in a style.
SymbolType
Type of the symbol.
A QSortFilterProxyModel subclass for showing filtered symbol and color ramps entries from a QgsStyle ...
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.