From aee65350437770b22b289e2c7ec5a5a4436e39a6 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 25 Sep 2011 19:52:33 +0200 Subject: 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. --- src/kitemviews/kitemlistcontainer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kitemviews/kitemlistcontainer.h') diff --git a/src/kitemviews/kitemlistcontainer.h b/src/kitemviews/kitemlistcontainer.h index 333f01de7..36ac9753e 100644 --- a/src/kitemviews/kitemlistcontainer.h +++ b/src/kitemviews/kitemlistcontainer.h @@ -62,7 +62,8 @@ private slots: void slotViewChanged(KItemListView* current, KItemListView* previous); void slotAnimationStateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); void scrollTo(qreal offset); - void updateScrollBars(); + void updateScrollOffsetScrollBar(); + void updateItemOffsetScrollBar(); private: void initialize(); -- cgit v1.3.1