Class: QgsStyleExportImportDialog

QgsStyleExportImportDialog showing the export mode

QgsStyleExportImportDialog showing the export mode

QgsStyleExportImportDialog showing the import mode

QgsStyleExportImportDialog showing the import mode

Class Hierarchy

Inheritance diagram of qgis.gui.QgsStyleExportImportDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

class qgis.gui.QgsStyleExportImportDialog(style: QgsStyle | None, parent: QWidget | None = None, mode: QgsStyleExportImportDialog.Mode = QgsStyleExportImportDialog.Export)[source]

Bases: QDialog

Export = 0
Import = 1
class Mode

Bases: int

clearSelection(self)[source]

clearSelection deselects all symbols

deselectFavorites(self)[source]

Deselects favorite symbols

Added in version 3.14.

deselectSmartgroup(self, groupName: str | None)[source]

deselectSmartgroup deselects all symbols from a smart group

Parameters:

groupName (Optional[str])

deselectSymbols(self, symbolNames: Iterable[str | None])[source]

deselectSymbols deselect symbols by name

Parameters:

symbolNames (Iterable[Optional[str]]) – list of symbol names

deselectTag(self, tagName: str | None)[source]

Deselect the symbols belonging to the given tag

Parameters:

tagName (Optional[str]) – the name of the group to be deselected

doExportImport(self)[source]
importTypeChanged(self, a0: int)[source]
Parameters:

a0 (int)

selectAll(self)[source]

selectAll selects all symbols

selectByGroup(self)[source]

selectByGroup open select by group dialog

selectFavorites(self)[source]

Selects favorite symbols

Added in version 3.14.

selectSmartgroup(self, groupName: str | None)[source]

selectSmartgroup selects all symbols from a smart group

Parameters:

groupName (Optional[str])

selectSymbols(self, symbolNames: Iterable[str | None])[source]

selectSymbols select symbols by name

Parameters:

symbolNames (Iterable[Optional[str]]) – list of symbol names

selectTag(self, tagName: str | None)[source]

Select the symbols belonging to the given tag

Parameters:

tagName (Optional[str]) – the name of the group to be selected

setImportFilePath(self, path: str | None)[source]

Sets the initial path to use for importing files, when the dialog is in a Import mode.

Added in version 3.6.

Parameters:

path (Optional[str])