|
QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
|
图例布局计算数据 更多...
#include <qwt_plot_layout_engine.h>
Public 成员函数 | |
| void | init (const QwtAbstractLegend *legend) |
| 从QwtAbstractLegend初始化图例数据 | |
| QSize | legendHint (const QwtAbstractLegend *legend, const QRectF &rect) const |
| 计算给定矩形的优化图例尺寸 | |
Public 属性 | |
| int | frameWidth |
| int | hScrollExtent |
| int | vScrollExtent |
| QSize | hint |
图例布局计算数据
| void QwtPlotLayoutEngine::LayoutData::LegendData::init | ( | const QwtAbstractLegend * | legend | ) |
从QwtAbstractLegend初始化图例数据
| QSize QwtPlotLayoutEngine::LayoutData::LegendData::legendHint | ( | const QwtAbstractLegend * | legend, |
| const QRectF & | rect | ||
| ) | const |
计算给定矩形的优化图例尺寸