Abstract base class for legend widgets.
More...
#include <qwt_abstract_legend.h>
Abstract base class for legend widgets.
◆ QwtAbstractLegend()
| QwtAbstractLegend::QwtAbstractLegend |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QwtAbstractLegend()
| QwtAbstractLegend::~QwtAbstractLegend |
( |
| ) |
|
|
virtual |
◆ isEmpty()
| virtual bool QwtAbstractLegend::isEmpty |
( |
| ) |
const |
|
pure virtual |
◆ renderLegend()
| virtual void QwtAbstractLegend::renderLegend |
( |
QPainter * |
painter, |
|
|
const QRectF & |
rect, |
|
|
bool |
fillBackground |
|
) |
| const |
|
pure virtual |
Render the legend into a given rectangle.
Implemented in QwtLegend.
◆ scrollExtent()
| int QwtAbstractLegend::scrollExtent |
( |
Qt::Orientation |
orientation | ) |
const |
|
virtual |
Return the extent needed for scroll elements.
Reimplemented in QwtLegend.
◆ updateLegend
| virtual void QwtAbstractLegend::updateLegend |
( |
const QVariant & |
itemInfo, |
|
|
const QList< QwtLegendData > & |
data |
|
) |
| |
|
pure virtualslot |
Update the entries for a plot item.
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/plot/qwt_abstract_legend.h
- /home/runner/work/QWT/QWT/src/plot/qwt_abstract_legend.cpp