src/hbwidgets/sliders/hbslider.h
branchGCC_SURGE
changeset 15 f378acbc9cfb
parent 6 c3690ec91ef8
child 23 e6ad4ef83b23
equal deleted inserted replaced
9:730c025d4b77 15:f378acbc9cfb
   160 
   160 
   161      void setTrackFilled(bool trackVisible = true );
   161      void setTrackFilled(bool trackVisible = true );
   162      bool isTrackFilled() const;
   162      bool isTrackFilled() const;
   163 
   163 
   164     virtual QGraphicsItem * primitive(HbStyle::Primitive primitive) const;
   164     virtual QGraphicsItem * primitive(HbStyle::Primitive primitive) const;
       
   165 	virtual void gestureEvent(QGestureEvent *event);
   165 
   166 
   166 public slots:
   167 public slots:
   167     void setOrientation(Qt::Orientation orientation);
   168     void setOrientation(Qt::Orientation orientation);
   168     void setValue(int value);
   169     void setValue(int value);
   169     void setText(const QString &text);
   170     void setText(const QString &text);
   192 
   193 
   193 
   194 
   194 private:
   195 private:
   195     Q_DECLARE_PRIVATE_D(d_ptr, HbSlider)
   196     Q_DECLARE_PRIVATE_D(d_ptr, HbSlider)
   196     Q_DISABLE_COPY(HbSlider)
   197     Q_DISABLE_COPY(HbSlider)
       
   198     friend class HbSliderTickmarks;
       
   199     friend class HbSliderTickmarksLabel;
       
   200 
   197 #ifdef HB_EFFECTS
   201 #ifdef HB_EFFECTS
   198     Q_PRIVATE_SLOT(d_func(), void  _q_startIconPressedEffect()) 
   202     Q_PRIVATE_SLOT(d_func(), void  _q_startIconPressedEffect()) 
   199     Q_PRIVATE_SLOT(d_func(), void  _q_startIconReleasedEffect()) 
   203     Q_PRIVATE_SLOT(d_func(), void  _q_startIconReleasedEffect()) 
   200     Q_PRIVATE_SLOT(d_func(), void  _q_startTextClickEffect()) 
   204     Q_PRIVATE_SLOT(d_func(), void  _q_startTextClickEffect()) 
       
   205 
   201 #endif
   206 #endif
   202 };
   207 };
   203 
   208 
   204 #endif // HBSLIDER_H
   209 #endif // HBSLIDER_H