#include <UPlot.h>
Signals | |
void | legendItemMoved (const UPlotCurve *curve, int) |
void | legendItemRemoved (const UPlotCurve *curve) |
void | legendItemToggled (const UPlotCurve *curve, bool toggled) |
Public Member Functions | |
void | addItem (UPlotCurve *curve) |
bool | isFlat () const |
bool | remove (const UPlotCurve *curve) |
void | setFlat (bool on) |
UPlotLegend (QWidget *parent=0) | |
virtual | ~UPlotLegend () |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
Private Slots | |
void | moveDown (UPlotLegendItem *item) |
void | moveUp (UPlotLegendItem *item) |
void | redirectToggled (bool) |
void | removeLegendItem (const UPlotCurve *curve) |
Private Attributes | |
QAction * | _aCopyAllCurveToClipboard |
QAction * | _aUseFlatButtons |
bool | _flat |
QMenu * | _menu |
UPlotLegend::UPlotLegend | ( | QWidget * | parent = 0 | ) |
void UPlotLegend::addItem | ( | UPlotCurve * | curve | ) |
|
protectedvirtual |
|
signal |
|
signal |
|
signal |
|
privateslot |
|
privateslot |
|
privateslot |
bool UPlotLegend::remove | ( | const UPlotCurve * | curve | ) |
|
privateslot |