9#ifndef QWT_POLAR_PICKER_H
10#define QWT_POLAR_PICKER_H
12#include "qwt_global.h"
13#include "qwt_picker.h"
16#include <qpainterpath.h>
51 virtual QRect pickRect()
const;
91 virtual void move(
const QPoint&)
override;
93 virtual void append(
const QPoint&)
override;
95 virtual bool end(
bool ok =
true)
override;
98 virtual QPainterPath
pickArea()
const override;
Definition qwt_clipper.h:41
QwtPicker provides selections on a widget
Definition qwt_picker.h:108
DisplayMode
Display mode
Definition qwt_picker.h:163
virtual void move(const QPoint &)
Move the last point of the selection The moved() signal is emitted.
Definition qwt_picker.cpp:1241
virtual void append(const QPoint &)
Append a point to the selection and update rubber band and tracker.
Definition qwt_picker.cpp:1224
virtual QPainterPath pickArea() const
Find the area of the observed widget, where selection might happen
Definition qwt_picker.cpp:1368
RubberBand
Rubber band style
Definition qwt_picker.h:130
virtual QwtText trackerText(const QPoint &pos) const
Return the label for a position
Definition qwt_picker.cpp:485
virtual bool end(bool ok=true)
Close a selection setting the state to inactive.
Definition qwt_picker.cpp:1178
A point in polar coordinates
Definition qwt_point_polar.h:45
Canvas of a QwtPolarPlot
Definition qwt_polar_canvas.h:26
QwtPolarPicker provides selections on a plot canvas
Definition qwt_polar_picker.h:28
void selected(const QwtPointPolar &pos)
A signal emitted in case of selectionFlags() & PointSelection
void moved(const QwtPointPolar &pos)
A signal emitted whenever the last appended point of the selection has been moved
~QwtPolarPicker() override
Destructor
void appended(const QwtPointPolar &pos)
A signal emitted when a point has been appended to the selection
QwtPolarPicker(RubberBand rubberBand, DisplayMode trackerMode, QwtPolarCanvas *)
Constructor with rubber band and tracker mode
void selected(const QVector< QwtPointPolar > &points)
A signal emitting the selected points, at the end of a selection
A plotting widget, displaying a polar coordinate system
Definition qwt_polar_plot.h:46
A class representing a text
Definition qwt_text.h:70