#include <color_editor.h>
|
| static void | paintColorBox (QPainter *painter, const QRect &rect, const QColor &color) |
| |
|
| virtual void | paintEvent (QPaintEvent *event) |
| |
| virtual void | resizeEvent (QResizeEvent *event) |
| |
| void | simulateReturnPressed () |
| | Send key events to mimic the "return" key being pressed and released. Useful ending an edit session and sending the data on out. More...
|
| |
Definition at line 39 of file color_editor.h.
| rviz::ColorEditor::ColorEditor |
( |
ColorProperty * |
property = 0, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
| void rviz::ColorEditor::onButtonClick |
( |
| ) |
|
|
protectedvirtualslot |
| 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 61 of file color_editor.cpp.
| void rviz::ColorEditor::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
Call parent version then paint color swatch.
Definition at line 53 of file color_editor.cpp.
| void rviz::ColorEditor::parseText |
( |
| ) |
|
|
slot |
| void rviz::ColorEditor::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
| void rviz::ColorEditor::setColor |
( |
const QColor & |
color | ) |
|
|
slot |
| QColor rviz::ColorEditor::color_ |
|
private |
The documentation for this class was generated from the following files: