#include <customtracker.h>
Public Types | |
enum | Parameter { LINE_ONLY, VALUE, VALUE_NAME } |
Public Slots | |
void | redraw () |
void | setEnabled (bool enable) |
void | setParameter (Parameter par) |
void | setPosition (const QPointF &pos) |
Public Member Functions | |
QPointF | actualPosition () const |
CurveTracker (QwtPlot *) | |
Private Member Functions | |
QLineF | curveLineAt (const QwtPlotCurve *, double x) const |
QPoint | invTransform (QPointF) |
QPointF | transform (QPoint) |
Private Attributes | |
QwtPlotMarker * | _line_marker |
std::vector< QwtPlotMarker * > | _marker |
Parameter | _param |
QwtPlot * | _plot |
QPointF | _prev_trackerpoint |
QwtPlotMarker * | _text_marker |
bool | _visible |
Definition at line 12 of file customtracker.h.
Enumerator | |
---|---|
LINE_ONLY | |
VALUE | |
VALUE_NAME |
Definition at line 20 of file customtracker.h.
|
explicit |
Definition at line 20 of file customtracker.cpp.
QPointF CurveTracker::actualPosition | ( | ) | const |
Definition at line 38 of file customtracker.cpp.
|
private |
Definition at line 219 of file customtracker.cpp.
|
private |
|
inlineslot |
Definition at line 34 of file customtracker.h.
|
slot |
Definition at line 53 of file customtracker.cpp.
|
slot |
Definition at line 43 of file customtracker.cpp.
|
slot |
Definition at line 65 of file customtracker.cpp.
|
private |
|
private |
Definition at line 48 of file customtracker.h.
|
private |
Definition at line 47 of file customtracker.h.
|
private |
Definition at line 51 of file customtracker.h.
|
private |
Definition at line 50 of file customtracker.h.
|
private |
Definition at line 46 of file customtracker.h.
|
private |
Definition at line 49 of file customtracker.h.
|
private |
Definition at line 52 of file customtracker.h.