QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
| Public 类型 | Public 成员函数 | Protected 成员函数 | 所有成员列表
QwtPolarLayout类 参考

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 的布局类

成员枚举类型说明

◆ Option

Options to configure the plot layout engine

枚举值
IgnoreScrollbars 

Ignore the dimension of the scrollbars.

IgnoreFrames 

Ignore all frames.

IgnoreTitle 

Ignore the title.

IgnoreLegend 

Ignore the legend.

构造及析构函数说明

◆ QwtPolarLayout()

QwtPolarLayout::QwtPolarLayout ( )
explicit

Constructor

构造函数

◆ ~QwtPolarLayout()

QwtPolarLayout::~QwtPolarLayout ( )
virtual

Destructor

析构函数

成员函数说明

◆ activate()

void QwtPolarLayout::activate ( const QwtPolarPlot plot,
const QRectF &  boundingRect,
Options  options = Options() 
)
virtual

Activate the layout

重新计算所有组件的几何形状

◆ canvasRect()

const QRectF & QwtPolarLayout::canvasRect ( ) const

Get the canvas rectangle

获取画布的几何形状

◆ invalidate()

void QwtPolarLayout::invalidate ( )
virtual

Invalidate the layout

使所有组件的几何形状无效

◆ layoutLegend()

QRectF QwtPolarLayout::layoutLegend ( Options  options,
QRectF &  rect 
) const
protected

查找图例的几何形状

◆ legendPosition()

QwtPolarPlot::LegendPosition QwtPolarLayout::legendPosition ( ) const

Get the legend position

获取图例的位置

◆ legendRatio()

double QwtPolarLayout::legendRatio ( ) const

Get the legend ratio

获取图例在绘图中的相对大小

◆ legendRect()

const QRectF & QwtPolarLayout::legendRect ( ) const

Get the legend rectangle

获取图例的几何形状

◆ setLegendPosition() [1/2]

void QwtPolarLayout::setLegendPosition ( QwtPolarPlot::LegendPosition  pos)

Set the legend position

指定图例的位置

◆ setLegendPosition() [2/2]

void QwtPolarLayout::setLegendPosition ( QwtPolarPlot::LegendPosition  pos,
double  ratio 
)

Set the legend position with ratio

指定图例的位置

◆ setLegendRatio()

void QwtPolarLayout::setLegendRatio ( double  ratio)

Set the legend ratio

指定图例在绘图中的相对大小

◆ titleRect()

const QRectF & QwtPolarLayout::titleRect ( ) const

Get the title rectangle

获取标题的几何形状


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