QwtLegendLabel(3) | Qwt User's Guide | QwtLegendLabel(3) |
QwtLegendLabel - A widget representing something on a QwtLegend.
#include <qwt_legend_label.h>
Inherits QwtTextLabel.
void setChecked (bool on)
void clicked ()
Signal, when the legend item has been clicked. void pressed ()
Signal, when the legend item has been pressed. void released ()
Signal, when the legend item has been released. void checked (bool)
Signal, when the legend item has been toggled.
QwtLegendLabel (QWidget *parent=0)
virtual ~QwtLegendLabel ()
Destructor. void setData (const QwtLegendData &)
const QwtLegendData & data () const
void setItemMode (QwtLegendData::Mode)
QwtLegendData::Mode itemMode () const
void setSpacing (int spacing)
Change the spacing between icon and text. int spacing () const
virtual void setText (const QwtText &)
void setIcon (const QPixmap &)
QPixmap icon () const
virtual QSize sizeHint () const
Return a size hint. bool isChecked () const
Return true, if the item is checked.
void setDown (bool)
Set the item being down. bool isDown () const
Return true, if the item is down. virtual void paintEvent (QPaintEvent
*)
Paint event. virtual void mousePressEvent (QMouseEvent *)
Handle mouse press events. virtual void mouseReleaseEvent (QMouseEvent
*)
Handle mouse release events. virtual void keyPressEvent (QKeyEvent *)
Handle key press events. virtual void keyReleaseEvent (QKeyEvent *)
Handle key release events.
A widget representing something on a QwtLegend.
Parameters:
Returns:
See also:
Returns:
See also:
Returns:
See also:
Check/Uncheck a the item
Parameters:
See also:
Set the attributes of the legend label
Parameters:
See also:
Assign the icon
Parameters:
See also:
Set the item mode The default is QwtLegendData::ReadOnly
Parameters:
See also:
Change the spacing between icon and text.
Parameters:
See also:
Set the text to the legend item
Parameters:
See also:
Reimplemented from QwtTextLabel.
Returns:
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |