QwtLegendLabel represents a curve on a legend. It displays an curve identifier with an explaining text. The identifier might be a combination of curve symbol and line.
Definition at line 128 of file qwt_legend.h.
Public Member Functions | |
QwtLegendLabel (QWidget *parent=0, const char *name=0) | |
QwtLegendLabel (const QwtSymbol &, const QPen &, const QString &, QWidget *parent=0, const char *name=0) | |
virtual void | setTitle (const QString &) |
virtual QString | title () const |
Protected Member Functions | |
virtual QwtText * | titleText () const |
virtual void | drawContents (QPainter *) |
virtual void | updateItem () |
|
|
|
|
|
References QwtLegendItem::drawIdentifier(). |
|
Set the title of the label
Implements QwtLegendItem. Definition at line 341 of file qwt_legend.cpp. |
|
Implements QwtLegendItem. Definition at line 350 of file qwt_legend.cpp. |
|
Implements QwtLegendItem. Definition at line 359 of file qwt_legend.cpp. References QwtText::makeText(). |
|
Update the item.
Reimplemented from QwtLegendItem. Definition at line 379 of file qwt_legend.cpp. |