#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.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001