QwtPlotOpenGLCanvas 和 QwtPlotGLCanvas 的基类
更多...
#include <qwt_plot_abstract_canvas.h>
|
| void | replot () |
| | 使绘制缓存失效并重绘画布
|
| |
|
void | draw (QPainter *) |
| | Helper function for the derived plot canvas
|
| |
| QWidget * | canvasWidget () |
| |
| const QWidget * | canvasWidget () const |
| |
| virtual void | drawFocusIndicator (QPainter *) |
| | Draw the focus indication
|
| |
| virtual void | drawBorder (QPainter *) |
| | Draw the border of the canvas
|
| |
|
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
|
| |
◆ PaintAttribute
绘制属性
| 枚举值 |
|---|
| BackingStore | 尽可能重用像素映射缓冲区内容进行双缓冲绘制
|
| ImmediatePaint | 当设置 ImmediatePaint 时,replot() 调用 repaint() 而不是 update()
|
◆ QwtPlotAbstractGLCanvas()
| QwtPlotAbstractGLCanvas::QwtPlotAbstractGLCanvas |
( |
QWidget * |
canvasWidget | ) |
|
|
explicit |
◆ ~QwtPlotAbstractGLCanvas()
| QwtPlotAbstractGLCanvas::~QwtPlotAbstractGLCanvas |
( |
| ) |
|
|
virtual |
◆ frameRect()
| QRect QwtPlotAbstractGLCanvas::frameRect |
( |
| ) |
const |
◆ frameShadow()
| QFrame::Shadow QwtPlotAbstractGLCanvas::frameShadow |
( |
| ) |
const |
◆ frameShape()
| QFrame::Shape QwtPlotAbstractGLCanvas::frameShape |
( |
| ) |
const |
◆ frameStyle()
| int QwtPlotAbstractGLCanvas::frameStyle |
( |
| ) |
const |
◆ frameWidth()
| int QwtPlotAbstractGLCanvas::frameWidth |
( |
| ) |
const |
◆ invalidateBackingStore()
| virtual void QwtPlotAbstractGLCanvas::invalidateBackingStore |
( |
| ) |
|
|
pure virtual |
◆ lineWidth()
| int QwtPlotAbstractGLCanvas::lineWidth |
( |
| ) |
const |
◆ midLineWidth()
| int QwtPlotAbstractGLCanvas::midLineWidth |
( |
| ) |
const |
◆ replot()
| void QwtPlotAbstractGLCanvas::replot |
( |
| ) |
|
|
protected |
◆ setFrameShadow()
| void QwtPlotAbstractGLCanvas::setFrameShadow |
( |
QFrame::Shadow |
shadow | ) |
|
◆ setFrameShape()
| void QwtPlotAbstractGLCanvas::setFrameShape |
( |
QFrame::Shape |
shape | ) |
|
◆ setFrameStyle()
| void QwtPlotAbstractGLCanvas::setFrameStyle |
( |
int |
style | ) |
|
◆ setLineWidth()
| void QwtPlotAbstractGLCanvas::setLineWidth |
( |
int |
width | ) |
|
◆ setMidLineWidth()
| void QwtPlotAbstractGLCanvas::setMidLineWidth |
( |
int |
width | ) |
|
◆ setPaintAttribute()
| void QwtPlotAbstractGLCanvas::setPaintAttribute |
( |
PaintAttribute |
attribute, |
|
|
bool |
on = true |
|
) |
| |
◆ testPaintAttribute()
| bool QwtPlotAbstractGLCanvas::testPaintAttribute |
( |
PaintAttribute |
attribute | ) |
const |
该类的文档由以下文件生成: