Subgroup: other

Class: QgsSymbolsListWidget

class qgis.gui.QgsSymbolsListWidget(symbol: QgsSymbol, style: QgsStyle, menu: QMenu, parent: QWidget, layer: QgsVectorLayer = None)

Bases: PyQt5.QtWidgets.QWidget

Constructor for QgsSymbolsListWidget.

Parameters:
actionEvent()
addSymbolToStyle(self)
changeEvent()
changed

changed(self) [signal]

childEvent()
clipFeaturesToggled(self, checked: bool)
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()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
layer(self) → QgsVectorLayer

Returns the vector layer associated with the widget.

New in version 2.12.

leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
openStyleManager(self)
paintEvent()
populateGroups(self)

Pupulates the groups combo box with available tags and smartgroups

receivers()
resizeEvent()
saveSymbol(self)
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.

setLineWidth(self, width: float)
setMarkerAngle(self, angle: float)
setMarkerSize(self, size: float)
setSymbolColor(self, color: Union[QColor, Qt.GlobalColor, QGradient])
setSymbolFromStyle(self, index: QModelIndex)
sharedPainter()
showEvent()
symbolAddedToStyle(self, name: str, symbol: QgsSymbol)
tabletEvent()
timerEvent()
updateDataDefinedLineWidth(self)
updateDataDefinedMarkerAngle(self)
updateDataDefinedMarkerSize(self)
updateMicroFocus()
wheelEvent()