Public Member Functions | Protected Member Functions | Private Attributes
UPlotItem Class Reference

#include <UPlot.h>

Inheritance diagram for UPlotItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const QPointF & data () const
UPlotItemnextItem () const
UPlotItempreviousItem () const
void setData (const QPointF &data)
void setNextItem (UPlotItem *nextItem)
void setPreviousItem (UPlotItem *previousItem)
 UPlotItem (qreal dataX, qreal dataY, qreal width=2)
 UPlotItem (const QPointF &data, qreal width=2)
virtual ~UPlotItem ()

Protected Member Functions

virtual void focusInEvent (QFocusEvent *event)
virtual void focusOutEvent (QFocusEvent *event)
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event)
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event)
virtual void keyReleaseEvent (QKeyEvent *keyEvent)
virtual void showDescription (bool shown)

Private Attributes

QPointF _data
UPlotItem_nextItem
UPlotItem_previousItem
QGraphicsTextItem * _text

Detailed Description

UPlotItem is a QGraphicsEllipseItem and can be inherited to do custom behaviors on an hoverEnterEvent() for example.

Definition at line 47 of file UPlot.h.


Constructor & Destructor Documentation

UPlotItem::UPlotItem ( qreal  dataX,
qreal  dataY,
qreal  width = 2 
)

Constructor 1.

Definition at line 53 of file UPlot.cpp.

UPlotItem::UPlotItem ( const QPointF &  data,
qreal  width = 2 
)

Constructor 2.

Definition at line 68 of file UPlot.cpp.

UPlotItem::~UPlotItem ( ) [virtual]

Definition at line 82 of file UPlot.cpp.


Member Function Documentation

const QPointF& UPlotItem::data ( ) const [inline]

Definition at line 67 of file UPlot.h.

void UPlotItem::focusInEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 198 of file UPlot.cpp.

void UPlotItem::focusOutEvent ( QFocusEvent *  event) [protected, virtual]

Definition at line 204 of file UPlot.cpp.

void UPlotItem::hoverEnterEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 175 of file UPlot.cpp.

void UPlotItem::hoverLeaveEvent ( QGraphicsSceneHoverEvent *  event) [protected, virtual]

Definition at line 189 of file UPlot.cpp.

void UPlotItem::keyReleaseEvent ( QKeyEvent *  keyEvent) [protected, virtual]

Definition at line 210 of file UPlot.cpp.

UPlotItem* UPlotItem::nextItem ( ) const [inline]

Definition at line 65 of file UPlot.h.

UPlotItem* UPlotItem::previousItem ( ) const [inline]

Definition at line 66 of file UPlot.h.

void UPlotItem::setData ( const QPointF &  data)

Definition at line 99 of file UPlot.cpp.

void UPlotItem::setNextItem ( UPlotItem nextItem)

Definition at line 104 of file UPlot.cpp.

void UPlotItem::setPreviousItem ( UPlotItem previousItem)

Definition at line 116 of file UPlot.cpp.

void UPlotItem::showDescription ( bool  shown) [protected, virtual]

Reimplemented in rtabmap::PdfPlotItem.

Definition at line 128 of file UPlot.cpp.


Member Data Documentation

QPointF UPlotItem::_data [private]

Definition at line 79 of file UPlot.h.

Definition at line 82 of file UPlot.h.

Definition at line 81 of file UPlot.h.

QGraphicsTextItem* UPlotItem::_text [private]

Reimplemented in rtabmap::PdfPlotItem.

Definition at line 80 of file UPlot.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Aug 27 2015 13:00:34