|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
QwtPolarPlot 的布局类 更多...
#include <qwt_polar_layout.h>
类 | |
| class | LayoutData |
| class | PrivateData |
Public 类型 | |
| enum | Option { IgnoreScrollbars = 0x01 , IgnoreFrames = 0x02 , IgnoreTitle = 0x04 , IgnoreLegend = 0x08 } |
| Options to configure the plot layout engine 更多... | |
Public 成员函数 | |
| QwtPolarLayout () | |
| Constructor | |
| virtual | ~QwtPolarLayout () |
| Destructor | |
| void | setLegendPosition (QwtPolarPlot::LegendPosition pos, double ratio) |
| Set the legend position with ratio | |
| void | setLegendPosition (QwtPolarPlot::LegendPosition pos) |
| Set the legend position | |
| QwtPolarPlot::LegendPosition | legendPosition () const |
| Get the legend position | |
| void | setLegendRatio (double ratio) |
| Set the legend ratio | |
| double | legendRatio () const |
| Get the legend ratio | |
| virtual void | activate (const QwtPolarPlot *, const QRectF &rect, Options options=Options()) |
| Activate the layout | |
| virtual void | invalidate () |
| Invalidate the layout | |
| const QRectF & | titleRect () const |
| Get the title rectangle | |
| const QRectF & | legendRect () const |
| Get the legend rectangle | |
| const QRectF & | canvasRect () const |
| Get the canvas rectangle | |
Protected 成员函数 | |
| QRectF | layoutLegend (Options options, QRectF &) const |
| 查找图例的几何形状 | |
QwtPolarPlot 的布局类
|
explicit |
Constructor
构造函数
|
virtual |
Destructor
析构函数
|
virtual |
Activate the layout
重新计算所有组件的几何形状
| const QRectF & QwtPolarLayout::canvasRect | ( | ) | const |
Get the canvas rectangle
获取画布的几何形状
|
virtual |
Invalidate the layout
使所有组件的几何形状无效
|
protected |
查找图例的几何形状
| QwtPolarPlot::LegendPosition QwtPolarLayout::legendPosition | ( | ) | const |
Get the legend position
获取图例的位置
| double QwtPolarLayout::legendRatio | ( | ) | const |
Get the legend ratio
获取图例在绘图中的相对大小
| const QRectF & QwtPolarLayout::legendRect | ( | ) | const |
Get the legend rectangle
获取图例的几何形状
| void QwtPolarLayout::setLegendPosition | ( | QwtPolarPlot::LegendPosition | pos | ) |
Set the legend position
指定图例的位置
| void QwtPolarLayout::setLegendPosition | ( | QwtPolarPlot::LegendPosition | pos, |
| double | ratio | ||
| ) |
Set the legend position with ratio
指定图例的位置
| void QwtPolarLayout::setLegendRatio | ( | double | ratio | ) |
Set the legend ratio
指定图例在绘图中的相对大小
| const QRectF & QwtPolarLayout::titleRect | ( | ) | const |
Get the title rectangle
获取标题的几何形状