QwtLegendButton 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 99 of file qwt_legend.h.
Public Member Functions | |
QwtLegendButton (QWidget *parent=0, const char *name=0) | |
QwtLegendButton (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 | updateItem () |
virtual void | updateIconset () |
|
Definition at line 216 of file qwt_legend.cpp. |
|
Definition at line 229 of file qwt_legend.cpp. |
|
Set the title of the button
Implements QwtLegendItem. Definition at line 277 of file qwt_legend.cpp. |
|
Implements QwtLegendItem. Definition at line 286 of file qwt_legend.cpp. |
|
Implements QwtLegendItem. Definition at line 295 of file qwt_legend.cpp. References QwtPushButton::alignment(), QwtText::makeText(), and QwtPushButton::usedTextFormat(). |
|
Update the iconset according to the current identifier properties Definition at line 255 of file qwt_legend.cpp. References QwtLegendItem::drawIdentifier(). Referenced by updateItem(). |
|
Update the item.
Reimplemented from QwtLegendItem. Definition at line 247 of file qwt_legend.cpp. References updateIconset(). |