--- a/src/hbwidgets/sliders/hbprogressslider_p.h Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/sliders/hbprogressslider_p.h Mon Oct 18 18:23:13 2010 +0300
@@ -44,9 +44,8 @@
void emitSliderReleased();
void setProgressValue(int value);
void emitSliderMoved(int newValue);
- void setEnableFlag(bool flag);
+ void setEnableFlag(bool flag);
QRectF boundingRect() const;
- HbStyle* style() const;
QGraphicsItem* parentGraphicsItem() const;
HbWidget* parentGraphicsWidget() const;
int progressValue()const;
@@ -55,12 +54,15 @@
bool invertedAppearance() const ;
QString toolTipText() const;
Qt::Alignment textAlignment() const;
- bool textVisible()const{ return (mTooltipText=="")? false:true ;};
+ bool textVisible()const;
+ bool mToolTipTextVisibleUser;
Qt::Orientation orientation();
void setRange(int minimum, int maximum);
+ void updateProgressTrack();
+ void updateSliderTrack();
private:
- QGraphicsItem *mSliderGraphicItem;
+ QGraphicsObject *mSliderGraphicItem;
int mSliderValue;
bool mDownState;
QString mTooltipText;