Class: QgsStyleSaveDialog

class qgis.gui.QgsStyleSaveDialog

Bases: PyQt5.QtWidgets.QDialog

a dialog for setting properties of a newly saved style.

Added in version 3.0.

QgsStyleSaveDialog(parent: Optional[QWidget] = None, type: QgsStyle.StyleEntity = QgsStyle.SymbolEntity) Constructor for QgsSymbolSaveDialog

Parameters:
actionEvent(self, a0: QActionEvent | None)
changeEvent(self, a0: QEvent | None)
childEvent(self, a0: QChildEvent | None)
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)
destinationStyle(self) QgsStyle | None

Returns the destination style database.

Added in version 3.26.

Return type:

Optional[QgsStyle]

destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, signal: QMetaMethod)
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)
initPainter(self, painter: QPainter | None)
inputMethodEvent(self, a0: QInputMethodEvent | None)
isFavorite(self) bool

Returns True if the favorite is checked for the symbol.

Return type:

bool

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)
name(self) str

Returns the entered name for the new symbol.

Return type:

str

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)
selectedType(self) QgsStyle.StyleEntity

Returns the type of style entity to save.

Added in version 3.10.

Return type:

QgsStyle.StyleEntity

sender(self) QObject | None
senderSignalIndex(self) int
setDefaultTags(self, tags: str | None)

Sets the default tags for the newly created item.

Added in version 3.10.

Parameters:

tags (Optional[str])

sharedPainter(self) QPainter | None
showEvent(self, a0: QShowEvent | None)
tabletEvent(self, a0: QTabletEvent | None)
tags(self) str

Returns any tags entered for the new symbol (as a comma separated value list).

Return type:

str

timerEvent(self, a0: QTimerEvent | None)
updateMicroFocus(self)
wheelEvent(self, a0: QWheelEvent | None)