|
| QgsStyleProxyModel (QgsCombinedStyleModel *model, QObject *parent=nullptr) |
| Constructor for QgsStyleProxyModel, using the specified source combined model and parent object. More...
|
|
| QgsStyleProxyModel (QgsStyle *style, QObject *parent=nullptr) |
| Constructor for QgsStyleProxyModel, for the specified style and parent object. More...
|
|
| QgsStyleProxyModel (QgsStyleModel *model, QObject *parent=nullptr) |
| Constructor for QgsStyleProxyModel, using the specified source model and parent object. More...
|
|
void | addDesiredIconSize (QSize size) |
| Adds an additional icon size to generate for Qt::DecorationRole data. More...
|
|
QgsStyle::StyleEntity | entityFilter () const |
| Returns the style entity type filter. More...
|
|
bool | entityFilterEnabled () const |
| Returns true if filtering by entity type is enabled. More...
|
|
bool | favoritesOnly () const |
| Returns true if the model is showing only favorited entities. More...
|
|
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
|
QString | filterString () const |
| Returns the current filter string, if set. More...
|
|
QgsWkbTypes::GeometryType | layerType () const |
| Returns the layer type filter, or QgsWkbTypes::UnknownGeometry if no layer type filter is present. More...
|
|
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
|
void | setEntityFilter (QgsStyle::StyleEntity filter) |
| Sets the style entity type filter. More...
|
|
void | setEntityFilterEnabled (bool enabled) |
| Sets whether filtering by entity type is enabled. More...
|
|
void | setEntityFilters (const QList< QgsStyle::StyleEntity > &filters) |
| Sets the style entity type filters. More...
|
|
void | setFavoritesOnly (bool favoritesOnly) |
| Sets whether the model should show only favorited entities. More...
|
|
void | setLayerType (QgsWkbTypes::GeometryType type) |
| Sets the layer type filter. More...
|
|
void | setSmartGroupId (int id) |
| Sets a smart group id to filter style entities by. More...
|
|
void | setSymbolType (Qgis::SymbolType type) |
| Sets the symbol type filter. More...
|
|
void | setSymbolTypeFilterEnabled (bool enabled) |
| Sets whether filtering by symbol type is enabled. More...
|
|
void | setTagId (int id) |
| Sets a tag id to filter style entities by. More...
|
|
void | setTagString (const QString &tag) |
| Sets a tag to filter style entities by. More...
|
|
int | smartGroupId () const |
| Returns the smart group id used to filter style entities by. More...
|
|
Qgis::SymbolType | symbolType () const |
| Returns the symbol type filter. More...
|
|
bool | symbolTypeFilterEnabled () const |
| Returns true if filtering by symbol type is enabled. More...
|
|
int | tagId () const |
| Returns the tag id used to filter style entities by. More...
|
|
QString | tagString () const |
| Returns the tag string used to filter style entities by. More...
|
|