diff options
| author | Peter Penz <[email protected]> | 2011-09-25 19:52:33 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-25 19:55:42 +0200 |
| commit | aee65350437770b22b289e2c7ec5a5a4436e39a6 (patch) | |
| tree | 39e758fd80a19112144417c470862e26d1a33d17 /src/kitemviews/kitemlistviewanimation_p.h | |
| parent | 077ec63f58ff1d58ae56654b08e0f8ee6f5ae8e8 (diff) | |
Provide scrollbar for large items
If an item does not fit into the available width/height a scrollbar
should be provided (e.g. typically this represents the horizontal
scrollbar in the details-view where the width can be larger than
the than the visible width).
Currently the interaction with the scrollbar is not implemented but
this will be a quite minor task in comparison to this patch.
Diffstat (limited to 'src/kitemviews/kitemlistviewanimation_p.h')
| -rw-r--r-- | src/kitemviews/kitemlistviewanimation_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kitemviews/kitemlistviewanimation_p.h b/src/kitemviews/kitemlistviewanimation_p.h index 0bf54d296..b3a95a871 100644 --- a/src/kitemviews/kitemlistviewanimation_p.h +++ b/src/kitemviews/kitemlistviewanimation_p.h @@ -49,8 +49,8 @@ public: void setScrollOrientation(Qt::Orientation orientation); Qt::Orientation scrollOrientation() const; - void setOffset(qreal offset); - qreal offset() const; + void setScrollOffset(qreal scrollOffset); + qreal scrollOffset() const; void start(QGraphicsWidget* widget, AnimationType type, const QVariant& endValue = QVariant()); @@ -70,7 +70,7 @@ private: enum { AnimationTypeCount = 4 }; Qt::Orientation m_scrollOrientation; - qreal m_offset; + qreal m_scrollOffset; QHash<QGraphicsWidget*, QPropertyAnimation*> m_animation[AnimationTypeCount]; }; |
