QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt_plot_transparent_canvas.h
1#ifndef QWT_PLOT_TRANSPARENT_CANVAS_H
2#define QWT_PLOT_TRANSPARENT_CANVAS_H
3
4#include "qwt_global.h"
5#include "qwt_plot_abstract_canvas.h"
6#include <qframe.h>
7
21class QWT_EXPORT QwtPlotTransparentCanvas : public QFrame, public QwtPlotAbstractCanvas
22{
23 Q_OBJECT
24public:
34 explicit QwtPlotTransparentCanvas(QwtPlot* plot = nullptr);
45public Q_SLOTS:
55 virtual void replot();
56
57protected:
63 virtual void paintEvent(QPaintEvent* event) override;
69 virtual void drawBorder(QPainter* painter) override;
75 virtual QPainterPath borderPath(const QRect& rect) const;
76};
77
78#endif // QWT_PLOT_TRANSPARENT_CANVAS_H
所有类型绘图画布的基类
Definition qwt_plot_abstract_canvas.h:45
virtual void drawBorder(QPainter *)
Draw the border of the canvas
Definition qwt_plot_abstract_canvas.cpp:364
QwtPlot 的透明画布
Definition qwt_plot_transparent_canvas.h:22
二维绘图部件
Definition qwt_plot.h:138