|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A transparent canvas for QwtPlot. More...
#include <qwt_plot_transparent_canvas.h>
Public Slots | |
| virtual void | replot () |
| Replot the canvas . | |
Public Member Functions | |
| QwtPlotTransparentCanvas (QwtPlot *plot=nullptr) | |
| Constructor . | |
| virtual | ~QwtPlotTransparentCanvas () |
| Destructor . | |
Public Member Functions inherited from QwtPlotAbstractCanvas | |
| QwtPlotAbstractCanvas (QWidget *canvasWidget) | |
| Constructor. | |
| virtual | ~QwtPlotAbstractCanvas () |
| Destructor . | |
| QwtPlot * | plot () |
| Return parent plot widget. | |
| const QwtPlot * | plot () const |
| Return parent plot widget. | |
| void | setFocusIndicator (FocusIndicator) |
| Set the focus indicator. | |
| FocusIndicator | focusIndicator () const |
| Get the focus indicator. | |
| void | setBorderRadius (double) |
| Set the radius for the corners of the border frame. | |
| double | borderRadius () const |
| Get the radius for the corners of the border frame. | |
Protected Member Functions | |
| 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 . | |
Protected Member Functions inherited from 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. | |
Additional Inherited Members | |
Public Types inherited from QwtPlotAbstractCanvas | |
| enum | FocusIndicator { NoFocusIndicator , CanvasFocusIndicator , ItemFocusIndicator } |
| Focus indicator. More... | |
A transparent canvas for QwtPlot.
|
explicit |
Constructor .
Constructor.
|
virtual |
Destructor .
Destructor
.
|
protectedvirtual |
Get the border path .
|
overrideprotectedvirtual |
Draw the border .
Reimplemented from QwtPlotAbstractCanvas.
|
overrideprotectedvirtual |
Paint event handler .
|
virtualslot |
Replot the canvas .
Replot the canvas
.