[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Heads up, working on autocompletion and breadcrumbbar!
From:       Mark <markg85 () gmail ! com>
Date:       2012-01-14 15:21:15
Message-ID: CAPd6JnGmf1Z9o3htRG2P0Q2EV-ex-4u9g1hCKF=aVz+mdbG9_A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

This is just a mail to inform people that I'm working on auto completion
for QML.
Initially this was meant for my Breadcrumbbar that i'm also making for QML,
but after making the completion logic in C++ i figured that i might as well
make a generic version that can be used to autocomplete about anything.

Work log (AutoComplete):
- C++ side auto completion: done
- Auto completion QML component (AutoCompleter): todo
- Ability to use "AutoCompleter" with TextField and a "dropdown" (where is
that QML plasma component?): todo

Work log (BreadcrumbBar):
- C++ side: 90% done (uses the C++ AutoComplete as described above along
with KIO)
- Binding it to QML: todo
- BreadcrumbBar qml side: 90% done (no auto completion in it yet and there
is no theme for it)

My goal with the breadcrumbbar is to make it work exactly like the bar in
Dolphin. Only then written in QML and with fancy animations and that is
working really well at the moment ^_^

I'm not using QCompleter or KUrlCompletion because both are way to complex
for auto completion needs. I have it nearly all working in max 200 lines of
code! Not something i can say for KUrlCompletion:
http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/kurlcompletion_8cpp_source.html

QCompleter was also not usable since i didn't want to use a model for this.
The classes i made just return a QStringList with the result and emit a
signal as soon as they find a match along with a signal to indicate it's
done searching.

I do have a question with this.. The QML files and binding should probably
go in kde-runtime, but i'm guessing not in "plasmacomponents".. Do i need
to make a new folder called "plasmaextracomponents" for this?
And where do i need to place the C++ files? in kdelibs? (where exactly) or
in kde-runtime along with the bindings in "plasmaextracomponents"?

As soon as i know that i can make the required branches and put the code
somewhere visible.

Kind regards,
Mark

[Attachment #5 (text/html)]

Hi,<div><br></div><div>This is just a mail to inform people that I&#39;m working on \
auto completion for QML.</div><div>Initially this was meant for my Breadcrumbbar that \
i&#39;m also making for QML, but after making the completion logic in C++ i figured \
that i might as well make a generic version that can be used to autocomplete about \
anything.</div>

<div><br></div><div>Work log (AutoComplete):</div><div>- C++ side auto completion: \
done</div><div>- Auto completion QML component (AutoCompleter): todo</div><div>- \
Ability to use &quot;AutoCompleter&quot; with TextField and a &quot;dropdown&quot; \
(where is that QML plasma component?): todo</div>

<div><br></div><div>Work log (BreadcrumbBar):</div><div>- C++ side: 90% done (uses \
the C++ AutoComplete as described above along with KIO)</div><div>- Binding it to \
QML: todo</div><div>- BreadcrumbBar qml side: 90% done (no auto completion in it yet \
and there is no theme for it)</div>

<div><br></div><div>My goal with the breadcrumbbar is to make it work exactly like \
the bar in Dolphin. Only then written in QML and with fancy animations and that is \
working really well at the moment ^_^</div><div><br></div>

<div>I&#39;m not using QCompleter or KUrlCompletion because both are way to complex \
for auto completion needs. I have it nearly all working in max 200 lines of code! Not \
something i can say for KUrlCompletion: <a \
href="http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/kurlcompletion_8cpp_source.h \
tml">http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/kurlcompletion_8cpp_source.html</a></div>


<div><br></div><div>QCompleter was also not usable since i didn&#39;t want to use a \
model for this. The classes i made just return a QStringList with the result and emit \
a signal as soon as they find a match along with a signal to indicate it&#39;s done \
searching.</div>

<div><br></div><div>I do have a question with this.. The QML files and binding should \
probably go in kde-runtime, but i&#39;m guessing not in \
&quot;plasmacomponents&quot;.. Do i need to make a new folder called \
&quot;plasmaextracomponents&quot; for this?</div>

<div>And where do i need to place the C++ files? in kdelibs? (where exactly) or in \
kde-runtime along with the bindings in \
&quot;plasmaextracomponents&quot;?</div><div><br></div><div>As soon as i know that i \
can make the required branches and put the code somewhere visible.</div>

<div><br></div><div>Kind regards,</div><div>Mark</div>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic