#include <BarStack.h>
|
| 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 () |
|
◆ SectionList
◆ Stack() [1/2]
◆ ~Stack()
BarPrivate::Stack::~Stack |
( |
| ) |
|
|
virtual |
◆ Stack() [2/2]
Pd::BarPrivate::Stack::Stack |
( |
| ) |
|
|
private |
◆ 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 |
( |
| ) |
|
◆ findMultiColor()
const QColor BarPrivate::Stack::findMultiColor |
( |
double |
value | ) |
const |
|
private |
◆ getRect() [1/2]
QRect& Pd::BarPrivate::Stack::getRect |
( |
| ) |
|
|
inline |
◆ getRect() [2/2]
const QRect& Pd::BarPrivate::Stack::getRect |
( |
| ) |
const |
|
inline |
◆ paint()
void BarPrivate::Stack::paint |
( |
QPainter & |
painter | ) |
|
Paint method.
References Pd::Bar::Arrow, bar, Pd::BarPrivate::calcPosition(), Pd::Bar::ColorBar, Pd::BarPrivate::horizontalDragIndicatorPolygon, Pd::Bar::MultiColorBar, Pd::BarPrivate::orientation, paintArrow(), paintColorBar(), rect, sections, Pd::BarPrivate::style, Pd::Bar::Vertical, and Pd::BarPrivate::verticalDragIndicatorPolygon.
◆ paintArrow()
void BarPrivate::Stack::paintArrow |
( |
QPainter & |
painter | ) |
|
|
private |
◆ paintColorBar()
void BarPrivate::Stack::paintColorBar |
( |
QPainter & |
painter | ) |
|
|
private |
Paint method for ColorBar style.
References bar, Pd::BarPrivate::barRect, Pd::BarPrivate::calcPosition(), Pd::Bar::ColorBar, findMultiColor(), Pd::Scale::getMax(), Pd::Scale::getMin(), Pd::BarPrivate::gradient, Pd::BarPrivate::gradientStops, Pd::Bar::MultiColorBar, Pd::BarPrivate::orientation, Pd::BarPrivate::origin, Pd::Bar::OriginMaximum, Pd::Bar::OriginMinimum, Pd::Bar::OriginZero, rect, sections, Pd::BarPrivate::style, Pd::BarPrivate::valueScale, and Pd::Bar::Vertical.
Referenced by paint().
◆ redrawEvent()
void BarPrivate::Stack::redrawEvent |
( |
| ) |
|
◆ update()
void BarPrivate::Stack::update |
( |
| ) |
|
◆ bar
◆ rect
QRect Pd::BarPrivate::Stack::rect |
|
private |
◆ sections
The documentation for this class was generated from the following files: