src/hbwidgets/sliders/hbslidercontrol_p_p.h
changeset 34 ed14f46c0e55
parent 3 11d3954df52a
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    34 
    34 
    35 class HbSliderHandle;
    35 class HbSliderHandle;
    36 class HbToolTip;
    36 class HbToolTip;
    37 class QGraphicsItem;
    37 class QGraphicsItem;
    38 class HbSliderTickmarksLabel;
    38 class HbSliderTickmarksLabel;
       
    39 class HbTouchArea;
    39 
    40 
    40 class HbSliderControlPrivate : public HbAbstractSliderControlPrivate
    41 class HbSliderControlPrivate : public HbAbstractSliderControlPrivate
    41 {
    42 {
    42     Q_DECLARE_PUBLIC(HbSliderControl)
    43     Q_DECLARE_PUBLIC(HbSliderControl)
    43 
    44 
    50     bool onHandle(QPointF pos);
    51     bool onHandle(QPointF pos);
    51     int getNearbyTick();
    52     int getNearbyTick();
    52     virtual HbSliderHandle *createHandle();
    53     virtual HbSliderHandle *createHandle();
    53     virtual QGraphicsItem *createGroove();
    54     virtual QGraphicsItem *createGroove();
    54     virtual QGraphicsItem *createProgressGroove();
    55     virtual QGraphicsItem *createProgressGroove();
       
    56     int calculateSliderPosition( QPointF position );
    55 
    57 
    56    
    58    
    57     HbSliderHandle *handle;
    59     HbSliderHandle *handle;
    58     Hb::SliderTickPositions tickPosition;
    60     Hb::SliderTickPositions tickPosition;
    59     HbSliderControl::SnappingMode  snappingMode;
    61     HbSliderControl::SnappingMode  snappingMode;
    78     QStringList majorLabel;
    80     QStringList majorLabel;
    79     QStringList minorLabel;
    81     QStringList minorLabel;
    80     QGraphicsItem *grooveTouchArea;
    82     QGraphicsItem *grooveTouchArea;
    81     bool enableProgressTrack;
    83     bool enableProgressTrack;
    82     bool userDefinedTooltipAlign;
    84     bool userDefinedTooltipAlign;
    83 
    85     HbTouchArea *tooltipArea;
       
    86     qreal tooltipBorderHeight;
    84 
    87 
    85 private:
    88 private:
    86     // not to pollute HbSliderControl (which may become public in the future)
    89     // not to pollute HbSliderControl (which may become public in the future)
    87     // with friend class declarations
    90     // with friend class declarations
    88     static HbSliderControlPrivate *d_ptr(HbSliderControl *sliderControl) {
    91     static HbSliderControlPrivate *d_ptr(HbSliderControl *sliderControl) {