Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
find_object::RectItem Class Reference

#include <RectItem.h>

List of all members.

Signals

void hovered (int)

Public Member Functions

int id () const
 RectItem (int id, const QRectF &rect, QGraphicsItem *parent=0)
void setColor (const QColor &color)
virtual ~RectItem ()

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_
QGraphicsRectItem * placeHolder_

Detailed Description

Definition at line 38 of file RectItem.h.


Constructor & Destructor Documentation

find_object::RectItem::RectItem ( int  id,
const QRectF &  rect,
QGraphicsItem *  parent = 0 
)

Definition at line 36 of file RectItem.cpp.

Definition at line 46 of file RectItem.cpp.


Member Function Documentation

void find_object::RectItem::focusInEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 143 of file RectItem.cpp.

void find_object::RectItem::focusOutEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 149 of file RectItem.cpp.

Definition at line 119 of file RectItem.cpp.

void find_object::RectItem::hovered ( int  ) [signal]
void find_object::RectItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 128 of file RectItem.cpp.

void find_object::RectItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 134 of file RectItem.cpp.

int find_object::RectItem::id ( ) const [inline]

Definition at line 47 of file RectItem.h.

void find_object::RectItem::setColor ( const QColor &  color)

Definition at line 50 of file RectItem.cpp.

Definition at line 64 of file RectItem.cpp.


Member Data Documentation

Definition at line 64 of file RectItem.h.

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

Definition at line 63 of file RectItem.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Aug 27 2015 13:00:34