23 #ifndef PD_BAR_STACK_SECTION_H 24 #define PD_BAR_STACK_SECTION_H 29 #include <QtPdCom1/ScalarSubscriber.h> 34 public QtPdCom::ScalarSubscriber
58 void newValues(std::chrono::nanoseconds)
override;
Definition: BarStack.h:34
bool hasData() const
Definition: BarSection.h:42
double getDragMin() const
Definition: BarSection.h:44
bool redraw
True, if the section shall be redrawn on next redrawEvent().
Definition: BarSection.h:55
QColor color
Bar color.
Definition: BarSection.h:51
void redrawEvent()
Update.
Definition: BarSection.cpp:111
double barValue
Current bar value.
Definition: BarSection.h:52
double dragMaxValue
Definition: BarSection.h:54
void newValues(std::chrono::nanoseconds) override
This virtual method is called if the value changes.
Definition: BarSection.cpp:71
QColor getColor() const
Definition: BarSection.h:46
double getValue() const
Definition: BarSection.h:43
bool dataPresent
There is a value to display.
Definition: BarSection.h:50
Stack *const stack
Parent stack.
Definition: BarSection.h:49
double dragMinValue
Definition: BarSection.h:53
void clearData()
Definition: BarSection.cpp:61
Definition: BarSection.h:33
double getDragMax() const
Definition: BarSection.h:45
virtual ~Section()
Destructor.
Definition: BarSection.cpp:54