#include <UPlot.h>
Public Slots | |
| void | removeLegendItem (const UPlotCurve *curve) |
Signals | |
| void | legendItemRemoved (const UPlotCurve *curve) |
| void | legendItemToggled (const UPlotCurve *curve, bool toggled) |
Public Member Functions | |
| void | addItem (const UPlotCurve *curve) |
| QPixmap | createSymbol (const QPen &pen, const QBrush &brush) |
| 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 | redirectToggled (bool) |
Private Attributes | |
| QAction * | _aUseFlatButtons |
| bool | _flat |
| QMenu * | _menu |
| UPlotLegend::UPlotLegend | ( | QWidget * | parent = 0 | ) |
| UPlotLegend::~UPlotLegend | ( | ) | [virtual] |
| void UPlotLegend::addItem | ( | const UPlotCurve * | curve | ) |
| void UPlotLegend::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
| QPixmap UPlotLegend::createSymbol | ( | const QPen & | pen, |
| const QBrush & | brush | ||
| ) |
| bool UPlotLegend::isFlat | ( | ) | const [inline] |
| void UPlotLegend::legendItemRemoved | ( | const UPlotCurve * | curve | ) | [signal] |
| void UPlotLegend::legendItemToggled | ( | const UPlotCurve * | curve, |
| bool | toggled | ||
| ) | [signal] |
| void UPlotLegend::redirectToggled | ( | bool | toggled | ) | [private, slot] |
| bool UPlotLegend::remove | ( | const UPlotCurve * | curve | ) |
| void UPlotLegend::removeLegendItem | ( | const UPlotCurve * | curve | ) | [slot] |
| void UPlotLegend::setFlat | ( | bool | on | ) |
QAction* UPlotLegend::_aUseFlatButtons [private] |
bool UPlotLegend::_flat [private] |
QMenu* UPlotLegend::_menu [private] |