ImFusion C++ SDK 4.4.0
ImFusion::HsvHueSlider Class Reference

#include <ImFusion/GUI/CoreWidgets/HsvColorPicker.h>

Specialized version of a CompositeSlider that renders the HSV hue color map as background. More...

Inheritance diagram for ImFusion::HsvHueSlider:

Detailed Description

Specialized version of a CompositeSlider that renders the HSV hue color map as background.

Default value range is 0..359 representing the hue angle in the HSV color space.

See also
HsvColorPicker2d, ColorPickerWidget, ColorButton

Public Member Functions

 HsvHueSlider (Qt::Orientation orientation, QWidget *parent=nullptr)
 Create a new HsvHueSlider in the given orientation.
Public Member Functions inherited from ImFusion::CompositeSlider
 CompositeSlider (Qt::Orientation orientation, QWidget *parent=nullptr)

Protected Member Functions

void paintBackground (QPainter &painter) override
Protected Member Functions inherited from ImFusion::CompositeSlider
void paintEvent (QPaintEvent *event) override

Protected Attributes

QLinearGradient m_background

Member Function Documentation

◆ paintBackground()

void ImFusion::HsvHueSlider::paintBackground ( QPainter & painter)
overrideprotectedvirtual

Reimplemented from ImFusion::CompositeSlider.


The documentation for this class was generated from the following file:
  • ImFusion/GUI/CoreWidgets/HsvColorPicker.h
Search Tab / S to search, Esc to close