29 #ifndef RVIZ_COLOR_EDITOR_H 30 #define RVIZ_COLOR_EDITOR_H 47 static void paintColorBox( QPainter* painter,
const QRect& rect,
const QColor& color );
50 void setColor(
const QColor& color );
69 #endif // RVIZ_COLOR_EDITOR_H virtual void paintEvent(QPaintEvent *event)
virtual void onButtonClick()
virtual void resizeEvent(QResizeEvent *event)
ColorProperty * property_
static void paintColorBox(QPainter *painter, const QRect &rect, const QColor &color)
void setColor(const QColor &color)
ColorEditor(ColorProperty *property=0, QWidget *parent=0)