Class: QgsColorSliderWidget

class qgis.gui.QgsColorSliderWidget(parent: QWidget = None, component: QgsColorWidget.ColorComponent = QgsColorWidget.Red)

Bases: qgis._gui.QgsColorWidget

Construct a new color slider widget.

Parameters:
  • parent – parent QWidget for the widget
  • component – color component which is controlled by the slider

A composite horizontal color ramp widget and associated spinbox for manual value entry.

actionEvent()
alterColor()
changeEvent()
childEvent()
closeEvent()
componentRange()
componentValue()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
hue()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setColor(self, color: Union[QColor, Qt.GlobalColor, QGradient], emitSignals: bool = False)
setComponent(self, component: QgsColorWidget.ColorComponent)
setComponentValue(self, value: int)
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
transparentBackground()
updateMicroFocus()
wheelEvent()