equal
deleted
inserted
replaced
38 Q_OBJECT |
38 Q_OBJECT |
39 public: |
39 public: |
40 explicit HbSliderTickmarks( QGraphicsItem *parent = 0 ); |
40 explicit HbSliderTickmarks( QGraphicsItem *parent = 0 ); |
41 ~HbSliderTickmarks(); |
41 ~HbSliderTickmarks(); |
42 |
42 |
43 /* virtual void paint( QPainter *painter, const QStyleOptionGraphicsItem *option, |
|
44 QWidget *widget );*/ |
|
45 virtual void resizeEvent(QGraphicsSceneResizeEvent *event); |
|
46 |
|
47 enum {Type = HbPrivate::ItemType_SliderTickmarks }; |
43 enum {Type = HbPrivate::ItemType_SliderTickmarks }; |
48 int type() const {return Type;} |
44 int type() const {return Type;} |
49 |
45 virtual void resizeEvent(QGraphicsSceneResizeEvent *event); |
50 void createIcons(bool create); |
|
51 void updateTicks( ); |
46 void updateTicks( ); |
52 void setTickPosition(Hb::SliderTickPositions position); |
47 void setTickPosition(Hb::SliderTickPositions position); |
53 virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); |
48 virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value); |
54 |
|
55 |
49 |
56 protected: |
50 protected: |
57 void polish( HbStyleParameters& params ); |
51 void polish( HbStyleParameters& params ); |
58 |
52 |
59 private: |
53 private: |