Symbian-Developers

The Official Developers Section => Symbian Software Development Discussions => The Developers Section => Qt Application Development => Topic started by: yeatse on October 14, 2013, 07:54:35 pm

Title: QML Silica Elements
Post by: yeatse on October 14, 2013, 07:54:35 pm
The file attached contains three elements - SilicaListView, SilicaGridView and SilicaFlickable.
You can use these just as original ListView, GridView and Flickable. The difference is each element has a "scrollToTop" function, which can play a smooth effect to return to top of the list.
I extracted these files from Sailfish SDK and have used it in several of my apps, it works well. :)

[attachment deleted by admin]
Title: Re: QML Silica Elements
Post by: huellif on October 14, 2013, 11:54:23 pm
wow that's really cool :)

will try it in my apps, nice share!
Title: Re: QML Silica Elements
Post by: symster on October 20, 2013, 04:15:35 pm
I have a look at the files.So all i need to do is to use the "function" appropriately in my listview?
Title: Re: QML Silica Elements
Post by: Allstar12345 on October 20, 2013, 04:34:52 pm
I have a look at the files.So all i need to do is to use the "function" appropriately in my listview?

Something like flickableid.scrollToTop();
Title: Re: QML Silica Elements
Post by: symster on October 20, 2013, 08:52:28 pm
Something like flickableid.scrollToTop();
Exactly,so all i need to do is use that function?
Title: Re: QML Silica Elements
Post by: Allstar12345 on October 20, 2013, 09:04:37 pm
Exactly,so all i need to do is use that function?
Probably yes, try and find out ;)
Title: Re: QML Silica Elements
Post by: symster on October 20, 2013, 09:16:03 pm
Sure,will report back here once i find out.