<div class="gmail_quote">On Mon, Jan 16, 2012 at 9:40 PM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Saturday 14 January 2012, Mark wrote:<br>
> Hi,<br>
><br>
> This is just a mail to inform people that I'm working on auto completion<br>
> for QML.<br>
> Initially this was meant for my Breadcrumbbar that i'm also making for QML,<br>
> but after making the completion logic in C++ i figured that i might as well<br>
> make a generic version that can be used to autocomplete about anything.<br>
><br>
> Work log (AutoComplete):<br>
> - C++ side auto completion: done<br>
> - Auto completion QML component (AutoCompleter): todo<br>
> - Ability to use "AutoCompleter" with TextField and a "dropdown" (where is<br>
> that QML plasma component?): todo<br>
<br>
</div>comboboxes aren't supported at the moment, no<br>
<br>
good job on the autocompletition tough<br>
that should be provided transparently in textfield i think..<br>
<br></blockquote><div>Thanx, but remember that only the C++ side works at the moment, there is nothing for it in QML.. Yet!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


still wondering how to do that, if try to stick with the desktop components<br>
implementation that can still change every day or trying something new<br>
altogether<br></blockquote><div><br></div><div>I would go for an API like this (just doing it out of my head..):</div><div><br></div><div>AutoCompleter</div><div>{</div><div>  id: autoCompleter</div><div>}</div><div><br>

</div><div>TextField</div><div>{</div><div>  completer: autoCompleter</div><div>}</div><div><br></div><div>And that should be all that's needed to give tome TextField autocompletion. That is without discussing the internal workings of AutoCompleter since i still need to make that ;)</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Work log (BreadcrumbBar):<br>
> - C++ side: 90% done (uses the C++ AutoComplete as described above along<br>
> with KIO)<br>
> - Binding it to QML: todo<br>
> - BreadcrumbBar qml side: 90% done (no auto completion in it yet and there<br>
> is no theme for it)<br>
><br>
> My goal with the breadcrumbbar is to make it work exactly like the bar in<br>
> Dolphin. Only then written in QML and with fancy animations and that is<br>
> working really well at the moment ^_^<br>
><br>
<br>
</div>what i am wondering a bit is the exact use case for it.<br>
since plasmoids are usually intended to be really simple uis, this seems quite<br>
complex.<br>
<br>
and i'm not saying that is not useful per se. i'm just wondering what was your<br>
use case.<br>
<br>
do you have a plasmoid that would use that? if so, should maybe be its private<br>
component for a while untilthere is a good use case to share it with others<br>
and thus put it in an extended components library..<br></blockquote><div><br></div><div>You really want to know that do you..</div><div>Oke, this element is - at the moment - for pure selfish reasons. In the longer term i want to make a very fancy QML only file browser (see it like dolphin on steroids that themselves are on steroids ^_-) and for that i need a breadcrumbbar. Please don't tell me "don't do it" or whatever. It's just a technological idea i'm having that i'm trying to make piece by piece.</div>

<div><br></div><div>For example, i want to be able to make this a real app: <a href="http://fc01.deviantart.net/fs70/f/2011/269/d/7/explorer_mockup_by_ap_graphik-d2nmjj4.png">http://fc01.deviantart.net/fs70/f/2011/269/d/7/explorer_mockup_by_ap_graphik-d2nmjj4.png</a> though that has some usability issues ;)</div>

<div><br></div><div>But there is a usecase for it! Just look at kickoff-qml. That app is using a breadcrumbbar and now we already have 2 apps with breadcrumbs and 2 different breadcrumbbar types: dolphin and kickoff-qml. Who knows how many more apps are going to be there in a few years. My version could (and probably should) be used as a "default" breadcrumb version. And yes, this should certainly go in "plasmaextracomponents" (i like that name)</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5">Marco Martin<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>
</div></div></blockquote></div><br>