Public Member Functions | |
LineItem (float x1, float y1, float x2, float y2, const QString &text=QString(), QGraphicsItem *parent=0) | |
void | setColor (const QColor &color) |
virtual | ~LineItem () |
Protected Member Functions | |
virtual void | focusInEvent (QFocusEvent *event) |
virtual void | focusOutEvent (QFocusEvent *event) |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
Private Member Functions | |
void | hideDescription () |
void | showDescription () |
Private Attributes | |
QGraphicsRectItem * | _placeHolder |
QString | _text |
int | _width |
Definition at line 48 of file ImageView.cpp.
rtabmap::LineItem::LineItem | ( | float | x1, |
float | y1, | ||
float | x2, | ||
float | y2, | ||
const QString & | text = QString() , |
||
QGraphicsItem * | parent = 0 |
||
) | [inline] |
Definition at line 51 of file ImageView.cpp.
virtual rtabmap::LineItem::~LineItem | ( | ) | [inline, virtual] |
Definition at line 60 of file ImageView.cpp.
virtual void rtabmap::LineItem::focusInEvent | ( | QFocusEvent * | event | ) | [inline, protected, virtual] |
Definition at line 91 of file ImageView.cpp.
virtual void rtabmap::LineItem::focusOutEvent | ( | QFocusEvent * | event | ) | [inline, protected, virtual] |
Definition at line 97 of file ImageView.cpp.
void rtabmap::LineItem::hideDescription | ( | ) | [inline, private] |
Definition at line 137 of file ImageView.cpp.
virtual void rtabmap::LineItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [inline, protected, virtual] |
Definition at line 68 of file ImageView.cpp.
virtual void rtabmap::LineItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [inline, protected, virtual] |
Definition at line 82 of file ImageView.cpp.
void rtabmap::LineItem::setColor | ( | const QColor & | color | ) |
void rtabmap::LineItem::showDescription | ( | ) | [inline, private] |
Definition at line 104 of file ImageView.cpp.
QGraphicsRectItem* rtabmap::LineItem::_placeHolder [private] |
Definition at line 148 of file ImageView.cpp.
QString rtabmap::LineItem::_text [private] |
Definition at line 147 of file ImageView.cpp.
int rtabmap::LineItem::_width [private] |
Definition at line 149 of file ImageView.cpp.