[Interest] Qt5 C++ Widgets and Animated ListView

Martin Koller kollix at aon.at
Tue May 24 14:55:20 CEST 2016


On Tuesday 17 May 2016 21:21:14 Simone wrote:
> You mean that with QListView i have natively the scrolling by finger with deceleration and bouncing effect? I need exactly the same result as the QML ListView component.
> 
> If yes it seems wonderful to me..
> Do you know some examples on the web?

Just use QScroller for this.
E.g.
in the constructor of your QListView:

QScroller::grabGesture(this, QScroller::TouchGesture);

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at



More information about the Interest mailing list