![]() |
python qt home widgets
Hello,
does anyone have an example / sample code of using python + qt to create a home widget? I've seen example using gtk + hildon, but my understanding is that going forward qt will be "the" toolbox on nokia. Any help would be appreciated. |
Re: python qt home widgets
Hi,
with Qt 4.5 you need a workaround for desktop widgets, which doesn't make much sense to integrate in the python-bindings, as attila77 stated in this thread. In 4.6 it will be easier. I will try to get together an example on how to do that. Daniel |
Re: python qt home widgets
Thanks Daniel.
I was looking at pyside's documentation regarding qdesktopwidget class: http://www.pyside.org/docs/pyside/Py...topWidget.html Is this the class I should be looking at? |
Re: python qt home widgets
Quote:
Daniel |
Re: python qt home widgets
Quote:
|
Re: python qt home widgets
Quote:
Prior to this I was playing with the atom ( HD_TYPE_HOME_PLUGIN_ITEM ) in my QT code which looked real ugly in code. This is a nice move, and I hope something is available for QT status menu widgets as well soon. But , this feature was available in QT4.6 tp2 uploaded to extras-devel repo on 3Feb and QT4.6 uploaded on 10Feb has lost it, dont know if it was intentionally removed ;). How do I know ? ( my build failed :) ) , also confirmed from the source files in the repo. So I guess we need to wait before this hits the repository again. Anyways, this is still TP so that means the team is still wokring and Quim has posted a general warning for all apps using QT4.6 . |
Re: python qt home widgets
Quote:
Dont know if Python widgets behave the same way, I understand they can be added as a widget using the add widget menu, so perhaps this wont happen. |
Re: python qt home widgets
Hi,
here is a blog-post of harald with an example how to create qt homescreen widgets in Maemo5. Daniel |
Re: python qt home widgets
Quote:
I would really expect it to be an attribute like Qt::WA_Maemo5DesktopApplet instead of assuming underlying window manager (x11) details. |
Re: python qt home widgets
Quote:
I have a port of the svg cairo clock to Qt waiting to be converted to a homescreen widget. mike c |
| All times are GMT. The time now is 13:00. |
vBulletin® Version 3.8.8