|
DAWorkbench 0.0.1
DAWorkbench API
|
这是一个通用的设置窗口,集成了已有的所有设置窗口 更多...
#include <DAChartCommonItemsSettingWidget.h>
类 | |
| class | PrivateData |
Public 成员函数 | |
| DAChartCommonItemsSettingWidget (QWidget *parent=nullptr) | |
| virtual void | updateUI (QwtPlotItem *item) override |
Public 成员函数 继承自 DA::DAAbstractChartItemSettingWidget | |
| DAAbstractChartItemSettingWidget (QWidget *parent=nullptr) | |
| void | setPlotItem (QwtPlotItem *item) |
| 设置plotitem | |
| QwtPlotItem * | getPlotItem () const |
| setPlotItem之后调用的虚函数 | |
| bool | isHaveItem () const |
| 判断是否有item | |
| bool | checkItemRTTI (QwtPlotItem::RttiValues rtti) const |
| 判断当前item是否是对应的rtti,如果没有item也返回false | |
| QwtPlot * | getPlot () const |
| 获取绘图 | |
| template<typename T > | |
| T | d_cast () |
| 快捷转换为别的item | |
| template<typename T > | |
| T | s_cast () |
| 快捷转换为别的item | |
| void | replot () |
额外继承的成员函数 | |
Public 槽 继承自 DA::DAAbstractChartItemSettingWidget | |
| virtual void | plotItemAttached (QwtPlotItem *plotItem, bool on) |
Protected 成员函数 继承自 DA::DAAbstractChartItemSettingWidget | |
| void | setPlot (QwtPlot *plot) |
| 设置plot是为了能感知item是否消除 | |
Protected 属性 继承自 DA::DAAbstractChartItemSettingWidget | |
| QwtPlotItem * | mPlotItem { nullptr } |
| QPointer< QwtPlot > | mPlot { nullptr } |
这是一个通用的设置窗口,集成了已有的所有设置窗口
|
overridevirtual |
For QwtPlotGrid
For QwtPlotScaleItem
For QwtPlotLegendItem
For QwtPlotMarker
For QwtPlotCurve
For QwtPlotSpectroCurve
For QwtPlotIntervalCurve
For QwtPlotHistogram
For QwtPlotSpectrogram
For QwtPlotGraphicItem, QwtPlotSvgItem
For QwtPlotTradingCurve
For QwtPlotBarChart
For QwtPlotMultiBarChart
For QwtPlotShapeItem
For QwtPlotTextLabel
For QwtPlotZoneItem
For QwtPlotVectorField