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 thestyle
. Themode
argument dictates whether the dialog is to be used for exporting or importing symbols.Enums
Methods
clearSelection deselects all symbols
deselectSmartgroup deselects all symbols from a smart group
deselectSymbols deselect symbols by name
Deselect the symbols belonging to the given tag
selectAll selects all symbols
selectByGroup open select by group dialog
selectSmartgroup selects all symbols from a smart group
selectSymbols select symbols by name
Select the symbols belonging to the given tag
Sets the initial
path
to use for importing files, when the dialog is in a Import mode.Signals
Attributes
-
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.
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-