QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
qwt_plot_series_data_picker_group.h
1#ifndef QWT_PLOT_SERIES_DATA_PICKER_GROUP_H
2#define QWT_PLOT_SERIES_DATA_PICKER_GROUP_H
3#include <QObject>
4#include "qwt_global.h"
24class QWT_EXPORT QwtPlotSeriesDataPickerGroup : public QObject
25{
26 Q_OBJECT
27 QWT_DECLARE_PRIVATE(QwtPlotSeriesDataPickerGroup)
28public:
30 QwtPlotSeriesDataPickerGroup(QObject* par = nullptr);
34 void addPicker(QwtPlotSeriesDataPicker* pick);
36 void removePicker(QwtPlotSeriesDataPicker* pick);
40 void setEnabled(bool on);
42 bool isEnabled() const;
43
44Q_SIGNALS:
50 void clicked(QwtPlotSeriesDataPicker* picker, const QPoint& pos);
51
57 void doubleClicked(QwtPlotSeriesDataPicker* picker, const QPoint& pos);
58
59public Q_SLOTS:
60 void onPickerMove(const QPoint& pos);
61 void onPickerActivated(bool on);
62 void onPickerDestroy(QObject* obj);
63 void onPickerClicked(QwtPlotSeriesDataPicker* picker, const QPoint& pos);
64 void onPickerDoubleClicked(QwtPlotSeriesDataPicker* picker, const QPoint& pos);
65};
66
67#endif // QWT_PLOT_SERIES_DATA_PICKER_GROUP_H
Definition qwt_raster_data.h:38
Group manager for synchronizing multiple QwtPlotSeriesDataPicker instances across plot widgets.
Definition qwt_plot_series_data_picker_group.h:25
~QwtPlotSeriesDataPickerGroup() override
Destructor.
void doubleClicked(QwtPlotSeriesDataPicker *picker, const QPoint &pos)
Emitted when a picker in the group is double-clicked.
void clicked(QwtPlotSeriesDataPicker *picker, const QPoint &pos)
Emitted when a picker in the group is clicked.
A plot data picker class for displaying current y-values or nearest points.
Definition qwt_plot_series_data_picker.h:21