Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
find_object::RectItem Class Reference

#include <RectItem.h>

Inheritance diagram for find_object::RectItem:
Inheritance graph
[legend]

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.

find_object::RectItem::~RectItem ( )
virtual

Definition at line 46 of file RectItem.cpp.

Member Function Documentation

void find_object::RectItem::focusInEvent ( QFocusEvent *  event)
protectedvirtual

Definition at line 143 of file RectItem.cpp.

void find_object::RectItem::focusOutEvent ( QFocusEvent *  event)
protectedvirtual

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)
protectedvirtual

Definition at line 128 of file RectItem.cpp.

void find_object::RectItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
protectedvirtual

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.

Member Data Documentation

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.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Jun 10 2019 13:21:32