QML and DBus in plasma

2011-07-19 Thread Weng Xuetian
Hello Plasma world, I'm not quite familiar with plasmoid implementation, but I'd like to implement something in plasma with DBus. Actually I'm a input method developer, and I plan to rewrite/pick up kimpanel in kdeplasma-addons. Currently it seems that nobody maintains it anymore (I tried to

Re: QML and DBus in plasma

2011-07-19 Thread Rohan Garg
Hi Weng I've been looking into a solution for this myself as well, and the best way i could come up was using C++/Python and then using the setContextProperty to set the property of any QML objects, the code would be something like this [1][2]. I found these Qt docs [3] to be quite helpful in this

Re: QML and DBus in plasma

2011-07-19 Thread Luca Beltrame
On Tuesday 19 July 2011 16:16:21 Weng Xuetian wrote: Actually I'm a input method developer, and I plan to rewrite/pick up kimpanel in kdeplasma-addons. Currently it seems that nobody maintains Before looking at KIMpanel, you may want to take a look at KIMToy: http://kde-

Re: QML and DBus in plasma

2011-07-19 Thread Weng Xuetian
On Tue, Jul 19, 2011 at 4:25 PM, Luca Beltrame ei...@heavensinferno.net wrote: On Tuesday 19 July 2011 16:16:21 Weng Xuetian wrote: Actually I'm a input method developer, and I plan to rewrite/pick up kimpanel in kdeplasma-addons. Currently it seems that nobody maintains Before looking at

Re: QML and DBus in plasma

2011-07-19 Thread Aaron J. Seigo
On Tuesday, July 19, 2011 16:16:21 Weng Xuetian wrote: So I'd like to know that is the dataengine has some way to push the changes to plasmoid? Yes; if something is connected to a source without an update interval, and the DataEngine changes the data for that source, then the visualization is

Re: QML and DBus in plasma

2011-07-19 Thread Weng Xuetian
On Tue, Jul 19, 2011 at 5:11 PM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, July 19, 2011 16:16:21 Weng Xuetian wrote: So I'd like to know that is the dataengine has some way to push the changes to plasmoid? Yes; if something is connected to a source without an update interval, and the

Re: QML and DBus in plasma

2011-07-19 Thread Aaron J. Seigo
On Tuesday, July 19, 2011 17:24:24 Weng Xuetian wrote: Thank you very much! Seems that DataEngine is exactly what I need. Then I have another question, is dataengine load only once and being shared in the Plasma? Or this is only an option? DataEngines are always shared, yes. (well, there are