[SailfishDevel] SectionScroller QML Component
Ruediger Gad
r.c.g at gmx.de
Tue Jun 18 20:15:29 UTC 2013
Here are some snippets that had been originally posted to the meego
forum: http://forum.meego.com/showthread.php?t=4600
Unfortunately, the forum is down and so is the original source.
Luckily, I have the code still in some of my projects, e.g.:
https://github.com/ruedigergad/meepasswords/blob/master/qml/common/FastScroll.qml
https://github.com/ruedigergad/meepasswords/blob/master/qml/common/FastScroll.js
The original version is from a meego forum user with nick "ph5".
This version was changed by me in order to remove dependencies to
com.nokia.meego and thus can be used with "plain" QML.
Note that my version (the QML file) depends on two properties:
primaryFontSize and primaryBorderSize, which should be defined in some
parent widget.
Plus, my version uses a user defined option in order to allow the scroll
bar be placed left or right. Look for settingsAdapter.fastScrollAnchor
in the QML file.
With respect to licensing: the original author posted this code without
any license or copyright information. So, my assumption is that this is
some sort of "public domain" or "use as-is" case.
hth,
Ruediger
On 06/10/2013 02:36 PM, Gabriel Böhme wrote:
> Maybe you could do something like it was shown in the contact app,
> show just favorites and a-z (don't have the link atm). Could be a nice
> solution, or build your own component to get the result you wish. ;)
>
> Gabriel.
>
> --
>
> Von meinem Nokia N9 gesendet
>
>
> Hendrik Borghorst schrieb am 10.06.13 13:46:
>
> Hello guys,
>
> I've ported my symbian musicpd remote control client (qmobilempd) to
> sailfishos
> and it is working very fine. But I miss an important component.
>
> The symbian components had a component called SectionScroll which made
> it easy
> to scroll between sections in long lists. I think this is needed because it
> takes very long to reach items in long lists otherwise.
>
> Am I missing an alternative perhaps?
>
> greetings and thanks for your help
>
> Hendrik
> _______________________________________________
> SailfishOS.org Devel mailing list
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
--
http://ruedigergad.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4441 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20130618/2e7e0bf5/attachment.bin>
More information about the Devel
mailing list