QWT 7.0.1
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Protected Member Functions | List of all members
QwtPlotTransparentCanvas Class Reference
Inheritance diagram for QwtPlotTransparentCanvas:
QwtPlotAbstractCanvas

Public Slots

virtual void replot ()
 

Public Member Functions

 QwtPlotTransparentCanvas (QwtPlot *plot=nullptr)
 
- 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
 
void setBorderRadius (double)
 Set the radius for the corners of the border frame.
 
double borderRadius () const
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) override
 
virtual void drawBorder (QPainter *painter) override
 Draw the border of the canvas.
 
virtual QPainterPath borderPath (const QRect &rect) const
 
- 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 The default setting is NoFocusIndicator. More...
 

Member Function Documentation

◆ drawBorder()

void QwtPlotTransparentCanvas::drawBorder ( QPainter *  painter)
overrideprotectedvirtual

Draw the border of the canvas.

Parameters
painterPainter

Reimplemented from QwtPlotAbstractCanvas.


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