A transparent canvas for QwtPlot
更多...
#include <qwt_plot_transparent_canvas.h>
|
|
virtual void | replot () |
| | Replot the canvas
|
| |
|
|
virtual void | paintEvent (QPaintEvent *event) override |
| | Paint event handler
|
| |
| virtual void | drawBorder (QPainter *painter) override |
| | Draw the border
|
| |
|
virtual QPainterPath | borderPath (const QRect &rect) const |
| | Get the border path
|
| |
| 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
|
| |
A transparent canvas for QwtPlot
QwtPlotTransparentCanvas provides a transparent canvas for QwtPlot that allows the background to show through.
◆ QwtPlotTransparentCanvas()
| QwtPlotTransparentCanvas::QwtPlotTransparentCanvas |
( |
QwtPlot * |
plot = nullptr | ) |
|
|
explicit |
Constructor
- 参数
-
| [in] | plot | Parent plot widget |
◆ drawBorder()
| void QwtPlotTransparentCanvas::drawBorder |
( |
QPainter * |
painter | ) |
|
|
overrideprotectedvirtual |
该类的文档由以下文件生成: