Plasma QML scrollbar

Daker Fernandes Pinheiro dakerfp at gmail.com
Wed Aug 10 10:03:49 UTC 2011


2011/8/10 Nuno Pinheiro <nuno.pinheiro at kdab.com>

> **
>
> A Quarta, 10 de Agosto de 2011 06:08:56 Shaun Reich você escreveu:
>
> > How can I get a scrollbar, preferably one that fades away when not
>
> > needed and such, to be displayed in qml?
>
> >
>
> > Does the QML components gsoc touch on that?
>

The ScrollBar component has exactly this behaviour.
I'm still working on a separated branch (plasma/declarative) in kde-runtime.
But I will do a merge and a documentation release until next week's end.
Until there you can get the component from my branch and use it in your
project.
Shouldn't be hard to change it later, because it will only require you to
add a proper import.
In the same branch at plasma/declarativeimports/tests/gallery you will find
examples of usage of the current components.


>  >
>
> > I ask because I had an urge to port the {konq, konsole, kate} session
>
> > applets to QML.
>
> >
>
> > So I did that tonight, so far the konsole one works quite well -- but
>
> > I'm in need of a scrollbar for the listview.
>
> >
>
> > (since obviously when you have a large number of items, you can't just
>
> > flick everywhere.)
>
>
> if you have the size of what ever you are scroling and can control the
> actula position of it, making a scroolbar should be rather trivial.
>
>
>
>
> --
>
> Nuno Pinheiro | nuno.pinheiro at kdab.com | UI Designer
>
> Klarälvdalens Datakonsult AB, a KDAB Group company
>
> KDAB - Qt Experts - Platform-independent software solutions
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
> Happy hacking,

Daker Fernandes Pinheiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110810/e7ac86c1/attachment.html>


More information about the Plasma-devel mailing list