QtPdWidgets  2.3.2
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Pd::BarPrivate::Stack Class Reference

#include <BarStack.h>

Collaboration diagram for Pd::BarPrivate::Stack:
Collaboration graph
[legend]

Classes

class  Section
 

Public Member Functions

 Stack (BarPrivate *)
 
virtual ~Stack ()
 Destructor. More...
 
void addSection (PdCom::Variable, const PdCom::Selector &, const QtPdCom::Transmission &=QtPdCom::event_mode, double=1.0, double=0.0, double=0.0, QColor=Qt::black)
 
void addSection (PdCom::Process *, const QString &, const PdCom::Selector &, const QtPdCom::Transmission &=QtPdCom::event_mode, double=1.0, double=0.0, double=0.0, QColor=Qt::black)
 
void clearData ()
 
QRect & getRect ()
 
const QRect & getRect () const
 
void paint (QPainter &)
 Paint method. More...
 
void redrawEvent ()
 
void update ()
 

Private Types

typedef QList< Section * > SectionList
 

Private Member Functions

void paintColorBar (QPainter &)
 Paint method for ColorBar style. More...
 
void paintArrow (QPainter &)
 Paint method for Arrow style. More...
 
const QColor findMultiColor (double) const
 
 Stack ()
 

Private Attributes

BarPrivate *const bar
 
QRect rect
 
SectionList sections
 

Member Typedef Documentation

◆ SectionList

typedef QList<Section *> Pd::BarPrivate::Stack::SectionList
private

Constructor & Destructor Documentation

◆ Stack() [1/2]

Pd::BarPrivate::Stack::Stack ( BarPrivate )

◆ ~Stack()

BarPrivate::Stack::~Stack ( )
virtual

Destructor.

References sections.

◆ Stack() [2/2]

Pd::BarPrivate::Stack::Stack ( )
private

Member Function Documentation

◆ addSection() [1/2]

void Pd::BarPrivate::Stack::addSection ( PdCom::Variable  ,
const PdCom::Selector &  ,
const QtPdCom::Transmission &  = QtPdCom::event_mode,
double  = 1.0,
double  = 0.0,
double  = 0.0,
QColor  = Qt::black 
)

◆ addSection() [2/2]

void Pd::BarPrivate::Stack::addSection ( PdCom::Process *  ,
const QString &  ,
const PdCom::Selector &  ,
const QtPdCom::Transmission &  = QtPdCom::event_mode,
double  = 1.0,
double  = 0.0,
double  = 0.0,
QColor  = Qt::black 
)

◆ clearData()

void BarPrivate::Stack::clearData ( )

References bar, Pd::BarPrivate::q_ptr, rect, and sections.

◆ findMultiColor()

const QColor BarPrivate::Stack::findMultiColor ( double  value) const
private

◆ getRect() [1/2]

QRect& Pd::BarPrivate::Stack::getRect ( )
inline

References rect.

◆ getRect() [2/2]

const QRect& Pd::BarPrivate::Stack::getRect ( ) const
inline

References rect.

◆ paint()

void BarPrivate::Stack::paint ( QPainter &  painter)

◆ paintArrow()

void BarPrivate::Stack::paintArrow ( QPainter &  painter)
private

◆ paintColorBar()

void BarPrivate::Stack::paintColorBar ( QPainter &  painter)
private

◆ redrawEvent()

void BarPrivate::Stack::redrawEvent ( )

References sections.

◆ update()

void BarPrivate::Stack::update ( )

References bar, Pd::BarPrivate::q_ptr, and rect.

Member Data Documentation

◆ bar

BarPrivate* const Pd::BarPrivate::Stack::bar
private

◆ rect

QRect Pd::BarPrivate::Stack::rect
private

◆ sections

SectionList Pd::BarPrivate::Stack::sections
private

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