src/hbwidgets/sliders/hbprogressslider_p.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    40     HbProgressSliderHandle *handle;
    40     HbProgressSliderHandle *handle;
    41 
    41 
    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 emitSliderMoved(int newValue);
    46     void emitSliderMoved(int newValue);
       
    47 	void setEnableFlag(bool flag);
    46     QRectF boundingRect() const;
    48     QRectF boundingRect() const;
    47     HbStyle* style() const;
    49     HbStyle* style() const;
    48     QGraphicsItem* parentGraphicsItem() const;
    50     QGraphicsItem* parentGraphicsItem() const;
    49     HbWidget* parentGraphicsWidget() const;
    51     HbWidget* parentGraphicsWidget() const;
    50     int progressValue()const;
    52     int progressValue()const;
    52     int minimum() const ;
    54     int minimum() const ;
    53     bool invertedAppearance() const ;
    55     bool invertedAppearance() const ;
    54     QString toolTipText() const;
    56     QString toolTipText() const;
    55     Qt::Alignment textAlignment() const;
    57     Qt::Alignment textAlignment() const;
    56     bool textVisible()const{ return (mTooltipText=="")? false:true ;};
    58     bool textVisible()const{ return (mTooltipText=="")? false:true ;};
    57     void updateMaskWidth(qreal width);
    59 
    58     Qt::Orientation orientation();
    60     Qt::Orientation orientation();
    59     void setRange(int minimum, int maximum);
    61     void setRange(int minimum, int maximum);
    60 private:
    62 private:
    61     QGraphicsItem *mSliderGraphicItem;
    63     QGraphicsItem *mSliderGraphicItem;
    62     int mSliderValue;
    64     int mSliderValue;
    63     bool downState;
    65     bool mDownState;
    64     HbIcon thumbIcon;
    66     HbIcon thumbIcon;
    65     QString mTooltipText;
    67     QString mTooltipText;
    66 	HbProgressSlider::SliderState state;
    68     HbProgressSlider::SliderState state;
       
    69     QString mHandlePath;
    67 };
    70 };
    68 
    71 
    69 #endif //HBPROGRESSSLIDER_P_H
    72 #endif //HBPROGRESSSLIDER_P_H
    70 
    73