GradientEditorWidget

An editor for an RgbaGradient: the track, and the color, opacity and position of the selected stop — rendering-revamp §RVG-2.

GradientEditorWidget
GradientEditorWidget
Inherits QWidget

Declared in src/libs/libwidgets/components/GradientEditorWidget.hpp.

Detailed description

The material editor's gradient channels use it (§RVM-9). The order of its rows follows libpaint's gradient editor (paint-workbench §GED-1): the track, then the stop's color, its opacity and its position. The color is ColorInput, whose picker edits the stop's alpha too (§RVM-9); the opacity is the same alpha as a number to drag.

In this section