A widget for the selection of a color.
More...
#include <colorbox.h>
|
| void | setColor (QColor color) |
| | Sets the color.
|
| |
|
void | waitForColor () |
| | Wait for the color dialog and apply chosen color.
|
| |
|
|
void | colorChanged (QColor color) |
| | The color has been changed.
|
| |
|
| | ColorBox (QColor color, QWidget *parent=0) |
| | Initializes the widget.
|
| |
|
| ~ColorBox () |
| | Cleans up the widget.
|
| |
| const QColor | getColor () |
| | Get the current color.
|
| |
A widget for the selection of a color.
◆ ColorBox()
| ColorBox::ColorBox |
( |
QColor | color, |
|
|
QWidget * | parent = 0 ) |
Initializes the widget.
- Parameters
-
| color | Initial color value. |
| parent | The parent widget. |
◆ getColor()
| const QColor ColorBox::getColor |
( |
| ) |
|
Get the current color.
- Returns
- The current color as QColor.
◆ setColor
| void ColorBox::setColor |
( |
QColor | color | ) |
|
|
slot |
Sets the color.
- Parameters
-
The documentation for this class was generated from the following files: