maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   pyQT4 + "normal" Maemo 5 Window - Howto? (https://talk.maemo.org/showthread.php?t=75059)

blck 2011-07-19 02:08

pyQT4 + "normal" Maemo 5 Window - Howto?
 
Hi,
I'm trying to build an application, which has basically one Button. When this Button is pressed a new window should be displayed, but not as a new window. :rolleyes:
What I want to do is the following (e.g. in Contacts). When you open contacts you have all contacts displayed. If you now choose a contact, it opens and a back arrow is displayed in the upper right corner. How is it done?
Is it the QStackedWidget? If yes can someone please show me a code-part, which uses it?


Edit:
Ok found a sniplet. But is it possible to do this outside of the Maemo5 SDK (because he does not know gtk and hildon).
Thanks,
Blck

jackburton 2011-07-19 19:02

Re: pyQT4 + "normal" Maemo 5 Window - Howto?
 
You can probably adapt the C++ example code here http://doc.qt.nokia.com/qt-maemo-4.7...edwindows.html to be used in pyQT. I think pySide is the preferred pyQt implementation IIRC.


All times are GMT. The time now is 22:55.

vBulletin® Version 3.8.8