Re: Python plasmoid configuration interfaces and ui files?

2009-11-08 Thread Yuen Hoe Lim
Thanks for the response guys. I don't know anything about the python bindings, but in javascript, plasmoid > config works like this: > http://chani.wordpress.com/2009/02/07/adventures-in-plasmaland-part-4/ > > That looks kinda like it :) will try it out, thanks Jason "moofang" Lim Yuen Hoe h

Re: Python plasmoid configuration interfaces and ui files?

2009-11-08 Thread Chani
On November 8, 2009 02:59:59 Luca Beltrame wrote: > In data domenica 08 novembre 2009 11:50:10, Qwerty Maniac ha scritto: > > Perhaps you're looking for the UI -> Python conversion script, like C++s' > > uic? > > Notice that pyuic4 only works with Qt widgets. To use KDE's widgets from ui > files,

Re: Python plasmoid configuration interfaces and ui files?

2009-11-08 Thread Luca Beltrame
In data domenica 08 novembre 2009 11:50:10, Qwerty Maniac ha scritto: > Perhaps you're looking for the UI -> Python conversion script, like C++s' > uic? Notice that pyuic4 only works with Qt widgets. To use KDE's widgets from ui files, pykdeuic4 should be used instead. signature.asc Descriptio

Re: Python plasmoid configuration interfaces and ui files?

2009-11-08 Thread Qwerty Maniac
Perhaps you're looking for the UI -> Python conversion script, like C++s' uic? It's called 'pyuic4' for PyQt4 and it converts a given .ui file to its .py equivalent, which you can then use just as in C++. Read more: http://riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#pyuic4 (Also rea

Python plasmoid configuration interfaces and ui files?

2009-11-08 Thread Yuen Hoe Lim
Hi, So how do .ui files come in the picture with creating configuration interface ui in python (and in general scripted) plasmoids? The tutorials I find on techbase do not treat this issue, and before this I have mainly been overriding the Plasma::Applet::showConfigurationInterface to create a set

Re: Python plasmoid configuration

2009-05-17 Thread Aaron J. Seigo
On Friday 15 May 2009, Ontje Lünsdorf wrote: > The next problem I'm facing: I need the engine to disconnect to KDirWatch > if there are no more applets observing a directory. I thought overriding > disconnectSource would be the right way to go. But it seems impossible to > do with the python plasma

Re: Python plasmoid configuration

2009-05-15 Thread Ontje Lünsdorf
Hi, Am Donnerstag, 14. Mai 2009 22:23:44 schrieb Aaron J. Seigo: > that's the preferred way: the name describes the results. not unlike one a > http url with a query. :) Hah, I was on the right track :D The next problem I'm facing: I need the engine to disconnect to KDirWatch if there are no mor

Re: Python plasmoid configuration

2009-05-14 Thread Aaron J. Seigo
On Thursday 14 May 2009, Ontje Lünsdorf wrote: > My plasmoid is called TestFest and it's a DataEngine which monitors a > sourcecode directory for file changes and reruns a testsuite (currently cool... > As each applet can be configured for a different directory I need to > communicate that inform

Re: Python plasmoid configuration

2009-05-14 Thread Ontje Lünsdorf
Hi, thanks Aaron, configuration is now working :) My plasmoid is called TestFest and it's a DataEngine which monitors a sourcecode directory for file changes and reruns a testsuite (currently only python testsuite) upon a change. According to the success/fail ratio the applet will show a pictu

Re: Python plasmoid configuration

2009-05-05 Thread Aaron J. Seigo
On Tuesday 05 May 2009, Ontje Lünsdorf wrote: > Hi all, > > first of all: Hooray for the plasma desktop! This is great and neat stuff. > I really enjoyed hacking on this so far. > > I am writing a Python plasmoid just for fun and want to integrate a > configuration dialog. I'm a bit confused which

Python plasmoid configuration

2009-05-05 Thread Ontje Lünsdorf
Hi all, first of all: Hooray for the plasma desktop! This is great and neat stuff. I really enjoyed hacking on this so far. I am writing a Python plasmoid just for fun and want to integrate a configuration dialog. I'm a bit confused which is the correct way to go. There is the configScheme() m