Base class for all type of plot canvases .
More...
#include <qwt_plot_abstract_canvas.h>
|
| QWidget * | canvasWidget () |
| |
| const QWidget * | canvasWidget () const |
| |
| virtual void | drawFocusIndicator (QPainter *) |
| | Draw the focus indication.
|
| |
| virtual void | drawBorder (QPainter *) |
| | Draw the border of the canvas.
|
| |
|
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.
|
| |
Base class for all type of plot canvases
.
◆ FocusIndicator
Focus indicator.
| Enumerator |
|---|
| NoFocusIndicator | Don't paint a focus indicator
|
| CanvasFocusIndicator | The focus is related to the complete canvas. Paint the focus indicator using drawFocusIndicator()
|
| ItemFocusIndicator | The focus is related to an item (curve, point, ...) on the canvas. It is up to the application to display a focus indication using e.g. highlighting.
|
◆ QwtPlotAbstractCanvas()
| QwtPlotAbstractCanvas::QwtPlotAbstractCanvas |
( |
QWidget * |
canvasWidget | ) |
|
|
explicit |
◆ ~QwtPlotAbstractCanvas()
| QwtPlotAbstractCanvas::~QwtPlotAbstractCanvas |
( |
| ) |
|
|
virtual |
◆ borderRadius()
| double QwtPlotAbstractCanvas::borderRadius |
( |
| ) |
const |
Get the radius for the corners of the border frame.
◆ canvasBorderPath()
| QPainterPath QwtPlotAbstractCanvas::canvasBorderPath |
( |
const QRect & |
rect | ) |
const |
|
protected |
- Returns
- Path for the canvas border
◆ canvasWidget() [1/2]
| QWidget * QwtPlotAbstractCanvas::canvasWidget |
( |
| ) |
|
|
protected |
◆ canvasWidget() [2/2]
| const QWidget * QwtPlotAbstractCanvas::canvasWidget |
( |
| ) |
const |
|
protected |
◆ drawBorder()
| void QwtPlotAbstractCanvas::drawBorder |
( |
QPainter * |
painter | ) |
|
|
protectedvirtual |
◆ drawFocusIndicator()
| void QwtPlotAbstractCanvas::drawFocusIndicator |
( |
QPainter * |
painter | ) |
|
|
protectedvirtual |
Draw the focus indication.
- Parameters
-
◆ focusIndicator()
◆ plot() [1/2]
| QwtPlot * QwtPlotAbstractCanvas::plot |
( |
| ) |
|
Return parent plot widget.
◆ plot() [2/2]
| const QwtPlot * QwtPlotAbstractCanvas::plot |
( |
| ) |
const |
Return parent plot widget.
◆ setBorderRadius()
| void QwtPlotAbstractCanvas::setBorderRadius |
( |
double |
radius | ) |
|
Set the radius for the corners of the border frame.
◆ setFocusIndicator()
| void QwtPlotAbstractCanvas::setFocusIndicator |
( |
FocusIndicator |
focusIndicator | ) |
|
The documentation for this class was generated from the following files: