23 #ifndef PD_BAR_PRIVATE_H 24 #define PD_BAR_PRIVATE_H 32 #include <QtPdCom1/ScalarSubscriber.h> 33 #include <QtPdCom1/Transmission.h> Definition: BarStack.h:34
QRect scaleRect
Definition: Bar_p.h:77
QList< Bar * > findSiblings()
Definition: Bar.cpp:848
void clearVariables()
Clear all stacks and sections.
Definition: Bar.cpp:465
void updateLayout()
Calculates the widget's layout and draws the background into a pixmap.
Definition: Bar.cpp:659
Scale.
Definition: Scale.h:35
void redrawEvent()
Redraw event slot, that is called by the redraw timer.
Definition: Bar.cpp:917
QRect barRect
Layout rectangle containing the bar drawing area.
Definition: Bar_p.h:79
QGradientStops gradientStops
Color gradient.
Definition: Bar_p.h:65
void updateGradient()
Definition: Bar.cpp:926
double minStop
Value of first gradient stop.
Definition: Bar_p.h:68
Scale valueScale
Value scale.
Definition: Bar_p.h:59
Bar::Origin origin
Bar drawing origin.
Definition: Bar_p.h:60
bool autoBarWidth
Definition: Bar_p.h:64
QLine zeroLine
Zero line.
Definition: Bar_p.h:81
static QPolygon horizontalDragIndicatorPolygon
Drag indicator arrow shape in #Horizontal mode.
Definition: Bar_p.h:90
QPolygon brightPolygon
Polygon to draw the border light.
Definition: Bar_p.h:83
Bar graph widget.
Definition: Bar.h:44
QColor backgroundColor
Background color of the bar area.
Definition: Bar_p.h:63
Bar::Style style
Widget appearance.
Definition: Bar_p.h:57
bool showScale
Whether or not the scale is shown.
Definition: Bar_p.h:58
static QPolygon horizontalArrow
Arrow shape in #Horizontal mode.
Definition: Bar_p.h:92
void updateBackground()
Calculates the widget's layout and draws the background into a pixmap.
Definition: Bar.cpp:764
int maxBarWidth
Definition: Bar_p.h:85
QList< Stack * > StackList
Definition: Bar_p.h:71
static void initDragIndicatorPolygons()
Drag indicator polygon initializer.
Definition: Bar.cpp:618
void notifyMaxBarWidthChange()
Definition: Bar.cpp:836
QString debugStr
Definition: Bar_p.h:87
static QPolygon verticalDragIndicatorPolygon
Drag indicator arrow shape in #Vertical mode.
Definition: Bar_p.h:89
QPixmap backgroundPixmap
Pixmap that stores the background and scale.
Definition: Bar_p.h:75
unsigned int calcPosition(double, bool=true) const
Calculates a 1-D position from a real-world value.
Definition: Bar.cpp:875
QPolygon darkPolygon
Polygon to draw the border shadow.
Definition: Bar_p.h:82
Bar *const q_ptr
Definition: Bar_p.h:46
Bar::Orientation orientation
Orientation of the bar.
Definition: Bar_p.h:56
double maxStop
Value of last gradient stop.
Definition: Bar_p.h:69
int borderWidth
Width of the border around the bar drawing area.
Definition: Bar_p.h:61
StackList stacks
Bar stacks.
Definition: Bar_p.h:73
QLinearGradient gradient
Definition: Bar_p.h:66
void maxBarWidthChanged()
Definition: Bar.cpp:864
Bar graph widget.
Definition: Bar_p.h:43
static QPolygon verticalArrow
Arrow shape in #Vertical mode.
Definition: Bar_p.h:91
void retranslate()
Retranslate the widget.
Definition: Bar.cpp:907
QRect borderRect
Definition: Bar_p.h:78