|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
用于在多个绘图控件间同步QwtPlotSeriesDataPicker实例的组管理器 更多...
#include <qwt_plot_series_data_picker_group.h>
类 | |
| class | PrivateData |
Public 槽 | |
| void | onPickerMove (const QPoint &pos) |
| void | onPickerActivated (bool on) |
| void | onPickerDestroy (QObject *obj) |
Public 成员函数 | |
| QwtPlotSeriesDataPickerGroup (QObject *par=nullptr) | |
| Constructor | |
| ~QwtPlotSeriesDataPickerGroup () | |
| Destructor | |
| void | addPicker (QwtPlotSeriesDataPicker *pick) |
| Add a picker to the group | |
| void | removePicker (QwtPlotSeriesDataPicker *pick) |
| Remove a picker from the group | |
| QList< QwtPlotSeriesDataPicker * > | pickers () const |
| Get all pickers in the group | |
| void | setEnabled (bool on) |
| Set enabled state | |
| bool | isEnabled () const |
| Check if enabled | |
用于在多个绘图控件间同步QwtPlotSeriesDataPicker实例的组管理器
| QwtPlotSeriesDataPickerGroup::QwtPlotSeriesDataPickerGroup | ( | QObject * | par = nullptr | ) |
Constructor
构造函数
| void QwtPlotSeriesDataPickerGroup::addPicker | ( | QwtPlotSeriesDataPicker * | pick | ) |
Add a picker to the group
将picker添加到同步组中
| bool QwtPlotSeriesDataPickerGroup::isEnabled | ( | ) | const |
Check if enabled
检查同步是否启用
| QList< QwtPlotSeriesDataPicker * > QwtPlotSeriesDataPickerGroup::pickers | ( | ) | const |
Get all pickers in the group
返回组内当前所有picker的列表
| void QwtPlotSeriesDataPickerGroup::removePicker | ( | QwtPlotSeriesDataPicker * | pick | ) |
Remove a picker from the group
从组中移除picker
| void QwtPlotSeriesDataPickerGroup::setEnabled | ( | bool | on | ) |
Set enabled state
设置启用状态