Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes
UPlotLegend Class Reference

#include <UPlot.h>

List of all members.

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

Detailed Description

The UPlot legend. Used internally by UPlot.

Definition at line 384 of file UPlot.h.


Constructor & Destructor Documentation

UPlotLegend::UPlotLegend ( QWidget *  parent = 0)

Constructor.

Definition at line 1502 of file UPlot.cpp.

Definition at line 1522 of file UPlot.cpp.


Member Function Documentation

void UPlotLegend::addItem ( UPlotCurve curve)

Definition at line 1544 of file UPlot.cpp.

void UPlotLegend::contextMenuEvent ( QContextMenuEvent *  event) [protected, virtual]

Definition at line 1645 of file UPlot.cpp.

bool UPlotLegend::isFlat ( ) const [inline]

Definition at line 396 of file UPlot.h.

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]

Definition at line 1618 of file UPlot.cpp.

void UPlotLegend::moveUp ( UPlotLegendItem item) [private, slot]

Definition at line 1591 of file UPlot.cpp.

void UPlotLegend::redirectToggled ( bool  toggled) [private, slot]

Definition at line 1711 of file UPlot.cpp.

bool UPlotLegend::remove ( const UPlotCurve curve)

Definition at line 1569 of file UPlot.cpp.

void UPlotLegend::removeLegendItem ( const UPlotCurve curve) [private, slot]

Definition at line 1583 of file UPlot.cpp.

void UPlotLegend::setFlat ( bool  on)

Definition at line 1529 of file UPlot.cpp.


Member Data Documentation

Definition at line 420 of file UPlot.h.

QAction* UPlotLegend::_aUseFlatButtons [private]

Definition at line 419 of file UPlot.h.

bool UPlotLegend::_flat [private]

Definition at line 417 of file UPlot.h.

QMenu* UPlotLegend::_menu [private]

Definition at line 418 of file UPlot.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:39