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 setWidth (int width)
 
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 57 of file ImageView.cpp.

Constructor & Destructor Documentation

◆ LineItem()

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

Definition at line 60 of file ImageView.cpp.

◆ ~LineItem()

virtual rtabmap::LineItem::~LineItem ( )
inlinevirtual

Definition at line 69 of file ImageView.cpp.

Member Function Documentation

◆ focusInEvent()

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

Definition at line 104 of file ImageView.cpp.

◆ focusOutEvent()

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

Definition at line 110 of file ImageView.cpp.

◆ hideDescription()

void rtabmap::LineItem::hideDescription ( )
inlineprivate

Definition at line 150 of file ImageView.cpp.

◆ hoverEnterEvent()

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

Definition at line 81 of file ImageView.cpp.

◆ hoverLeaveEvent()

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

Definition at line 95 of file ImageView.cpp.

◆ setWidth()

void rtabmap::LineItem::setWidth ( int  width)
inline

Definition at line 74 of file ImageView.cpp.

◆ showDescription()

void rtabmap::LineItem::showDescription ( )
inlineprivate

Definition at line 117 of file ImageView.cpp.

Member Data Documentation

◆ _placeHolder

QGraphicsRectItem* rtabmap::LineItem::_placeHolder
private

Definition at line 161 of file ImageView.cpp.

◆ _text

QString rtabmap::LineItem::_text
private

Definition at line 160 of file ImageView.cpp.

◆ _width

int rtabmap::LineItem::_width
private

Definition at line 162 of file ImageView.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:27