Class: QgsStyleSaveDialog

class qgis.gui.QgsStyleSaveDialog(parent: QWidget = None, type: QgsStyle.StyleEntity = QgsStyle.SymbolEntity)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsSymbolSaveDialog

Parameters
  • parent (QWidget = None) – parent widget

  • type (QgsStyle.StyleEntity = QgsStyle.SymbolEntity) – the QgsStyle entity type being saved

a dialog for setting properties of a newly saved style.

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isFavorite(self) → bool

Returns True if the favorite is checked for the symbol.

Return type

bool

isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
name(self) → str

Returns the entered name for the new symbol.

Return type

str

nativeEvent()
paintEvent()
receivers()
resizeEvent()
selectedType(self) → QgsStyle.StyleEntity

Returns the type of style entity to save.

New in version 3.10.

Return type

QgsStyle.StyleEntity

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

Sets the default tags for the newly created item.

New in version 3.10.

Parameters

tags (str) –

sharedPainter()
showEvent()
tabletEvent()
tags(self) → str

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

Return type

str

timerEvent()
updateMicroFocus()
wheelEvent()