#include <UPlot.h>
Public Member Functions | |
const QPointF & | data () const |
UPlotItem * | nextItem () const |
UPlotItem * | previousItem () 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 |
UPlotItem is a QGraphicsEllipseItem and can be inherited to do custom behaviors on an hoverEnterEvent() for example.
UPlotItem::UPlotItem | ( | qreal | dataX, |
qreal | dataY, | ||
qreal | width = 2 |
||
) |
UPlotItem::UPlotItem | ( | const QPointF & | data, |
qreal | width = 2 |
||
) |
UPlotItem::~UPlotItem | ( | ) | [virtual] |
const QPointF& UPlotItem::data | ( | ) | const [inline] |
void UPlotItem::focusInEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
void UPlotItem::focusOutEvent | ( | QFocusEvent * | event | ) | [protected, virtual] |
void UPlotItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
void UPlotItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected, virtual] |
void UPlotItem::keyReleaseEvent | ( | QKeyEvent * | keyEvent | ) | [protected, virtual] |
UPlotItem* UPlotItem::nextItem | ( | ) | const [inline] |
UPlotItem* UPlotItem::previousItem | ( | ) | const [inline] |
void UPlotItem::setData | ( | const QPointF & | data | ) |
void UPlotItem::setNextItem | ( | UPlotItem * | nextItem | ) |
void UPlotItem::setPreviousItem | ( | UPlotItem * | previousItem | ) |
void UPlotItem::showDescription | ( | bool | shown | ) | [protected, virtual] |
Reimplemented in rtabmap::PdfPlotItem.
QPointF UPlotItem::_data [private] |
UPlotItem* UPlotItem::_nextItem [private] |
UPlotItem* UPlotItem::_previousItem [private] |
QGraphicsTextItem* UPlotItem::_text [private] |
Reimplemented in rtabmap::PdfPlotItem.