#include <UPlot.h>
Public Slots | |
void | setOrientation (Qt::Orientation orientation) |
void | setThreshold (float threshold) |
Public Slots inherited from UPlotCurve | |
void | addValue (UPlotItem *data) |
void | addValue (float y) |
void | addValue (float x, float y) |
void | addValue (const QString &y) |
void | addValues (QVector< UPlotItem * > &data) |
void | addValues (const QVector< float > &xs, const QVector< float > &ys) |
void | addValues (const QVector< float > &ys) |
void | addValues (const QVector< int > &ys) |
void | addValues (const std::vector< float > &ys) |
void | addValues (const std::vector< int > &ys) |
virtual void | clear () |
void | setVisible (bool visible) |
void | setXIncrement (float increment) |
void | setXStart (float val) |
Public Member Functions | |
UPlotCurveThreshold (const QString &name, float thesholdValue, Qt::Orientation orientation=Qt::Horizontal, QObject *parent=0) | |
virtual | ~UPlotCurveThreshold () |
Public Member Functions inherited from UPlotCurve | |
const QBrush & | brush () const |
void | draw (QPainter *painter) |
void | getData (QVector< float > &x, QVector< float > &y) const |
QPointF | getItemData (int index) |
bool | isVisible () const |
int | itemsSize () const |
QString | name () const |
const QPen & | pen () const |
void | setBrush (const QBrush &brush) |
void | setData (QVector< UPlotItem * > &data) |
void | setData (const QVector< float > &x, const QVector< float > &y) |
void | setData (const std::vector< float > &x, const std::vector< float > &y) |
void | setData (const QVector< float > &y) |
void | setData (const std::vector< float > &y) |
void | setPen (const QPen &pen) |
UPlotCurve (const QString &name, QObject *parent=0) | |
UPlotCurve (const QString &name, const QVector< UPlotItem * > data, QObject *parent=0) | |
UPlotCurve (const QString &name, const QVector< float > &x, const QVector< float > &y, QObject *parent=0) | |
virtual | ~UPlotCurve () |
Protected Member Functions | |
virtual bool | isMinMaxValid () const |
virtual void | update (float scaleX, float scaleY, float offsetX, float offsetY, float xDir, float yDir, bool allDataKept) |
Protected Member Functions inherited from UPlotCurve | |
void | _addValue (UPlotItem *data) |
void | attach (UPlot *plot) |
void | detach (UPlot *plot) |
const QVector< float > & | getMinMax () const |
int | removeItem (int index) |
void | updateMinMax () |
Private Attributes | |
Qt::Orientation | _orientation |
Friends | |
class | UPlot |
Additional Inherited Members | |
Signals inherited from UPlotCurve | |
void | dataChanged (const UPlotCurve *) |
Protected Attributes inherited from UPlotCurve | |
QList< QGraphicsItem * > | _items |
UPlot * | _plot |
A special UPlotCurve that shows as a line at the specified value, spanning all the UPlot.
UPlotCurveThreshold::UPlotCurveThreshold | ( | const QString & | name, |
float | thesholdValue, | ||
Qt::Orientation | orientation = Qt::Horizontal , |
||
QObject * | parent = 0 |
||
) |
|
inlineprotectedvirtual |
Reimplemented from UPlotCurve.
|
slot |
|
slot |
|
protectedvirtual |
Reimplemented from UPlotCurve.