Active Topics

 


Reply
Thread Tools
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#71
oh and as a starter i'm trying to figure out simple things like how to get the battery status....

Seen terminal commands that bring it up, and think i need to parse that to get what i need out.... but kinda annoying there isnt what i would call a system api? - or am i being all microsofty?!

other things - like ip addresses etc....

Can find bits and bobs like this : QNetworkInterface::IsUp

But without examples that pretty much means nothing to me
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#72
Eric4 should auto-indent for you.. and have syntax highlighting and I (think) auto-completion too?
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#73
Originally Posted by noobmonkey View Post
heya... probably a stupid question....

But i understand the QT creator part (Just about) and can create a form/window screen bit.....
Is there any good tools for editing the python file? (Still struggling with the indents etc...)

Getting very confused searching for pyqt and tools....... i'm getting lost in the world of other languages/tools/code examples..... :| :|
eric4 includes a python editor and full integration with qt designer. As a noob myself I found it quite easy to get to grips with and it does a lot of the grunt work for you. In particular it generates the stub files from your ui so you can start banging code in.

See the OP for how to get started with it.

Mike C
__________________
N900_Email_Options Wiki Page
 

The Following 2 Users Say Thank You to mikec For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#74
Originally Posted by mikec View Post
eric4 includes a python editor and full integration with qt designer. As a noob myself I found it quite easy to get to grips with and it does a lot of the grunt work for you. In particular it generates the stub files from your ui so you can start banging code in.

See the OP for how to get started with it.

Mike C
and being typical, there is no easy way to install on windows... lol.. why can't people just make things easier - it's like burning through a ring of fire just to see another 500 rings of fire.......

meh...... Grumpy...... just wish common sense and simplicity was used.... (Yes being all microsofty again.....)
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#75
Originally Posted by noobmonkey View Post
and being typical, there is no easy way to install on windows... lol.. why can't people just make things easier - it's like burning through a ring of fire just to see another 500 rings of fire.......

meh...... Grumpy...... just wish common sense and simplicity was used.... (Yes being all microsofty again.....)
Try getting the iPhone SDK on your Windows.. or Linux computer .

I agree though.. something cross-platform should be easy.

There has to be good IDE's for windows for python.

I've heard good things about netbeans..
PyDev looks decent.

They don't offer the integration with QT Designer though..

For Eric there is a .zip file here:
http://sourceforge.net/projects/eric...s/eric4/stable

Find the one ending in ".zip" and has a picture of windows next to it.

Extract that somewhere and using python run the "install.py" file.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 2 Users Say Thank You to fatalsaint For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#76
wohoooooo , ok only took 5 minutes, after trying python install.py in dos and failing, i ran the python shell, and installed from there!
A hairy troll is now on my desktop!
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 

The Following User Says Thank You to noobmonkey For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#77
Originally Posted by fatalsaint View Post
Try getting the iPhone SDK on your Windows.. or Linux computer .

I agree though.. something cross-platform should be easy.

There has to be good IDE's for windows for python.

I've heard good things about netbeans..
PyDev looks decent.

They don't offer the integration with QT Designer though..

For Eric there is a .zip file here:
http://sourceforge.net/projects/eric...s/eric4/stable

Find the one ending in ".zip" and has a picture of windows next to it.

Extract that somewhere and using python run the "install.py" file.

Hehe, thanks for being patient with me - i suppose i'm soo new to it, that i'm not going to understand it at all, and i really have to go bit by bit, but i just don't like things being made difficult for the sole reason of, well, just to be difficult (Just because lots of people are experts, not all of us are!)

working my way through the funky troll setup now
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#78
Originally Posted by mikec View Post
Qt Designer/Python for Windows XP in 30 Mins

5. Connecting UI to your Application

OK now that you have done your first prog, you will want to create an app that actually does something with the UI. Jump to Fatalsaints post in this thread for your next tutorial

http://talk.maemo.org/showpost.php?p...8&postcount=59
The link in this part is invalid! Could someone update the op and fix it please?

kthxbai
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map

Last edited by El Amir; 2010-02-09 at 19:13.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#79
Originally Posted by El Amir View Post
The link in this part is invalid! Could someone update the op and fix it please?

kthxbai
Working link here .

I can't update the OP.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following 3 Users Say Thank You to fatalsaint For This Useful Post:
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#80
Originally Posted by fatalsaint View Post
Working link here .

I can't update the OP.
You the man!
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:59.