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::UPlotLegendItem ( const UPlotCurve curve,
QWidget *  parent = 0 
)

Constructor.

Definition at line 1268 of file UPlot.cpp.

◆ ~UPlotLegendItem()

UPlotLegendItem::~UPlotLegendItem ( )
virtual

Definition at line 1287 of file UPlot.cpp.

Member Function Documentation

◆ contextMenuEvent()

void UPlotLegendItem::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Definition at line 1291 of file UPlot.cpp.

◆ curve()

const UPlotCurve* UPlotLegendItem::curve ( ) const
inline

Definition at line 346 of file UPlot.h.

◆ legendItemRemoved

void UPlotLegendItem::legendItemRemoved ( const UPlotCurve )
signal

Member Data Documentation

◆ _aChangeText

QAction* UPlotLegendItem::_aChangeText
private

Definition at line 357 of file UPlot.h.

◆ _aCopyToClipboard

QAction* UPlotLegendItem::_aCopyToClipboard
private

Definition at line 360 of file UPlot.h.

◆ _aRemoveCurve

QAction* UPlotLegendItem::_aRemoveCurve
private

Definition at line 359 of file UPlot.h.

◆ _aResetText

QAction* UPlotLegendItem::_aResetText
private

Definition at line 358 of file UPlot.h.

◆ _curve

const UPlotCurve* UPlotLegendItem::_curve
private

Definition at line 355 of file UPlot.h.

◆ _menu

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 Dec 12 2022 03:20:10