Version: 9.12.0
Plot2d_SelectableItem Class Reference

#include <Plot2d_PlotItems.h>

Inheritance diagram for Plot2d_SelectableItem:
Inheritance graph

Public Member Functions

 Plot2d_SelectableItem ()
 
 ~Plot2d_SelectableItem ()
 
void setSelected (const bool)
 
bool isSelected () const
 
void setLegendPen (const QPen &)
 
QPen legendPen () const
 
void setLegendSymbol (const QwtSymbol *)
 
QwtSymbol * legendSymbol () const
 

Private Attributes

bool myIsSelected
 
QPen myLegendPen
 
QwtSymbol * myLegendSymbol
 

Constructor & Destructor Documentation

◆ Plot2d_SelectableItem()

Plot2d_SelectableItem::Plot2d_SelectableItem ( )

Constructor.

◆ ~Plot2d_SelectableItem()

Plot2d_SelectableItem::~Plot2d_SelectableItem ( )

Destructor.

Member Function Documentation

◆ isSelected()

bool Plot2d_SelectableItem::isSelected ( ) const

Return selected property.

References myIsSelected.

◆ legendPen()

QPen Plot2d_SelectableItem::legendPen ( ) const

Return legend pen property.

References myLegendPen.

◆ legendSymbol()

QwtSymbol * Plot2d_SelectableItem::legendSymbol ( ) const

Sets legend symbol property.

References myLegendSymbol.

◆ setLegendPen()

void Plot2d_SelectableItem::setLegendPen ( const QPen &  p)

Sets legend pen property.

References myLegendPen.

◆ setLegendSymbol()

void Plot2d_SelectableItem::setLegendSymbol ( const QwtSymbol *  s)

Sets legend symbol property.

References myLegendSymbol.

◆ setSelected()

void Plot2d_SelectableItem::setSelected ( const bool  on)

Sets selected property.

References myIsSelected.

Member Data Documentation

◆ myIsSelected

bool Plot2d_SelectableItem::myIsSelected
private

◆ myLegendPen

QPen Plot2d_SelectableItem::myLegendPen
private

◆ myLegendSymbol

QwtSymbol* Plot2d_SelectableItem::myLegendSymbol
private

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