42 //inherited from HbHandleParent |
42 //inherited from HbHandleParent |
43 void emitSliderPressed(); |
43 void emitSliderPressed(); |
44 void emitSliderReleased(); |
44 void emitSliderReleased(); |
45 void setProgressValue(int value); |
45 void setProgressValue(int value); |
46 void emitSliderMoved(int newValue); |
46 void emitSliderMoved(int newValue); |
47 void setEnableFlag(bool flag); |
47 void setEnableFlag(bool flag); |
48 QRectF boundingRect() const; |
48 QRectF boundingRect() const; |
49 HbStyle* style() const; |
|
50 QGraphicsItem* parentGraphicsItem() const; |
49 QGraphicsItem* parentGraphicsItem() const; |
51 HbWidget* parentGraphicsWidget() const; |
50 HbWidget* parentGraphicsWidget() const; |
52 int progressValue()const; |
51 int progressValue()const; |
53 int maximum() const ; |
52 int maximum() const ; |
54 int minimum() const ; |
53 int minimum() const ; |
55 bool invertedAppearance() const ; |
54 bool invertedAppearance() const ; |
56 QString toolTipText() const; |
55 QString toolTipText() const; |
57 Qt::Alignment textAlignment() const; |
56 Qt::Alignment textAlignment() const; |
58 bool textVisible()const{ return (mTooltipText=="")? false:true ;}; |
57 bool textVisible()const; |
|
58 bool mToolTipTextVisibleUser; |
59 |
59 |
60 Qt::Orientation orientation(); |
60 Qt::Orientation orientation(); |
61 void setRange(int minimum, int maximum); |
61 void setRange(int minimum, int maximum); |
|
62 void updateProgressTrack(); |
|
63 void updateSliderTrack(); |
62 private: |
64 private: |
63 QGraphicsItem *mSliderGraphicItem; |
65 QGraphicsObject *mSliderGraphicItem; |
64 int mSliderValue; |
66 int mSliderValue; |
65 bool mDownState; |
67 bool mDownState; |
66 QString mTooltipText; |
68 QString mTooltipText; |
67 QString mHandlePath; |
69 QString mHandlePath; |
68 }; |
70 }; |