ImFusion SDK 4.3
ColorPickerWidget Class Reference

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

Widget combining a HsvColorPicker2d, an HsvHueSlider, and optionally an OpacitySlider to let the user pick a color. More...

+ Inheritance diagram for ColorPickerWidget:

Detailed Description

Widget combining a HsvColorPicker2d, an HsvHueSlider, and optionally an OpacitySlider to let the user pick a color.

See also
HsvColorPicker2d, HsvHueSlider, OpacitySlider

Signals

void colorChanged (QColor)
 

Public Member Functions

 ColorPickerWidget (QWidget *parent=nullptr)
 
QColor color () const
 Returns the currently selected color.
 
void setColor (const QColor &c)
 Sets current color.
 
bool showsOpacitySlider () const
 Returns the flag whether to show the opacity slider.
 
void showOpacitySlider (bool show)
 Sets the flag whether to show the opacity slider.
 
void showLabels (bool show)
 Shows or hides the widgets' labels.
 
void showNumeric (bool show)
 Sets whether to show numeric values.
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close