<div class="gmail_quote">2011/8/10 Nuno Pinheiro <span dir="ltr"><<a href="mailto:nuno.pinheiro@kdab.com">nuno.pinheiro@kdab.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>
<div style="font-family:'Monospace';font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">A Quarta, 10 de Agosto de 2011 06:08:56 Shaun Reich você escreveu:</p><div class="im">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> How can I get a scrollbar, preferably one that fades away when not</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> needed and such, to be displayed in qml?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> Does the QML components gsoc touch on that?</p></div></div></blockquote><div><br>The ScrollBar component has exactly this behaviour.<br>

I'm still working on a separated branch (plasma/declarative) in kde-runtime.<br>But I will do a merge and a documentation release until next week's end.<br>Until there you can get the component from my branch and use it in your project.<br>

Shouldn't be hard to change it later, because it will only require you to add a proper import.<br>In the same branch at plasma/declarativeimports/tests/gallery you will find examples of usage of the current components.<br>

 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="font-family: 'Monospace'; font-size: 9pt; font-weight: 400; font-style: normal;">

<div class="im">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I ask because I had an urge to port the {konq, konsole, kate} session</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> applets to QML.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> So I did that tonight, so far the konsole one works quite well -- but</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> I'm in need of a scrollbar for the listview.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> (since obviously when you have a large number of items, you can't just</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> flick everywhere.)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p>
</div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">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. </p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p><font color="#888888">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Nuno Pinheiro | <a href="mailto:nuno.pinheiro@kdab.com" target="_blank">nuno.pinheiro@kdab.com</a> | UI Designer </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Klarälvdalens Datakonsult AB, a KDAB Group company</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">KDAB - Qt Experts - Platform-independent software solutions</p></font></div><br>_______________________________________________<br>


Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote><div>Happy hacking,<br> <br></div></div>Daker Fernandes Pinheiro