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

图例控件的抽象基类 更多...

#include <qwt_abstract_legend.h>

类 QwtAbstractLegend 继承关系图:
QwtLegend

Public 槽

virtual void updateLegend (const QVariant &itemInfo, const QList< QwtLegendData > &data)=0
 更新绘图项的条目
 

Public 成员函数

 QwtAbstractLegend (QWidget *parent=nullptr)
 QwtAbstractLegend 构造函数
 
virtual ~QwtAbstractLegend ()
 QwtAbstractLegend 析构函数
 
virtual void renderLegend (QPainter *painter, const QRectF &rect, bool fillBackground) const =0
 将图例渲染到给定的矩形中
 
virtual bool isEmpty () const =0
 
virtual int scrollExtent (Qt::Orientation) const
 返回滚动元素所需的空间范围
 

详细描述

图例控件的抽象基类

构造及析构函数说明

◆ QwtAbstractLegend()

QwtAbstractLegend::QwtAbstractLegend ( QWidget *  parent = nullptr)
explicit

QwtAbstractLegend 构造函数

◆ ~QwtAbstractLegend()

QwtAbstractLegend::~QwtAbstractLegend ( )
virtual

QwtAbstractLegend 析构函数

成员函数说明

◆ isEmpty()

virtual bool QwtAbstractLegend::isEmpty ( ) const
pure virtual

QwtLegend 内被实现.

◆ renderLegend()

virtual void QwtAbstractLegend::renderLegend ( QPainter *  painter,
const QRectF &  rect,
bool  fillBackground 
) const
pure virtual

将图例渲染到给定的矩形中

QwtLegend 内被实现.

◆ scrollExtent()

int QwtAbstractLegend::scrollExtent ( Qt::Orientation  orientation) const
virtual

返回滚动元素所需的空间范围

QwtLegend 重载.

◆ updateLegend

virtual void QwtAbstractLegend::updateLegend ( const QVariant &  itemInfo,
const QList< QwtLegendData > &  data 
)
pure virtualslot

更新绘图项的条目


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