#include <color_button.h>
Public Slots | |
void | setColor (const QColor &color) |
Signals | |
void | colorChanged (const QColor &color) |
void | colorEdited (const QColor &color) |
Public Member Functions | |
const QColor & | color () const |
ColorButton (QWidget *parent=0) | |
Private Slots | |
void | handleClicked () |
Private Attributes | |
QColor | color_ |
The ColorButton widget provides a color display that the user can click on to select a new color. You can use this widget in Qt Designer by placing a QPushButton and promoting it to a custom widget. You have to setup the promoted widget once in each .ui file:
Base class name: QPushButton Promoted class name: mapviz::ColorButton Include file name: mapviz/color_button.h Global Include: True
Definition at line 49 of file color_button.h.
mapviz::ColorButton::ColorButton | ( | QWidget * | parent = 0 | ) |
Definition at line 36 of file color_button.cpp.
|
inline |
Definition at line 58 of file color_button.h.
|
signal |
|
signal |
|
privateslot |
Definition at line 64 of file color_button.cpp.
|
slot |
Definition at line 45 of file color_button.cpp.
|
private |
Definition at line 51 of file color_button.h.