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

changeEvent()
changeLayer(self, layer: QgsSymbolLayer)

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

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.

contextMenuEvent()
create()
currentLayer(self) → QgsSymbolLayer
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)
keyReleaseEvent()
layerChanged(self)
leaveEvent()
loadSymbol(self)
lockLayer(self)
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
moveLayerByOffset(self, offset: int)
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 – symbol widget context

See also

context()

New in version 3.0.

setWidget(self, widget: QWidget)
sharedPainter()
showEvent()
symbol(self) → QgsSymbol

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

Returns:The active symbol.
symbolChanged(self)

Slot to update tree when a new symbol from style

symbolModified

symbolModified(self) [signal]

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