Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rtabmap::LineItem Class Reference

List of all members.

Public Member Functions

 LineItem (float x1, float y1, float x2, float y2, const QString &text=QString(), QGraphicsItem *parent=0)
void setColor (const QColor &color)
virtual ~LineItem ()

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

QGraphicsRectItem * _placeHolder
QString _text
int _width

Detailed Description

Definition at line 47 of file ImageView.cpp.


Constructor & Destructor Documentation

rtabmap::LineItem::LineItem ( float  x1,
float  y1,
float  x2,
float  y2,
const QString &  text = QString(),
QGraphicsItem *  parent = 0 
) [inline]

Definition at line 50 of file ImageView.cpp.

virtual rtabmap::LineItem::~LineItem ( ) [inline, virtual]

Definition at line 59 of file ImageView.cpp.


Member Function Documentation

virtual void rtabmap::LineItem::focusInEvent ( QFocusEvent *  event) [inline, protected, virtual]

Definition at line 93 of file ImageView.cpp.

virtual void rtabmap::LineItem::focusOutEvent ( QFocusEvent *  event) [inline, protected, virtual]

Definition at line 99 of file ImageView.cpp.

void rtabmap::LineItem::hideDescription ( ) [inline, private]

Definition at line 132 of file ImageView.cpp.

virtual void rtabmap::LineItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event) [inline, protected, virtual]

Definition at line 70 of file ImageView.cpp.

virtual void rtabmap::LineItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event) [inline, protected, virtual]

Definition at line 84 of file ImageView.cpp.

void rtabmap::LineItem::setColor ( const QColor &  color)
void rtabmap::LineItem::showDescription ( ) [inline, private]

Definition at line 106 of file ImageView.cpp.


Member Data Documentation

QGraphicsRectItem* rtabmap::LineItem::_placeHolder [private]

Definition at line 143 of file ImageView.cpp.

QString rtabmap::LineItem::_text [private]

Definition at line 142 of file ImageView.cpp.

Definition at line 144 of file ImageView.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:32