Changeset View
Changeset View
Standalone View
Standalone View
src/kcapacitybar.cpp
Show All 34 Lines | |||||
35 | 35 | | |||
36 | #define ROUND_MARGIN 6 | 36 | #define ROUND_MARGIN 6 | ||
37 | #define VERTICAL_SPACING 1 | 37 | #define VERTICAL_SPACING 1 | ||
38 | 38 | | |||
39 | static const int LightShade = 100; | 39 | static const int LightShade = 100; | ||
40 | static const int MidShade = 200; | 40 | static const int MidShade = 200; | ||
41 | static const int DarkShade = 300; | 41 | static const int DarkShade = 300; | ||
42 | 42 | | |||
43 | class KCapacityBar::Private | 43 | class Q_DECL_HIDDEN KCapacityBar::Private | ||
44 | { | 44 | { | ||
45 | public: | 45 | public: | ||
46 | Private(KCapacityBar::DrawTextMode drawTextMode) | 46 | Private(KCapacityBar::DrawTextMode drawTextMode) | ||
47 | : value(0) | 47 | : value(0) | ||
48 | , fillFullBlocks(true) | 48 | , fillFullBlocks(true) | ||
49 | , continuous(true) | 49 | , continuous(true) | ||
50 | , barHeight(12) | 50 | , barHeight(12) | ||
51 | , horizontalTextAlignment(Qt::AlignCenter) | 51 | , horizontalTextAlignment(Qt::AlignCenter) | ||
▲ Show 20 Lines • Show All 333 Lines • Show Last 20 Lines |