#include <color_editor.h>
|
static void | paintColorBox (QPainter *painter, const QRect &rect, const QColor &color) |
|
Definition at line 38 of file color_editor.h.
◆ ColorEditor()
rviz::ColorEditor::ColorEditor |
( |
ColorProperty * |
property = nullptr , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ onButtonClick
void rviz::ColorEditor::onButtonClick |
( |
| ) |
|
|
overrideprotectedslot |
◆ paintColorBox()
void rviz::ColorEditor::paintColorBox |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
const QColor & |
color |
|
) |
| |
|
static |
Static function to paint just the color box. Paints it in the left end of rect, size rect.height() by rect.height().
Definition at line 58 of file color_editor.cpp.
◆ paintEvent()
void rviz::ColorEditor::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
Call parent version then paint color swatch.
Definition at line 50 of file color_editor.cpp.
◆ parseText
void rviz::ColorEditor::parseText |
( |
| ) |
|
|
slot |
◆ resizeEvent()
void rviz::ColorEditor::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
overrideprotected |
◆ setColor
void rviz::ColorEditor::setColor |
( |
const QColor & |
color | ) |
|
|
slot |
◆ color_
QColor rviz::ColorEditor::color_ |
|
private |
◆ property_
The documentation for this class was generated from the following files:
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:03