Class: QgsSymbolSelectorDialog

class qgis.gui.QgsSymbolSelectorDialog(symbol: QgsSymbol, style: QgsStyle, vl: QgsVectorLayer, parent: QWidget = None, embedded: bool = False)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsSymbolSelectorDialog.

Parameters
actionEvent()
addLayer(self)
advancedMenu(self) → QMenu

Returns menu for “advanced” button - create it if doesn’t exist and show the advanced button

Return type

QMenu

buttonBox(self) → QDialogButtonBox

Returns a reference to the dialog’s button box.

New in version 3.10.

Return type

QDialogButtonBox

changeEvent()
changeLayer(self, layer: QgsSymbolLayer)

alters tree and sets proper widget when Layer Type is changed note: The layer is received from the LayerPropertiesWidget

Parameters

layer (QgsSymbolLayer) –

childEvent()
closeEvent()
connectNotify()
context(self) → QgsSymbolWidgetContext

Returns the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.

See also

setContext()

New in version 3.0.

Return type

QgsSymbolWidgetContext

contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
duplicateLayer(self)

Duplicates the current symbol layer and places the duplicated layer above the current symbol layer

New in version 2.14.

enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent(self, e: QKeyEvent)
Parameters

e (QKeyEvent) –

keyReleaseEvent()
layerChanged(self)
leaveEvent()
lockLayer(self)
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
moveLayerDown(self)
moveLayerUp(self)
nativeEvent()
paintEvent()
receivers()
removeLayer(self)
resizeEvent()
sender()
senderSignalIndex()
setContext(self, context: QgsSymbolWidgetContext)

Sets the context in which the symbol widget is shown, e.g., the associated map canvas and expression contexts.

Parameters

context (QgsSymbolWidgetContext) – symbol widget context

See also

context()

New in version 3.0.

sharedPainter()
showEvent()
symbol(self) → QgsSymbol

Returns the symbol that is currently active in the widget. Can be None.

Return type

QgsSymbol

Returns

The active symbol.

symbolChanged(self)

Slot to update tree when a new symbol from style

symbolModified

symbolModified(self) [signal]

tabletEvent()
timerEvent()
updateLayerPreview(self)
updateMicroFocus()
updatePreview(self)
wheelEvent()