#include <UPlot.h>
|
void | init (qreal dataX, qreal dataY) |
|
UPlotItem is a QGraphicsEllipseItem and can be inherited to do custom behaviors on an hoverEnterEvent() for example.
Definition at line 46 of file UPlot.h.
◆ UPlotItem() [1/2]
UPlotItem::UPlotItem |
( |
qreal |
dataX, |
|
|
qreal |
dataY, |
|
|
qreal |
width = 2 |
|
) |
| |
Constructor 1.
Definition at line 56 of file UPlot.cpp.
◆ UPlotItem() [2/2]
UPlotItem::UPlotItem |
( |
const QPointF & |
data, |
|
|
qreal |
width = 2 |
|
) |
| |
Constructor 2.
Definition at line 66 of file UPlot.cpp.
◆ ~UPlotItem()
UPlotItem::~UPlotItem |
( |
| ) |
|
|
virtual |
◆ data()
const QPointF& UPlotItem::data |
( |
| ) |
const |
|
inline |
◆ focusInEvent()
void UPlotItem::focusInEvent |
( |
QFocusEvent * |
event | ) |
|
|
protectedvirtual |
◆ focusOutEvent()
void UPlotItem::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protectedvirtual |
◆ hoverEnterEvent()
void UPlotItem::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ hoverLeaveEvent()
void UPlotItem::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ init()
void UPlotItem::init |
( |
qreal |
dataX, |
|
|
qreal |
dataY |
|
) |
| |
|
private |
◆ keyReleaseEvent()
void UPlotItem::keyReleaseEvent |
( |
QKeyEvent * |
keyEvent | ) |
|
|
protectedvirtual |
◆ nextItem()
◆ previousItem()
◆ setData()
void UPlotItem::setData |
( |
const QPointF & |
data | ) |
|
◆ setNextItem()
void UPlotItem::setNextItem |
( |
UPlotItem * |
nextItem | ) |
|
◆ setPreviousItem()
void UPlotItem::setPreviousItem |
( |
UPlotItem * |
previousItem | ) |
|
◆ showDescription()
void UPlotItem::showDescription |
( |
bool |
shown | ) |
|
|
protectedvirtual |
◆ _data
◆ _nextItem
◆ _previousItem
◆ _text
QGraphicsTextItem* UPlotItem::_text |
|
private |
◆ _textBackground
QGraphicsRectItem* UPlotItem::_textBackground |
|
private |
The documentation for this class was generated from the following files: