Class: QgsStyleSaveDialog¶
a dialog for setting properties of a newly saved style.

QgsStyleSaveDialog¶
Class Hierarchy¶
Base classes¶
Methods
Returns the destination style database. |
|
Returns |
|
Returns the entered name for the new symbol. |
|
Returns the type of style entity to save. |
|
Sets the default tags for the newly created item. |
|
Returns any tags entered for the new symbol (as a comma separated value list). |
- class qgis.gui.QgsStyleSaveDialog[source]¶
Bases:
QDialog
- __init__(parent: QWidget | None = None, type: QgsStyle.StyleEntity = QgsStyle.SymbolEntity)
Constructor for
QgsSymbolSaveDialog
- Parameters:
parent (Optional[QWidget] = None) – parent widget
type (QgsStyle.StyleEntity = QgsStyle.SymbolEntity) – the
QgsStyle
entity type being saved
- destinationStyle(self) QgsStyle | None [source]¶
Returns the destination style database.
Added in version 3.26.
- Return type:
Optional[QgsStyle]
- isFavorite(self) bool [source]¶
Returns
True
if the favorite is checked for the symbol.- Return type:
bool
- selectedType(self) QgsStyle.StyleEntity [source]¶
Returns the type of style entity to save.
Added in version 3.10.
- Return type: