QwtLegendItem Class Reference
A widget representing something on a QwtLegend().
More...
#include <qwt_legend_item.h>
List of all members.
Detailed Description
A widget representing something on a QwtLegend().
Constructor & Destructor Documentation
QwtLegendItem::QwtLegendItem |
( |
QWidget * |
parent = 0 |
) |
[explicit] |
QwtLegendItem::~QwtLegendItem |
( |
|
) |
[virtual] |
Member Function Documentation
void QwtLegendItem::checked |
( |
bool |
|
) |
[signal] |
Signal, when the legend item has been toggled.
void QwtLegendItem::clicked |
( |
|
) |
[signal] |
Signal, when the legend item has been clicked.
QPixmap QwtLegendItem::identifier |
( |
|
) |
const |
QSize QwtLegendItem::identifierSize |
( |
|
) |
const |
bool QwtLegendItem::isChecked |
( |
|
) |
const |
Return true, if the item is checked.
bool QwtLegendItem::isDown |
( |
|
) |
const [protected] |
Return true, if the item is down.
void QwtLegendItem::keyPressEvent |
( |
QKeyEvent * |
e |
) |
[protected, virtual] |
void QwtLegendItem::keyReleaseEvent |
( |
QKeyEvent * |
e |
) |
[protected, virtual] |
Handle key release events.
void QwtLegendItem::mousePressEvent |
( |
QMouseEvent * |
e |
) |
[protected, virtual] |
Handle mouse press events.
void QwtLegendItem::mouseReleaseEvent |
( |
QMouseEvent * |
e |
) |
[protected, virtual] |
Handle mouse release events.
void QwtLegendItem::paintEvent |
( |
QPaintEvent * |
e |
) |
[protected, virtual] |
void QwtLegendItem::pressed |
( |
|
) |
[signal] |
Signal, when the legend item has been pressed.
void QwtLegendItem::released |
( |
|
) |
[signal] |
Signal, when the legend item has been relased.
void QwtLegendItem::setChecked |
( |
bool |
on |
) |
[slot] |
void QwtLegendItem::setDown |
( |
bool |
down |
) |
[protected] |
void QwtLegendItem::setIdentifier |
( |
const QPixmap & |
identifier |
) |
|
Assign the identifier The identifier needs to be created according to the identifierWidth()
- Parameters:
-
| identifier | Pixmap representing a plot item |
- See also:
- identifier(), identifierWidth()
void QwtLegendItem::setIdentifierSize |
( |
const QSize & |
size |
) |
|
Set the size for the identifier Default is 8x8 pixels
- Parameters:
-
- See also:
- identifierSize()
Set the item mode The default is QwtLegend::ReadOnlyItem
- Parameters:
-
- See also:
- itemMode()
void QwtLegendItem::setSpacing |
( |
int |
spacing |
) |
|
void QwtLegendItem::setText |
( |
const QwtText & |
text |
) |
[virtual] |
QSize QwtLegendItem::sizeHint |
( |
|
) |
const [virtual] |
int QwtLegendItem::spacing |
( |
|
) |
const |