Reply
Thread Tools
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#141
Originally Posted by caco3 View Post
Hi Guys
In the newest devel version I changed a lot in the ui. It now more gets into how it should be for daily usage.
I still have to figure out how to make big buttons (with QT Designer or in python).
I was told to do it with stylesheets, but how?
If you know how to do it, please let me know.

Also please still test and vote for the version 1.6-28 in testing.
It is quite stable ond has only very minor bugs. I want to get it into extras, so others also can profit from the alarm function.
Hey mate,

Just to let you know, Hildon doesn't have big buttons, you just can't do it. It's either you use plain GTK, or use Stylesheets which are a part of Qt. Horizontal-call also had this problem, and I was not able to overcome it without styling my own buttons.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#142
Hi eitama

Thank you very much for the tip.
I had a look on your application and copied one of the style sheet for testing (I just love open source).
Is there a way to get the existing hildon theme as a style sheet?
Else I will have to add a style sheet to each of my buttons to stay consistent in my app. Sadly then it will not have the same look anymore as the rest of the theme.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#143
Originally Posted by caco3 View Post
Hi eitama

Thank you very much for the tip.
I had a look on your application and copied one of the style sheet for testing (I just love open source).
Is there a way to get the existing hildon theme as a style sheet?
Else I will have to add a style sheet to each of my buttons to stay consistent in my app. Sadly then it will not have the same look anymore as the rest of the theme.
I have not found any solution for the theming issue.
I wanted big buttons and was not going to let them go.
It's better to have functionality then look'n'feel in my opinion. (not in every app).

Anyway, I couldn't find the "Maemo" stylesheet, but it's easy to customize, you can expiriement with horizontal-call.
1. Install horizontal-call
2. The stylesheets are in /opt/horizontal-call/... something i don't remember (:
3. Edit the files, restart the application. you will need to run : killall horizontal-call and start it.
4. Try out different styles till you find what you like.

You can also supply a few stylesheets, and allow a choice of 3 or 4 themes from within the app.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#144
hi caco3

question: why do you only use the X and Y values and not the Z value from the sensor data?

Can you also elaborate a bit about your choices to smooth the data over 10 seconds? I guess I can move in about a second but that will get unnoticed because of the smoothening?
 
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#145
@eitama

I made my own "Hildon" style and use it for all the buttons in my app.
So thats working quite well (check 1.6-32). For sure it can be made done nicer, but for now it works).

@mirakels:
If you lay your phone flat down, the Z axis would be to rotate it around itself.
That does not much happen while you sleep.
It would not be hard to add it, but I do not see the need for it.
It only uses more cpu and memory.

For the 10 second smooting, well, that's just a try. It could also be something else. You can change and play with it, if you want. However you might get wrong scaling in the graph (time line) as I maybe sometimes hardcoded it with 10.
Also the derivation value of 5 can maybe be improved.

I stopped playing with it as i am quite happi how it is now.

@all:
Check out 1.6-32. I moved some stuff and made bigger buttons (so sleepy people can use it ).
I am also playing with finger scrollable graphs.
I got it working, but it is still very slow. I found some infos about using bitBlt for speed up, but have to figure out how it works.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 

The Following User Says Thank You to caco3 For This Useful Post:
Posts: 19 | Thanked: 4 times | Joined on Apr 2010
#146
Hi caco3,

Both, the version updated yesterday as well as the one updated today crash to desktop before the user interface is shown. No idea, what the reason is. SleepAnalyser worked before (for night to Friday the last time).

Regards
joh
 
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#147
Originally Posted by joh View Post
Hi caco3,

Both, the version updated yesterday as well as the one updated today crash to desktop before the user interface is shown. No idea, what the reason is. SleepAnalyser worked before (for night to Friday the last time).

Regards
joh
Hi joh

Please start it in the terminal (CTRL-SHIFT-X) with the comand
"python /opt/SleepAnalyser/main.py"

Without additional informations is impossible to find the problem.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 
Posts: 3 | Thanked: 0 times | Joined on Aug 2010
#148
I also had the prob with the new update not loading up, would either just get the icon in the main menu highlighted when i click to load it and then nothnig would happen or it would appear to start loading and then quit back to the desktop.

Managed to fix it though without having to load it via terminal everytime, i installed "PyQt4 Full Install" and now it loads up fine everytime.
 
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#149
Hi all

Indeed some of the latest versions had some missing depencies.
I hope it is fixed now with 1.6-37.

Else please run
dpkg -l | grep dbus
in the terminal and give me the output.
Then I can match it with my output and see what I have but you not.
"PyQt4 Full Install" is a big package which is not really needed. I do not have it, but the apps still work.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 
Posts: 3 | Thanked: 0 times | Joined on Aug 2010
#150
Humm.. just uninstalled the "PyQt4 Full Install" so it would error out again so i can give you the output but it appears its now working without it?

I am not doing anything at all tomorrow and am quite willing to reflash my phone back to stock as i had to do it only about a week ago for some other prob i was having, then i will install sleepanalyser before anything else and give you the output so you can see what depencies are needed.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:54.