Class: QgsStyleExportImportDialog¶
- class qgis.gui.QgsStyleExportImportDialog(style: QgsStyle | None, parent: QWidget | None = None, mode: QgsStyleExportImportDialog.Mode = QgsStyleExportImportDialog.Export)¶
Bases:
PyQt5.QtWidgets.QDialog
Constructor for
QgsStyleExportImportDialog
, with the specifiedparent
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.Methods
clearSelection deselects all symbols
Deselects favorite symbols
deselectSmartgroup deselects all symbols from a smart group
deselectSymbols deselect symbols by name
Deselect the symbols belonging to the given tag
- param a0:
selectAll selects all symbols
selectByGroup open select by group dialog
Selects favorite symbols
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(self, a0: QActionEvent | None)¶
- changeEvent(self, a0: QEvent | None)¶
- childEvent(self, a0: QChildEvent | None)¶
- clearSelection(self)¶
clearSelection deselects all symbols
- closeEvent(self, a0: QCloseEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- contextMenuEvent(self, a0: QContextMenuEvent | None)¶
- create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- customEvent(self, a0: QEvent | None)¶
- deselectFavorites(self)¶
Deselects favorite symbols
Added in version 3.14.
- deselectSmartgroup(self, groupName: str | None)¶
deselectSmartgroup deselects all symbols from a smart group
- Parameters:
groupName (Optional[str])
- deselectSymbols(self, symbolNames: Iterable[str | None])¶
deselectSymbols deselect symbols by name
- Parameters:
symbolNames (Iterable[Optional[str]]) – list of symbol names
- deselectTag(self, tagName: str | None)¶
Deselect the symbols belonging to the given tag
- Parameters:
tagName (Optional[str]) – the name of the group to be deselected
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- doExportImport(self)¶
- dragEnterEvent(self, a0: QDragEnterEvent | None)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent | None)¶
- dragMoveEvent(self, a0: QDragMoveEvent | None)¶
- dropEvent(self, a0: QDropEvent | None)¶
- enterEvent(self, a0: QEvent | None)¶
- event(self, a0: QEvent | None) bool ¶
- eventFilter(self, a0: QObject | None, a1: QEvent | None) bool ¶
- focusInEvent(self, a0: QFocusEvent | None)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent | None)¶
- focusPreviousChild(self) bool ¶
- hideEvent(self, a0: QHideEvent | None)¶
- importTypeChanged(self, a0: int)¶
- Parameters:
a0 (int)
- initPainter(self, painter: QPainter | None)¶
- inputMethodEvent(self, a0: QInputMethodEvent | None)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- keyPressEvent(self, a0: QKeyEvent | None)¶
- keyReleaseEvent(self, a0: QKeyEvent | None)¶
- leaveEvent(self, a0: QEvent | None)¶
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- mouseDoubleClickEvent(self, a0: QMouseEvent | None)¶
- mouseMoveEvent(self, a0: QMouseEvent | None)¶
- mousePressEvent(self, a0: QMouseEvent | None)¶
- mouseReleaseEvent(self, a0: QMouseEvent | None)¶
- moveEvent(self, a0: QMoveEvent | None)¶
- nativeEvent(self, eventType: QByteArray | bytes | bytearray, message: PyQt5.sip.voidptr | None)¶
- paintEvent(self, a0: QPaintEvent | None)¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- resizeEvent(self, a0: QResizeEvent | None)¶
- selectAll(self)¶
selectAll selects all symbols
- selectByGroup(self)¶
selectByGroup open select by group dialog
- selectFavorites(self)¶
Selects favorite symbols
Added in version 3.14.
- selectSmartgroup(self, groupName: str | None)¶
selectSmartgroup selects all symbols from a smart group
- Parameters:
groupName (Optional[str])
- selectSymbols(self, symbolNames: Iterable[str | None])¶
selectSymbols select symbols by name
- Parameters:
symbolNames (Iterable[Optional[str]]) – list of symbol names
- selectTag(self, tagName: str | None)¶
Select the symbols belonging to the given tag
- Parameters:
tagName (Optional[str]) – the name of the group to be selected
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- setImportFilePath(self, path: str | None)¶
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])
- showEvent(self, a0: QShowEvent | None)¶
- tabletEvent(self, a0: QTabletEvent | None)¶
- timerEvent(self, a0: QTimerEvent | None)¶
- updateMicroFocus(self)¶
- wheelEvent(self, a0: QWheelEvent | None)¶