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 48 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 51 of file ImageView.cpp.

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

Definition at line 60 of file ImageView.cpp.


Member Function Documentation

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

Definition at line 91 of file ImageView.cpp.

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

Definition at line 97 of file ImageView.cpp.

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

Definition at line 137 of file ImageView.cpp.

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

Definition at line 68 of file ImageView.cpp.

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

Definition at line 82 of file ImageView.cpp.

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

Definition at line 104 of file ImageView.cpp.


Member Data Documentation

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

Definition at line 148 of file ImageView.cpp.

QString rtabmap::LineItem::_text [private]

Definition at line 147 of file ImageView.cpp.

Definition at line 149 of file ImageView.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:41