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

#include <UPlot.h>

Inheritance diagram for UPlotLegendItem:
Inheritance graph
[legend]

Signals

void legendItemRemoved (const UPlotCurve *)
 

Public Member Functions

const UPlotCurvecurve () const
 
 UPlotLegendItem (const UPlotCurve *curve, QWidget *parent=0)
 
virtual ~UPlotLegendItem ()
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
 

Private Attributes

QAction * _aChangeText
 
QAction * _aCopyToClipboard
 
QAction * _aRemoveCurve
 
QAction * _aResetText
 
const UPlotCurve_curve
 
QMenu * _menu
 

Detailed Description

The UPlot legend item. Used internally by UPlot.

Definition at line 336 of file UPlot.h.

Constructor & Destructor Documentation

UPlotLegendItem::UPlotLegendItem ( const UPlotCurve curve,
QWidget *  parent = 0 
)

Constructor.

Definition at line 1268 of file UPlot.cpp.

UPlotLegendItem::~UPlotLegendItem ( )
virtual

Definition at line 1287 of file UPlot.cpp.

Member Function Documentation

void UPlotLegendItem::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 1291 of file UPlot.cpp.

const UPlotCurve* UPlotLegendItem::curve ( ) const
inline

Definition at line 346 of file UPlot.h.

void UPlotLegendItem::legendItemRemoved ( const UPlotCurve )
signal

Member Data Documentation

QAction* UPlotLegendItem::_aChangeText
private

Definition at line 357 of file UPlot.h.

QAction* UPlotLegendItem::_aCopyToClipboard
private

Definition at line 360 of file UPlot.h.

QAction* UPlotLegendItem::_aRemoveCurve
private

Definition at line 359 of file UPlot.h.

QAction* UPlotLegendItem::_aResetText
private

Definition at line 358 of file UPlot.h.

const UPlotCurve* UPlotLegendItem::_curve
private

Definition at line 355 of file UPlot.h.

QMenu* UPlotLegendItem::_menu
private

Definition at line 356 of file UPlot.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Jun 10 2019 13:21:32