QwtAbstractLegend
Abstract base class for legend widgets.
- Provided by: libqwt-doc (Version: 6.1.2-5)
- Source: qwt
- Report a bug
Abstract base class for legend widgets.
#include <qwt_abstract_legend.h>
Inherits QFrame.
Inherited by QwtLegend.
virtual void updateLegend (const QVariant &itemInfo,
const QList< QwtLegendData > &data)=0
Update the entries for a plot item.
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
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
Parameters:
Returns:
Implemented in QwtLegend.
Render the legend into a given rectangle.
Parameters:
See Also:
Implemented in QwtLegend.
Return the extent, that is needed for elements to scroll the legend ( usually scrollbars ),
Parameters:
Returns:
Reimplemented in QwtLegend.
Update the entries for a plot item.
Parameters:
Generated automatically by Doxygen for Qwt User's Guide from the source code.