From dbe2152912cc58f1d2bfba187175ec0e4b3e4761 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 18 Aug 2011 23:11:16 +0200 Subject: Provide basic rubberband functionality This is just a rough draft: The rubberband gets visible and an automatic scrolling is done if the autoscroll-margins have been reached. However currently no items get selected yet. Currently the autoscrolling has a severe bug if the scrollbars are manually changed before or after a rubberband selection. --- src/kitemviews/kitemlistcontainer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kitemviews/kitemlistcontainer.h') diff --git a/src/kitemviews/kitemlistcontainer.h b/src/kitemviews/kitemlistcontainer.h index e71a7b083..0cda436d0 100644 --- a/src/kitemviews/kitemlistcontainer.h +++ b/src/kitemviews/kitemlistcontainer.h @@ -59,6 +59,7 @@ protected: private slots: void slotModelChanged(KItemModelBase* current, KItemModelBase* previous); void slotViewChanged(KItemListView* current, KItemListView* previous); + void scrollTo(qreal offset); void updateScrollBars(); private: -- cgit v1.3.1