#include <UPlot.h>
Public Slots | |
void | setOrientation (Qt::Orientation orientation) |
void | setThreshold (float threshold) |
Public Member Functions | |
UPlotCurveThreshold (const QString &name, float thesholdValue, Qt::Orientation orientation=Qt::Horizontal, QObject *parent=0) | |
virtual | ~UPlotCurveThreshold () |
Protected Member Functions | |
virtual bool | isMinMaxValid () const |
virtual void | update (float scaleX, float scaleY, float offsetX, float offsetY, float xDir, float yDir, bool allDataKept) |
Private Attributes | |
Qt::Orientation | _orientation |
Friends | |
class | UPlot |
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 |
||
) |
UPlotCurveThreshold::~UPlotCurveThreshold | ( | ) | [virtual] |
virtual bool UPlotCurveThreshold::isMinMaxValid | ( | ) | const [inline, protected, virtual] |
Reimplemented from UPlotCurve.
void UPlotCurveThreshold::setOrientation | ( | Qt::Orientation | orientation | ) | [slot] |
void UPlotCurveThreshold::setThreshold | ( | float | threshold | ) | [slot] |
void UPlotCurveThreshold::update | ( | float | scaleX, |
float | scaleY, | ||
float | offsetX, | ||
float | offsetY, | ||
float | xDir, | ||
float | yDir, | ||
bool | allDataKept | ||
) | [protected, virtual] |
Reimplemented from UPlotCurve.
friend class UPlot [friend] |
Reimplemented from UPlotCurve.
Qt::Orientation UPlotCurveThreshold::_orientation [private] |