#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 * | _aUseFlatButtons |
bool | _flat |
QMenu * | _menu |
UPlotLegend::UPlotLegend | ( | QWidget * | parent = 0 | ) |
UPlotLegend::~UPlotLegend | ( | ) | [virtual] |
void UPlotLegend::addItem | ( | UPlotCurve * | curve | ) |
void UPlotLegend::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
bool UPlotLegend::isFlat | ( | ) | const [inline] |
void UPlotLegend::legendItemMoved | ( | const UPlotCurve * | curve, |
int | |||
) | [signal] |
void UPlotLegend::legendItemRemoved | ( | const UPlotCurve * | curve | ) | [signal] |
void UPlotLegend::legendItemToggled | ( | const UPlotCurve * | curve, |
bool | toggled | ||
) | [signal] |
void UPlotLegend::moveDown | ( | UPlotLegendItem * | item | ) | [private, slot] |
void UPlotLegend::moveUp | ( | UPlotLegendItem * | item | ) | [private, slot] |
void UPlotLegend::redirectToggled | ( | bool | toggled | ) | [private, slot] |
bool UPlotLegend::remove | ( | const UPlotCurve * | curve | ) |
void UPlotLegend::removeLegendItem | ( | const UPlotCurve * | curve | ) | [private, slot] |
void UPlotLegend::setFlat | ( | bool | on | ) |
QAction* UPlotLegend::_aUseFlatButtons [private] |
bool UPlotLegend::_flat [private] |
QMenu* UPlotLegend::_menu [private] |