Quark
0.1
|
A tool button for selecting a color. More...
#include <ColorButton.h++>
Signals | |
void | colorChanged (const QColor &color) |
Emitted when the selected color changes. More... | |
Public Member Functions | |
ColorButton (QWidget *parent=NULL) | |
Constructor. More... | |
virtual | ~ColorButton () |
Destructor. More... | |
QColor | getColor () const |
Gets the currently selected color. More... | |
void | setColor (const QColor &color) |
Sets the currently selected color. More... | |
A tool button for selecting a color.
When clicked, a color chooser dialog is displayed to allow selection of the color. The button's icon is a color swatch representing the currently selected color.
|
explicit |
Constructor.
|
virtual |
Destructor.
|
signal |
Emitted when the selected color changes.
|
inline |
Gets the currently selected color.
void setColor | ( | const QColor & | color | ) |
Sets the currently selected color.