|
DAWorkbench 0.0.1
DAWorkbench API
|
用于存放绘图元素 更多...
#include <DAFigureElementSelection.h>
Public 类型 | |
| enum | SelectionTypes { SelectNone , SelectPlot , SelectScaleWidget , SelectPlotItem } |
| 选中类型 更多... | |
| enum | SelectionColumns { ColumnName , ColumnVisible , ColumnProperty } |
| 记录选中的列 更多... | |
Public 成员函数 | |
| DAFigureElementSelection (DAFigureWidget *fig, QwtPlot *p, SelectionColumns col) | |
| DAFigureElementSelection (DAFigureWidget *fig, QwtPlot *p, QwtPlotItem *item, SelectionColumns col) | |
| DAFigureElementSelection (DAFigureWidget *fig, QwtPlot *p, QwtScaleWidget *sw, int axis, SelectionColumns col) | |
| bool | isSelectedPlot () const |
| bool | isSelectedScaleWidget () const |
| bool | isSelectedPlotItem () const |
Public 属性 | |
| DAFigureWidget * | figureWidget { nullptr } |
| QwtPlot * | plot { nullptr } |
| QwtPlotItem * | plotItem { nullptr } |
| QwtScaleWidget * | scaleWidget { nullptr } |
| int | axisId |
| SelectionTypes | selectionType { SelectNone } |
| SelectionColumns | selectionColumn { ColumnName } |
用于存放绘图元素
主要用于在绘图窗口选中绘图元素后,能携带各个层级的绘图元素传递给其它窗口
例如选中绘图的一个曲线,可以携带figure窗口,曲线对应的宿主plot窗口,寄生绘图窗口,以及曲线自身的plotitem指针