DAWorkbench 0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DA::DAChartGridSettingWidget类 参考

grid设置窗口(QwtPlotItem::Rtti_PlotGrid) 更多...

#include <DAChartGridSettingWidget.h>

类 DA::DAChartGridSettingWidget 继承关系图:
DA::DAAbstractChartItemSettingWidget

Public 成员函数

 DAChartGridSettingWidget (QWidget *parent=nullptr)
 
- 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 >
d_cast ()
 快捷转换为别的item
 
template<typename T >
s_cast ()
 快捷转换为别的item
 
virtual void updateUI (QwtPlotItem *item)
 
void replot ()
 

Protected 槽

void onMajorLinePenChanged (const QPen &p)
 
void onMinorLinePenChanged (const QPen &p)
 
virtual void updateUI (QwtPlotItem *item) override
 

Protected 成员函数

void changeEvent (QEvent *e) override
 
void clearUI ()
 
- 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 }
 

详细描述

grid设置窗口(QwtPlotItem::Rtti_PlotGrid)


该类的文档由以下文件生成: