#include <KeypointItem.h>
Public Member Functions | |
int | id () const |
KeypointItem (int id, qreal x, qreal y, int r, const QString &info, const QColor &color=Qt::green, QGraphicsItem *parent=0) | |
void | setColor (const QColor &color) |
virtual | ~KeypointItem () |
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 | |
int | id_ |
QString | info_ |
QGraphicsRectItem * | placeHolder_ |
Definition at line 38 of file KeypointItem.h.
find_object::KeypointItem::KeypointItem | ( | int | id, |
qreal | x, | ||
qreal | y, | ||
int | r, | ||
const QString & | info, | ||
const QColor & | color = Qt::green , |
||
QGraphicsItem * | parent = 0 |
||
) |
Definition at line 36 of file KeypointItem.cpp.
find_object::KeypointItem::~KeypointItem | ( | ) | [virtual] |
Definition at line 49 of file KeypointItem.cpp.
void find_object::KeypointItem::focusInEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
Definition at line 116 of file KeypointItem.cpp.
void find_object::KeypointItem::focusOutEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
Definition at line 122 of file KeypointItem.cpp.
void find_object::KeypointItem::hideDescription | ( | ) | [private] |
Definition at line 92 of file KeypointItem.cpp.
void find_object::KeypointItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Definition at line 101 of file KeypointItem.cpp.
void find_object::KeypointItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
Definition at line 107 of file KeypointItem.cpp.
int find_object::KeypointItem::id | ( | ) | const [inline] |
Definition at line 45 of file KeypointItem.h.
void find_object::KeypointItem::setColor | ( | const QColor & | color | ) |
Definition at line 53 of file KeypointItem.cpp.
void find_object::KeypointItem::showDescription | ( | ) | [private] |
Definition at line 67 of file KeypointItem.cpp.
int find_object::KeypointItem::id_ [private] |
Definition at line 60 of file KeypointItem.h.
QString find_object::KeypointItem::info_ [private] |
Definition at line 58 of file KeypointItem.h.
QGraphicsRectItem* find_object::KeypointItem::placeHolder_ [private] |
Definition at line 59 of file KeypointItem.h.