所有类型绘图画布的基类
更多...
#include <qwt_plot_abstract_canvas.h>
|
| 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
|
| |
◆ FocusIndicator
焦点指示器
| 枚举值 |
|---|
| NoFocusIndicator | 不绘制焦点指示器
|
| CanvasFocusIndicator | 焦点与整个画布相关。 使用 drawFocusIndicator() 绘制焦点指示器
|
| ItemFocusIndicator | 焦点与画布上的项目(曲线、点等)相关。 由应用程序决定如何显示焦点指示,例如通过高亮。
|
◆ QwtPlotAbstractCanvas()
| QwtPlotAbstractCanvas::QwtPlotAbstractCanvas |
( |
QWidget * |
canvasWidget | ) |
|
|
explicit |
◆ ~QwtPlotAbstractCanvas()
| QwtPlotAbstractCanvas::~QwtPlotAbstractCanvas |
( |
| ) |
|
|
virtual |
◆ borderRadius()
| double QwtPlotAbstractCanvas::borderRadius |
( |
| ) |
const |
◆ canvasBorderPath()
| QPainterPath QwtPlotAbstractCanvas::canvasBorderPath |
( |
const QRect & |
rect | ) |
const |
|
protected |
- 返回
- Path for the canvas border
◆ canvasWidget() [1/2]
| QWidget * QwtPlotAbstractCanvas::canvasWidget |
( |
| ) |
|
|
protected |
◆ canvasWidget() [2/2]
| const QWidget * QwtPlotAbstractCanvas::canvasWidget |
( |
| ) |
const |
|
protected |
◆ drawBorder()
| void QwtPlotAbstractCanvas::drawBorder |
( |
QPainter * |
painter | ) |
|
|
protectedvirtual |
◆ drawFocusIndicator()
| void QwtPlotAbstractCanvas::drawFocusIndicator |
( |
QPainter * |
painter | ) |
|
|
protectedvirtual |
Draw the focus indication
- 参数
-
◆ focusIndicator()
◆ plot() [1/2]
| QwtPlot * QwtPlotAbstractCanvas::plot |
( |
| ) |
|
◆ plot() [2/2]
| const QwtPlot * QwtPlotAbstractCanvas::plot |
( |
| ) |
const |
◆ setBorderRadius()
| void QwtPlotAbstractCanvas::setBorderRadius |
( |
double |
radius | ) |
|
◆ setFocusIndicator()
| void QwtPlotAbstractCanvas::setFocusIndicator |
( |
FocusIndicator |
focusIndicator | ) |
|
该类的文档由以下文件生成: