Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtabmap::LineItem Class Reference
Inheritance diagram for rtabmap::LineItem:
Inheritance graph
[legend]

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 ( )
inlinevirtual

Definition at line 60 of file ImageView.cpp.

Member Function Documentation

virtual void rtabmap::LineItem::focusInEvent ( QFocusEvent *  event)
inlineprotectedvirtual

Definition at line 91 of file ImageView.cpp.

virtual void rtabmap::LineItem::focusOutEvent ( QFocusEvent *  event)
inlineprotectedvirtual

Definition at line 97 of file ImageView.cpp.

void rtabmap::LineItem::hideDescription ( )
inlineprivate

Definition at line 137 of file ImageView.cpp.

virtual void rtabmap::LineItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event)
inlineprotectedvirtual

Definition at line 68 of file ImageView.cpp.

virtual void rtabmap::LineItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event)
inlineprotectedvirtual

Definition at line 82 of file ImageView.cpp.

void rtabmap::LineItem::setColor ( const QColor &  color)
void rtabmap::LineItem::showDescription ( )
inlineprivate

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.

int rtabmap::LineItem::_width
private

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 Wed Jun 5 2019 22:43:43