Class ColorButton
Defined in File color_button.h
Inheritance Relationships
Base Type
public QPushButton
Class Documentation
-
class ColorButton : public QPushButton
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
Public Slots
-
void setColor(const QColor &color)
-
void setColor(const QColor &color)