QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Protected Member Functions | List of all members
QwtPlotTransparentCanvas Class Reference

A transparent canvas for QwtPlot. More...

#include <qwt_plot_transparent_canvas.h>

Inheritance diagram for QwtPlotTransparentCanvas:
QwtPlotAbstractCanvas

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 .
 
QwtPlotplot ()
 Return parent plot widget.
 
const QwtPlotplot () 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...
 

Detailed Description

A transparent canvas for QwtPlot.

Constructor & Destructor Documentation

◆ QwtPlotTransparentCanvas()

QwtPlotTransparentCanvas::QwtPlotTransparentCanvas ( QwtPlot plot = nullptr)
explicit

Constructor .

Constructor.

◆ ~QwtPlotTransparentCanvas()

QwtPlotTransparentCanvas::~QwtPlotTransparentCanvas ( )
virtual

Destructor .

Destructor

.

Member Function Documentation

◆ borderPath()

QPainterPath QwtPlotTransparentCanvas::borderPath ( const QRect &  rect) const
protectedvirtual

Get the border path .

◆ drawBorder()

void QwtPlotTransparentCanvas::drawBorder ( QPainter *  painter)
overrideprotectedvirtual

Draw the border .

Reimplemented from QwtPlotAbstractCanvas.

◆ paintEvent()

void QwtPlotTransparentCanvas::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

Paint event handler .

◆ replot

void QwtPlotTransparentCanvas::replot ( )
virtualslot

Replot the canvas .

Replot the canvas

.


The documentation for this class was generated from the following files: