#include <qwt_legend.h>
Public Methods | |
QwtLegendItem () | |
QwtLegendItem (const QString &txt, const QwtSymbol &sym, const QPen &pn, long key) | |
const QPen& | pen () |
const QwtSymbol& | symbol () |
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) |
void | draw (QPainter *p, const QRect &symRect, const QRect& lblRect, int align) |
|
Default Constructor.
|
|
Constructor.
|
|
Draw a legend item.
|