#include <qwt_legend.h>
Public Methods | |
QwtLegendItem () | |
QwtLegendItem (const QString &txt, const QwtSymbol &sym, const QPen &pn, long key) | |
virtual | ~QwtLegendItem () |
const QPen & | pen () const |
const QwtSymbol & | symbol () const |
const QString & | text () const |
long | key () const |
void | setSymbol (const QwtSymbol &s) |
void | setPen (const QPen &pn) |
void | setKey (long key) |
void | setText (const QString &s) |
virtual void | draw (QPainter *p, const QRect &symRect, const QRect &lblRect, int align) |
|
Default Constructor.
|
|
Constructor.
|
|
Destructor.
|
|
Draw a legend item.
|
|
the item key.
|
|
the item pen.
|
|
set item key.
|
|
set item pen.
|
|
set item symbol.
|
|
set item text.
|
|
the item symbol.
|
|
the item text.
|