- bullseye 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
QwtAbstractLegend(3) | Qwt User's Guide | QwtAbstractLegend(3) |
NAME¶
QwtAbstractLegend - Abstract base class for legend widgets.
SYNOPSIS¶
#include <qwt_abstract_legend.h>
Inherits QFrame.
Inherited by QwtLegend.
Public Slots¶
virtual void updateLegend (const QVariant &itemInfo,
const QList< QwtLegendData > &data)=0
Update the entries for a plot item.
Public Member Functions¶
QwtAbstractLegend (QWidget *parent=NULL)
virtual ~QwtAbstractLegend ()
Destructor. virtual void renderLegend (QPainter *painter, const QRectF
&rect, bool fillBackground) const =0
virtual bool isEmpty () const =0
virtual int scrollExtent (Qt::Orientation) const
Detailed Description¶
Abstract base class for legend widgets.
Legends, that need to be under control of the QwtPlot layout system need to be derived from QwtAbstractLegend.
Note:
See also:
Constructor & Destructor Documentation¶
QwtAbstractLegend::QwtAbstractLegend (QWidget * parent = NULL) [explicit]¶
Constructor
Parameters:
Member Function Documentation¶
virtual bool QwtAbstractLegend::isEmpty () const [pure virtual]¶
Returns:
Implemented in QwtLegend.
virtual void QwtAbstractLegend::renderLegend (QPainter * painter, const QRectF & rect, bool fillBackground) const [pure virtual]¶
Render the legend into a given rectangle.
Parameters:
rect Bounding rectangle
fillBackground When true, fill rect with the widget background
See also:
Implemented in QwtLegend.
int QwtAbstractLegend::scrollExtent (Qt::Orientation orientation) const [virtual]¶
Return the extent, that is needed for elements to scroll the legend ( usually scrollbars ),
Parameters:
Returns:
Reimplemented in QwtLegend.
virtual void QwtAbstractLegend::updateLegend (const QVariant & itemInfo, const QList< QwtLegendData > & data) [pure virtual], [slot]¶
Update the entries for a plot item.
Parameters:
data List of legend entry attributes for the item
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |