QwtLegendItem(3)

NAME
QwtLegendItem - A legend item.

SYNOPSIS

#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)

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.

AUTHOR

Generated automatically by Doxygen for Qwt User's Guide from the source code.