equal
deleted
inserted
replaced
27 #define HBSCROLLBAR_H |
27 #define HBSCROLLBAR_H |
28 |
28 |
29 #include <hbwidget.h> |
29 #include <hbwidget.h> |
30 |
30 |
31 class HbScrollBarPrivate; |
31 class HbScrollBarPrivate; |
32 class HbStyleOptionScrollBar; |
|
33 |
32 |
34 class HB_CORE_EXPORT HbScrollBar : public HbWidget |
33 class HB_CORE_EXPORT HbScrollBar : public HbWidget |
35 { |
34 { |
36 Q_OBJECT |
35 Q_OBJECT |
37 Q_PROPERTY( qreal value READ value WRITE setValue ) |
36 Q_PROPERTY( qreal value READ value WRITE setValue ) |
66 signals: |
65 signals: |
67 void valueChanged( qreal value, Qt::Orientation orientation ); |
66 void valueChanged( qreal value, Qt::Orientation orientation ); |
68 void valueChangeRequested( qreal value, Qt::Orientation orientation ); |
67 void valueChangeRequested( qreal value, Qt::Orientation orientation ); |
69 |
68 |
70 protected: |
69 protected: |
71 void initStyleOption( HbStyleOptionScrollBar *option ) const; |
70 void initPrimitiveData(HbStylePrimitiveData *primitiveData, const QGraphicsObject *primitive); |
72 void mousePressEvent( QGraphicsSceneMouseEvent *event ); |
71 void mousePressEvent( QGraphicsSceneMouseEvent *event ); |
73 void mouseMoveEvent( QGraphicsSceneMouseEvent *event ); |
72 void mouseMoveEvent( QGraphicsSceneMouseEvent *event ); |
74 void mouseReleaseEvent( QGraphicsSceneMouseEvent *event ); |
73 void mouseReleaseEvent( QGraphicsSceneMouseEvent *event ); |
75 void timerEvent( QTimerEvent *event ); |
74 void timerEvent( QTimerEvent *event ); |
76 bool event(QEvent *event); |
75 bool event(QEvent *event); |