#include <RectItem.h>
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_ |
Definition at line 38 of file RectItem.h.
find_object::RectItem::RectItem | ( | int | id, |
const QRectF & | rect, | ||
QGraphicsItem * | parent = 0 |
||
) |
Definition at line 36 of file RectItem.cpp.
find_object::RectItem::~RectItem | ( | ) | [virtual] |
Definition at line 46 of file RectItem.cpp.
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.
void find_object::RectItem::hideDescription | ( | ) | [private] |
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.
void find_object::RectItem::showDescription | ( | ) | [private] |
Definition at line 64 of file RectItem.cpp.
int find_object::RectItem::id_ [private] |
Definition at line 64 of file RectItem.h.
QGraphicsRectItem* find_object::RectItem::placeHolder_ [private] |
Definition at line 63 of file RectItem.h.