曲线设置窗口
更多...
#include <DAChartTradingCurveItemSettingWidget.h>
|
|
| DAChartTradingCurveItemSettingWidget (QWidget *parent=nullptr) |
| |
| virtual void | updateUI (QwtPlotItem *item) override |
| |
| void | applySetting (QwtPlotTradingCurve *item) |
| | 根据ui更新QwtPlotCurve
|
| |
|
Qt::Orientation | getOrientationFromUI () const |
| |
|
void | resetUI () |
| | 重置ui
|
| |
| DAChartPlotItemSettingWidget * | getItemSettingWidget () const |
| | 获取item plot widget
|
| |
|
void | updateSymbolFillBrushFromUI (QwtPlotTradingCurve *c) |
| | 从界面更新数据到symbol brush
|
| |
|
void | updateOrientationFromUI (QwtPlotTradingCurve *c) |
| |
|
| 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 () |
| |
|
|
virtual void | plotItemAttached (QwtPlotItem *plotItem, bool on) |
| |
|
|
virtual void | plotItemAttached (QwtPlotItem *plotItem, bool on) |
| |
| void | setPlot (QwtPlot *plot) |
| | 设置plot是为了能感知item是否消除
|
| |
|
QwtPlotItem * | mPlotItem { nullptr } |
| |
|
QPointer< QwtPlot > | mPlot { nullptr } |
| |
◆ applySetting()
| void DA::DAChartTradingCurveItemSettingWidget::applySetting |
( |
QwtPlotTradingCurve * |
item | ) |
|
◆ getItemSettingWidget()
◆ updateUI()
| void DA::DAChartTradingCurveItemSettingWidget::updateUI |
( |
QwtPlotItem * |
item | ) |
|
|
overridevirtual |
该类的文档由以下文件生成:
- /home/runner/work/data-workbench/data-workbench/src/DAGui/ChartSetting/DAChartTradingCurveItemSettingWidget.h
- /home/runner/work/data-workbench/data-workbench/src/DAGui/ChartSetting/DAChartTradingCurveItemSettingWidget.cpp