|
Page 5 of 20 |
|
Prev |
3 4 5
6 7 15
|
Next
| Last
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
ok figured out
hildon.hildon_gtk_window_set_progress_indicator(di alog, 1) then hildon.hildon_gtk_window_set_progress_indicator(di alog, 0) If i put Import hildon at the top, i get segmentation errors if i leave it out i get Global name 'hildon' not defined... grrrrrrrrr!! |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Quote:
Unfortunately I haven't had to deal with integrating QT into the GTK desktop yet so I can't help you out here. |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
shattered and almost time for bed!
All working fine :) As the code is small, may strip the bit i need out, and start again in QTdesigner :) - just paste them back in when needed. |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
3 Attachment(s)
changed the latest version a little bit.
made everything smaller and neater. added maemo firmware version. |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
@noobmonkey, how do you get the maemo firmware version number?
I tried os.uname() but it does not seem to return it and os.name is no help either... Hartti |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Quote:
|
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Quote:
I didnt know that (Bearing in mind i have 2 weeks of linux, and one week of python, i'd go with qwerty!) I used a completely different, longer approach lol...... Code:
var_l_MaemoV = os.popen('dpkg -l "mp-fremantle-*"').read() |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Quote:
|
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Quote:
hehe me too, but python i'm understanding :) - well, except for some lack of documentation issues, if i can't find the obvious answer, i'll hunt terminal for my answer.... :) (Googling terminal commands is soooo much easier then pymaemo stuff!!) |
Re: [Maemo 5] HealthCheck - Pymaemo/Qt - Learning to code (N900)
Ok. Calling that through os.popen() seems to work. Cool.
(I was expecting there to be a python module for getting this without command line stuff :-) Thanks qwerty12! Hartti |
| All times are GMT. The time now is 19:33. |
Page 5 of 20 |
|
Prev |
3 4 5
6 7 15
|
Next
| Last
vBulletin® Version 3.8.8