equal
deleted
inserted
replaced
49 virtual void updateItemSizeAndSpacing(); |
49 virtual void updateItemSizeAndSpacing(); |
50 |
50 |
51 void setFrontItemPositionDelta(const QPointF& position); |
51 void setFrontItemPositionDelta(const QPointF& position); |
52 QPointF frontItemPositionDelta() const; |
52 QPointF frontItemPositionDelta() const; |
53 |
53 |
|
54 void setFrontItemElevationFactor(qreal factor); |
|
55 |
54 void enableReflections(bool enabled); |
56 void enableReflections(bool enabled); |
55 bool reflectionsEnabled() const; |
57 bool reflectionsEnabled() const; |
56 |
58 |
57 void setCenterItemArea(HgCenterItemArea *centerItemArea); |
59 void setCenterItemArea(HgCenterItemArea *centerItemArea); |
58 |
60 |
68 |
70 |
69 void calculateItemSize(); |
71 void calculateItemSize(); |
70 void onScrollingStarted(); |
72 void onScrollingStarted(); |
71 void onScrollingEnded(); |
73 void onScrollingEnded(); |
72 |
74 |
|
75 void resizeEvent(QGraphicsSceneResizeEvent *event); |
|
76 |
73 private: |
77 private: |
74 int mPrevPos; |
78 int mPrevPos; |
75 QSizeF mAutoSize; |
79 QSizeF mAutoSize; |
76 bool mAnimationAboutToEndReacted; |
80 bool mAnimationAboutToEndReacted; |
77 HgCenterItemArea *mCenterItemArea; |
81 HgCenterItemArea *mCenterItemArea; |