|
DAWorkbench 0.0.1
DAWorkbench API
|
Public 成员函数 | |
| DAChartLegendItemSettingWidget (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 () |
Protected 成员函数 | |
| void | changeEvent (QEvent *e) |
Protected 成员函数 继承自 DA::DAAbstractChartItemSettingWidget | |
| void | setPlot (QwtPlot *plot) |
| 设置plot是为了能感知item是否消除 | |
额外继承的成员函数 | |
Public 槽 继承自 DA::DAAbstractChartItemSettingWidget | |
| virtual void | plotItemAttached (QwtPlotItem *plotItem, bool on) |
Protected 属性 继承自 DA::DAAbstractChartItemSettingWidget | |
| QwtPlotItem * | mPlotItem { nullptr } |
| QPointer< QwtPlot > | mPlot { nullptr } |
|
overridevirtual |