Namespaces | |
| detail | |
Classes | |
| class | ColorDialog |
| class | ColorPalette |
| class | ColorPreview |
| class | ColorSelector |
| class | ColorWheel |
| Display an analog widget that allows the selection of a HSV color. More... | |
| class | Swatch |
| A widget drawing a palette. More... | |
Enumerations | |
| enum | MouseStatus { Nothing, DragCircle, DragSquare } |
Functions | |
| QColor | colorFromString (const QString &string, bool alpha=true) |
| Convert a string into a color. More... | |
| QString | stringFromColor (const QColor &color, bool alpha=true) |
| Convert a color into a string. More... | |
Variables | |
| static ColorWheel::DisplayFlags | default_flags = hard_default_flags |
| static const ColorWheel::DisplayFlags | hard_default_flags = ColorWheel::SHAPE_TRIANGLE|ColorWheel::ANGLE_ROTATING|ColorWheel::COLOR_HSV |
| static const double | selector_radius = 6 |
| Enumerator | |
|---|---|
| Nothing | |
| DragCircle | |
| DragSquare | |
Definition at line 35 of file color_wheel.cpp.
| QColor color_widgets::colorFromString | ( | const QString & | string, |
| bool | alpha = true |
||
| ) |
Convert a string into a color.
Supported string formats:
Additional string formats supported only when alpha is true:
Definition at line 40 of file color_names.cpp.
| QString color_widgets::stringFromColor | ( | const QColor & | color, |
| bool | alpha = true |
||
| ) |
Convert a color into a string.
Format:
Definition at line 33 of file color_names.cpp.
|
static |
Definition at line 43 of file color_wheel.cpp.
|
static |
Definition at line 42 of file color_wheel.cpp.
|
static |
Definition at line 44 of file color_wheel.cpp.