39 |
40 |
40 public: |
41 public: |
41 enum StyleOptionType { Type = HbSO_ProgressBar }; |
42 enum StyleOptionType { Type = HbSO_ProgressBar }; |
42 enum StyleOptionVersion { Version = 1 }; |
43 enum StyleOptionVersion { Version = 1 }; |
43 |
44 |
44 // deprecated |
45 enum HandleState { // deprecated |
45 enum HandleState { |
|
46 PlayNormal, |
46 PlayNormal, |
47 PlayPressed, |
47 PlayPressed, |
48 PauseNormal, |
48 PauseNormal, |
49 PausePressed |
49 PausePressed |
50 }; |
50 }; |
51 |
51 |
52 enum SliderState |
52 enum SliderState // deprecated |
53 { |
53 { |
54 SliderStatePlayNormal, |
54 SliderStatePlayNormal, |
55 SliderStatePlayPressed, |
55 SliderStatePlayPressed, |
56 SliderStatePauseNormal, |
56 SliderStatePauseNormal, |
57 SliderStatePausePressed |
57 SliderStatePausePressed |
58 }; |
58 }; |
59 |
59 |
60 int progressValue; |
60 int progressValue; |
61 int minimum; |
61 int minimum; |
62 int maximum; |
62 int maximum; |
63 uint inverted : 1;//mirrored |
63 uint inverted : 1; //mirrored |
64 QString text; // deprecated |
64 QString text; // deprecated |
65 bool isSlider; |
65 bool isSlider; |
66 uint stopWaitAnimation : 1; |
66 uint stopWaitAnimation : 1; |
67 QString minText; |
67 QString minText; |
68 QString maxText; |
68 QString maxText; |
69 Qt::Orientation orientation; |
69 Qt::Orientation orientation; |
70 |
70 |
71 int sliderValue; |
71 int sliderValue; // deprecated |
72 QRectF handleRect; |
72 QRectF handleRect; // deprecated |
73 HbIcon thumbIcon; // deprecated |
73 HbIcon thumbIcon; // deprecated |
74 qreal maskWidth; |
74 qreal maskWidth; // deprecated |
75 bool secondoryType; |
75 bool secondaryType; // deprecated |
76 HandleState handleState; // deprecated |
76 HandleState handleState; // deprecated |
77 SliderState sliderState; // deprecated |
77 SliderState sliderState; // deprecated |
78 Qt::Alignment minMaxTextAlignment; |
78 Qt::Alignment minMaxTextAlignment; |
79 }; |
79 }; |
80 |
80 |