19 #ifndef RQT_MULTIPLOT_PLOT_CURSOR_H 20 #define RQT_MULTIPLOT_PLOT_CURSOR_H 26 #include <qwt/qwt_plot_picker.h> 32 public QwtPlotPicker {
38 void setActive(
bool active,
const QPointF& position = QPointF(0.0, 0.0));
39 using QwtPlotPicker::isActive;
55 QRect
getTextRect(
const QPointF& point,
const QFont& font)
const;
60 void move(
const QPoint& point);
61 bool end(
bool ok =
true);
QRect getTextRect(const QPointF &point, const QFont &font) const
void updateTrackedPoints()
void drawTrackedPoints(QPainter *painter) const
bool arePointsTracked() const
QwtText trackerTextF(const QPointF &point) const
void plotXAxisScaleDivChanged()
PlotCursor(QwtPlotCanvas *canvas)
bool eventFilter(QObject *object, QEvent *event)
void move(const QPoint &point)
void plotYAxisScaleDivChanged()
void setActive(bool active, const QPointF &position=QPointF(0.0, 0.0))
bool hasMouseControl() const
QVector< TrackedPoint > trackedPoints_
void setCurrentPosition(const QPointF &position)
void currentPositionChanged(const QPointF &position)
void activeChanged(bool active)
void setTrackPoints(bool track)
void drawRubberBand(QPainter *painter) const
const QPointF & getCurrentPosition() const