Class: QgsMapLayerStyleModel¶
A model for display of styles from a
QgsMapLayerStyleManager.
Also allows for renaming of styles.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Constructor
Methods
Returns the model index corresponding to the specified style name. |
- class qgis.gui.QgsMapLayerStyleModel[source]¶
Bases:
QAbstractListModel- __init__(manager: QgsMapLayerStyleManager | None, parent: QObject | None = None)¶
Constructor for QgsMapLayerStyleModel, showing styles from the specified
manager.- Parameters:
manager (QgsMapLayerStyleManager|None)
parent (QObject|None = None)