Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
UPlotLegend Class Reference

#include <UPlot.h>

Inheritance diagram for UPlotLegend:
Inheritance graph
[legend]

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)
 
QString getAllCurveDataAsText () const
 
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 * _aCopyAllCurvesToClipboard
 
QAction * _aShowAllStdDevMeanMax
 
QAction * _aUseFlatButtons
 
QLayout * _contentLayout
 
bool _flat
 
QMenu * _menu
 
QScrollArea * _scrollArea
 

Detailed Description

The UPlot legend. Used internally by UPlot.

Definition at line 389 of file UPlot.h.

Constructor & Destructor Documentation

◆ UPlotLegend()

UPlotLegend::UPlotLegend ( QWidget *  parent = 0)

Constructor.

Definition at line 1552 of file UPlot.cpp.

◆ ~UPlotLegend()

UPlotLegend::~UPlotLegend ( )
virtual

Definition at line 1587 of file UPlot.cpp.

Member Function Documentation

◆ addItem()

void UPlotLegend::addItem ( UPlotCurve curve)

Definition at line 1609 of file UPlot.cpp.

◆ contextMenuEvent()

void UPlotLegend::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 1793 of file UPlot.cpp.

◆ getAllCurveDataAsText()

QString UPlotLegend::getAllCurveDataAsText ( ) const

Definition at line 1713 of file UPlot.cpp.

◆ isFlat()

bool UPlotLegend::isFlat ( ) const
inline

Definition at line 401 of file UPlot.h.

◆ legendItemMoved

void UPlotLegend::legendItemMoved ( const UPlotCurve curve,
int   
)
signal

◆ legendItemRemoved

void UPlotLegend::legendItemRemoved ( const UPlotCurve curve)
signal

◆ legendItemToggled

void UPlotLegend::legendItemToggled ( const UPlotCurve curve,
bool  toggled 
)
signal

◆ moveDown

void UPlotLegend::moveDown ( UPlotLegendItem item)
privateslot

Definition at line 1686 of file UPlot.cpp.

◆ moveUp

void UPlotLegend::moveUp ( UPlotLegendItem item)
privateslot

Definition at line 1659 of file UPlot.cpp.

◆ redirectToggled

void UPlotLegend::redirectToggled ( bool  toggled)
privateslot

Definition at line 1819 of file UPlot.cpp.

◆ remove()

bool UPlotLegend::remove ( const UPlotCurve curve)

Definition at line 1636 of file UPlot.cpp.

◆ removeLegendItem

void UPlotLegend::removeLegendItem ( const UPlotCurve curve)
privateslot

Definition at line 1651 of file UPlot.cpp.

◆ setFlat()

void UPlotLegend::setFlat ( bool  on)

Definition at line 1594 of file UPlot.cpp.

Member Data Documentation

◆ _aCopyAllCurvesToClipboard

QAction* UPlotLegend::_aCopyAllCurvesToClipboard
private

Definition at line 426 of file UPlot.h.

◆ _aShowAllStdDevMeanMax

QAction* UPlotLegend::_aShowAllStdDevMeanMax
private

Definition at line 427 of file UPlot.h.

◆ _aUseFlatButtons

QAction* UPlotLegend::_aUseFlatButtons
private

Definition at line 425 of file UPlot.h.

◆ _contentLayout

QLayout* UPlotLegend::_contentLayout
private

Definition at line 428 of file UPlot.h.

◆ _flat

bool UPlotLegend::_flat
private

Definition at line 423 of file UPlot.h.

◆ _menu

QMenu* UPlotLegend::_menu
private

Definition at line 424 of file UPlot.h.

◆ _scrollArea

QScrollArea* UPlotLegend::_scrollArea
private

Definition at line 429 of file UPlot.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26