Reply
Thread Tools
trayhoper's Avatar
Posts: 149 | Thanked: 72 times | Joined on Mar 2012 @ Istanbul,Turkey
#1
Hello everybody.I need some help to design a basic UI.I designed it but don't know how to make connection between my python script and ui.

And also my python script uses mechanize to fill inputs on website.I also don't know how to include it in my debian package.

I living in Turkey and this script is showing my bus card's balance basicly via web.So this app is actually very usefull if we can deploy it.

I want help from you guys to do it.Anyone can help ? Pleast contact me
 
Posts: 1,326 | Thanked: 1,524 times | Joined on Mar 2010
#2
You might want to take a look ate the Qt SDK and run your script through pyside (a built in feature). The SDK also come with a few basic calculator demos which might be of some use to you?

It may also help others to assist you if you were to attach a sketch of your interface to your post so we may have a better idea of your needs?

hope that helps
 

The Following User Says Thank You to MINKIN2 For This Useful Post:
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#3
Which platform? Maemo 4? Maemo 5? MeeGo Harmattan?

For Maemo 4, I've done a small application that also uses Mechanize: http://thp.io/2008/smpy/

Also, here is another one, for Maemo 4 and Maemo 5: http://thp.io/2009/naranjito/

For MeeGo Harmattan, I recommend using PySide and QML. There's a tutorial available here (it's for MeeGo in general, but in terms of Python integration applies to Harmattan as well): http://thp.io/2010/meego-python/

To get good integration into the N9 UI, you should use MeeGo Qt Components for Harmattan (on the QML side, the Python integration stays the same): http://www.developer.nokia.com/Commu...ick_Components
 

The Following 5 Users Say Thank You to thp For This Useful Post:
trayhoper's Avatar
Posts: 149 | Thanked: 72 times | Joined on Mar 2012 @ Istanbul,Turkey
#4
Thank both of you , there isn't much tutorial in Turkish , but thp's tutorial pdf document was really helpfull.I'm using N9 (Harmattan) , so decided to develop the app to harmattan.

But i still don't know how to integrate pyside into qml.When i create a new project on Qt Creator it shows only .cpp files and i don't use C++ :/

Last edited by trayhoper; 2012-06-12 at 17:08.
 
Reply


 
Forum Jump


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