View Single Post
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#50
Originally Posted by eitama View Post
Hello krk,

I'd like to write my own PyQt widget, and I didn't really find a good doc yet on how to do it.

My steps would be :
1. Use QT Desinger to design the widget and it's configuration window.
2. Use Pyuic4 to create the PY file from the UI file
3. Add functionality to the py file with some editor using py code
4. Now how do I make it run like a widget?

Thx.
Eitam.
Im not an expert with Python and developing using PyQT, but in QT there was this
widget attribute(WA_QMaemo5DesktopApplet) that was available for a brief while and that had worked. This could have probably been used to set your widget as a destkop applet in python.
But this has been removed, check my post here.

Maybe you could still try using the HD_TYPE_HOME_PLUGIN_ITEM atom ive mentioned in the post. Thats what I had to revert to.
__________________
Developer of :
Buddy - budget/expense manager ( website )
Showtime - a telly channel listing viewer/reminder ( website )
Travelapp - london underground status/planner ( website )
Batlevel - desktop widget for battery level ( website )

“I hear and I forget. I see and I remember. I do and I understand.”