|
OpenHantek
|
A widget for the selection of a color. More...
#include <colorbox.h>
Public Slots | |
| void | setColor (QColor color) |
| Sets the color. More... | |
| void | waitForColor () |
| Wait for the color dialog and apply chosen color. | |
Signals | |
| void | colorChanged (QColor color) |
| The color has been changed. | |
Public Member Functions | |
| ColorBox (QColor color, QWidget *parent=0) | |
| Initializes the widget. More... | |
| ~ColorBox () | |
| Cleans up the widget. | |
| const QColor | getColor () |
| Get the current color. More... | |
A widget for the selection of a color.
| ColorBox::ColorBox | ( | QColor | color, |
| QWidget * | parent = 0 |
||
| ) |
Initializes the widget.
| color | Initial color value. |
| parent | The parent widget. |
| const QColor ColorBox::getColor | ( | ) |
Get the current color.
|
slot |
Sets the color.
| color | The new color. |
1.8.14