Class: QgsColorWheel

A color wheel widget. This widget consists of an outer ring which allows for hue selection, and an inner rotating triangle which allows for saturation and value selection.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsColorWheel

Base classes

QgsColorWidget

A base class for interactive color widgets. Widgets can either allow setting a single component of a color (e.g., the red or green components), or an entire color. The QgsColorWidget also keeps track of any explicitly set hue for the color, so that this information is not lost when the widget is set to a color with an ambiguous hue (e.g., black or white shades).

QWidget

QObject

QPaintDevice

class qgis.gui.QgsColorWheel[source]

Bases: QgsColorWidget

__init__(parent: QWidget | None = None)

Constructs a new color wheel widget.

Parameters:

parent (Optional[QWidget] = None) – parent QWidget for the widget