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

QwtPlot 的透明画布 更多...

#include <qwt_plot_transparent_canvas.h>

类 QwtPlotTransparentCanvas 继承关系图:
QwtPlotAbstractCanvas

Public 槽

virtual void replot ()
 重绘画布
 

Public 成员函数

 QwtPlotTransparentCanvas (QwtPlot *plot=nullptr)
 构造函数
 
virtual ~QwtPlotTransparentCanvas ()
 析构函数
 
- Public 成员函数 继承自 QwtPlotAbstractCanvas
 QwtPlotAbstractCanvas (QWidget *canvasWidget)
 构造函数
 
virtual ~QwtPlotAbstractCanvas ()
 析构函数
 
QwtPlotplot ()
 返回父绘图部件
 
const QwtPlotplot () const
 返回父绘图部件
 
void setFocusIndicator (FocusIndicator)
 设置焦点指示器
 
FocusIndicator focusIndicator () const
 获取焦点指示器
 
void setBorderRadius (double)
 设置边框框架角落的半径
 
double borderRadius () const
 获取边框框架角落的半径
 

Protected 成员函数

virtual void paintEvent (QPaintEvent *event) override
 
virtual void drawBorder (QPainter *painter) override
 
virtual QPainterPath borderPath (const QRect &rect) const
 
- Protected 成员函数 继承自 QwtPlotAbstractCanvas
QWidget * canvasWidget ()
 
const QWidget * canvasWidget () const
 
virtual void drawFocusIndicator (QPainter *)
 Draw the focus indication
 
virtual void drawBackground (QPainter *)
 Helper function for the derived plot canvas
 
void fillBackground (QPainter *)
 Helper function for the derived plot canvas
 
void drawCanvas (QPainter *)
 Draw the plot to the canvas
 
void drawStyled (QPainter *, bool)
 Helper function for the derived plot canvas
 
void drawUnstyled (QPainter *)
 Helper function for the derived plot canvas
 
QPainterPath canvasBorderPath (const QRect &rect) const
 
void updateStyleSheetInfo ()
 Update the cached information about the current style sheet
 

额外继承的成员函数

- Public 类型 继承自 QwtPlotAbstractCanvas
enum  FocusIndicator { NoFocusIndicator , CanvasFocusIndicator , ItemFocusIndicator }
 焦点指示器 更多...
 

详细描述

QwtPlot 的透明画布

构造及析构函数说明

◆ QwtPlotTransparentCanvas()

QwtPlotTransparentCanvas::QwtPlotTransparentCanvas ( QwtPlot plot = nullptr)
explicit

构造函数

构造函数

◆ ~QwtPlotTransparentCanvas()

QwtPlotTransparentCanvas::~QwtPlotTransparentCanvas ( )
virtual

析构函数

析构函数

成员函数说明

◆ borderPath()

QPainterPath QwtPlotTransparentCanvas::borderPath ( const QRect &  rect) const
protectedvirtual

◆ drawBorder()

void QwtPlotTransparentCanvas::drawBorder ( QPainter *  painter)
overrideprotectedvirtual

◆ paintEvent()

void QwtPlotTransparentCanvas::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

◆ replot

void QwtPlotTransparentCanvas::replot ( )
virtualslot

重绘画布

重绘画布


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