src/hbwidgets/sliders/hbslidertickmarks_p.h
changeset 3 11d3954df52a
parent 0 16d8024aca5e
child 6 c3690ec91ef8
equal deleted inserted replaced
2:06ff229162e9 3:11d3954df52a
    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: