Class: QgsStyleSaveDialog

class qgis.gui.QgsStyleSaveDialog

Bases: PyQt5.QtWidgets.QDialog

a dialog for setting properties of a newly saved style.

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

Parameters:
actionEvent(self, QActionEvent)
changeEvent(self, QEvent)
childEvent(self, QChildEvent)
closeEvent(self, QCloseEvent)
connectNotify(self, QMetaMethod)
contextMenuEvent(self, QContextMenuEvent)
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
customEvent(self, QEvent)
destinationStyle(self) QgsStyle

Returns the destination style database.

New in version 3.26.

Return type:

QgsStyle

destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, QMetaMethod)
dragEnterEvent(self, QDragEnterEvent)
dragLeaveEvent(self, QDragLeaveEvent)
dragMoveEvent(self, QDragMoveEvent)
dropEvent(self, QDropEvent)
enterEvent(self, QEvent)
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
focusInEvent(self, QFocusEvent)
focusNextChild(self) bool
focusNextPrevChild(self, bool) bool
focusOutEvent(self, QFocusEvent)
focusPreviousChild(self) bool
hideEvent(self, QHideEvent)
initPainter(self, QPainter)
inputMethodEvent(self, QInputMethodEvent)
isFavorite(self) bool

Returns True if the favorite is checked for the symbol.

Return type:

bool

isSignalConnected(self, QMetaMethod) bool
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
leaveEvent(self, QEvent)
metric(self, QPaintDevice.PaintDeviceMetric) int
mouseDoubleClickEvent(self, QMouseEvent)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
moveEvent(self, QMoveEvent)
name(self) str

Returns the entered name for the new symbol.

Return type:

str

nativeEvent(self, Union[QByteArray, bytes, bytearray], PyQt5.sip.voidptr) Tuple[bool, int]
paintEvent(self, QPaintEvent)
receivers(self, PYQT_SIGNAL) int
resizeEvent(self, QResizeEvent)
selectedType(self) QgsStyle.StyleEntity

Returns the type of style entity to save.

New in version 3.10.

Return type:

QgsStyle.StyleEntity

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

Sets the default tags for the newly created item.

New in version 3.10.

Parameters:

tags (str) –

sharedPainter(self) QPainter
showEvent(self, QShowEvent)
tabletEvent(self, QTabletEvent)
tags(self) str

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

Return type:

str

timerEvent(self, QTimerEvent)
updateMicroFocus(self)
wheelEvent(self, QWheelEvent)