Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
find_object::KeypointItem Class Reference

#include <KeypointItem.h>

List of all members.

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_

Detailed Description

Definition at line 38 of file KeypointItem.h.


Constructor & Destructor Documentation

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.

Definition at line 49 of file KeypointItem.cpp.


Member Function Documentation

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.

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.

Definition at line 67 of file KeypointItem.cpp.


Member Data Documentation

Definition at line 60 of file KeypointItem.h.

Definition at line 58 of file KeypointItem.h.

QGraphicsRectItem* find_object::KeypointItem::placeHolder_ [private]

Definition at line 59 of file KeypointItem.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Fri Feb 12 2016 01:18:18