• May 02, 2024, 02:48:47 am

Author Topic: QML Silica Elements  (Read 3794 times)

0 Members and 1 Guest are viewing this topic.

Offline yeatse

  • Developer
  • Viewer
  • ****
  • Posts: 8
  • Reputation: 6
  • Symbian Power User
  • Current Phone: : 808
QML Silica Elements
« 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]

Offline huellif

  • Developer
  • Christmas Santa
  • ****
  • Posts: 402
  • Reputation: 212
Re: QML Silica Elements
« Reply #1 on: October 14, 2013, 11:54:23 pm »
wow that's really cool :)

will try it in my apps, nice share!

Offline symster

  • Developer
  • Happy Member
  • ****
  • Posts: 214
  • Reputation: 6
  • Symbian Power User
  • Current Phone: : Nokia N8 Soon Nokia 808
Re: QML Silica Elements
« Reply #2 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?

Offline Allstar12345

  • Allstar Software Founder
  • Administrator
  • Forum Genius
  • ******
  • Posts: 5,235
  • Reputation: 812
    • Allstar Software
  • Current Phone: : OnePlus 8 Pro, Xperia 10, Nexus 6p, Jolla Phone, Nokia N8, Nokia 808 PureView, BlackBerry Z30
Re: QML Silica Elements
« Reply #3 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();

Offline symster

  • Developer
  • Happy Member
  • ****
  • Posts: 214
  • Reputation: 6
  • Symbian Power User
  • Current Phone: : Nokia N8 Soon Nokia 808
Re: QML Silica Elements
« Reply #4 on: October 20, 2013, 08:52:28 pm »
Something like flickableid.scrollToTop();
Exactly,so all i need to do is use that function?

Offline Allstar12345

  • Allstar Software Founder
  • Administrator
  • Forum Genius
  • ******
  • Posts: 5,235
  • Reputation: 812
    • Allstar Software
  • Current Phone: : OnePlus 8 Pro, Xperia 10, Nexus 6p, Jolla Phone, Nokia N8, Nokia 808 PureView, BlackBerry Z30
Re: QML Silica Elements
« Reply #5 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 ;)

Offline symster

  • Developer
  • Happy Member
  • ****
  • Posts: 214
  • Reputation: 6
  • Symbian Power User
  • Current Phone: : Nokia N8 Soon Nokia 808
Re: QML Silica Elements
« Reply #6 on: October 20, 2013, 09:16:03 pm »
Sure,will report back here once i find out.