Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

QwtLegendItem Class Reference

A legend item. More...

#include <qwt_legend.h>

List of all members.

Public Methods

 QwtLegendItem ()
 QwtLegendItem (const QString &txt, const QwtSymbol &sym, const QPen &pn, long key)
const QPen& pen ()
const QwtSymbolsymbol ()
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)


Detailed Description

A legend item.

See also:
QwtLegend


Constructor & Destructor Documentation

QwtLegendItem::QwtLegendItem ( )
 

Default Constructor.

QwtLegendItem::QwtLegendItem ( const QString & txt,
const QwtSymbol & sym,
const QPen & pn,
long key )
 

Constructor.

Parameters:
txt   Item text
sym   Item symbol
pen   Pen
key   Unique key for this item


Member Function Documentation

void QwtLegendItem::draw ( QPainter * p,
const QRect & symRect,
const QRect & lblRect,
int align )
 

Draw a legend item.


The documentation for this class was generated from the following files:
Generated at Thu Dec 14 00:27:17 2000 for Qwt User's Guide by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000