Class: QgsStyleExportImportDialog

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

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsStyleExportImportDialog, with the specified parent widget.

Creates a dialog for importing symbols into the given style, or exporting symbols from the style. The mode argument dictates whether the dialog is to be used for exporting or importing symbols.

Methods

actionEvent
changeEvent
childEvent
clearSelection clearSelection deselects all symbols
closeEvent
connectNotify
contextMenuEvent
create
customEvent
deselectSmartgroup deselectSmartgroup deselects all symbols from a smart group
deselectSymbols deselectSymbols deselect symbols by name
deselectTag Deselect the symbols belonging to the given tag
destroy
disconnectNotify
doExportImport
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
eventFilter
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
importTypeChanged
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
receivers
resizeEvent
selectAll selectAll selects all symbols
selectByGroup selectByGroup open select by group dialog
selectSmartgroup selectSmartgroup selects all symbols from a smart group
selectSymbols selectSymbols select symbols by name
selectTag Select the symbols belonging to the given tag
sender
senderSignalIndex
setImportFilePath Sets the initial path to use for importing files, when the dialog is in a Import mode.
sharedPainter
showEvent
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

Attributes

Export
Import
Export = 0
Import = 1
class Mode

Bases: int

actionEvent()
changeEvent()
childEvent()
clearSelection(self)

clearSelection deselects all symbols

closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
deselectSmartgroup(self, groupName: str)

deselectSmartgroup deselects all symbols from a smart group

Parameters:groupName
deselectSymbols(self, symbolNames: Iterable[str])

deselectSymbols deselect symbols by name

Parameters:symbolNames – list of symbol names
deselectTag(self, tagName: str)

Deselect the symbols belonging to the given tag

Parameters:tagName – the name of the group to be deselected
destroy()
disconnectNotify()
doExportImport(self)
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
importTypeChanged(self, int)
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
selectAll(self)

selectAll selects all symbols

selectByGroup(self)

selectByGroup open select by group dialog

selectSmartgroup(self, groupName: str)

selectSmartgroup selects all symbols from a smart group

Parameters:groupName
selectSymbols(self, symbolNames: Iterable[str])

selectSymbols select symbols by name

Parameters:symbolNames – list of symbol names
selectTag(self, tagName: str)

Select the symbols belonging to the given tag

Parameters:tagName – the name of the group to be selected
sender()
senderSignalIndex()
setImportFilePath(self, path: str)

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

New in version 3.6.

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()