![]() |
Re: [ANNOUNCE]: SleepAnalyser
Quote:
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. |
Re: [ANNOUNCE]: SleepAnalyser
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. |
Re: [ANNOUNCE]: SleepAnalyser
Quote:
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. |
Re: [ANNOUNCE]: SleepAnalyser
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? |
Re: [ANNOUNCE]: SleepAnalyser
@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. |
Re: [ANNOUNCE]: SleepAnalyser
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 |
Re: [ANNOUNCE]: SleepAnalyser
Quote:
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. |
Re: [ANNOUNCE]: SleepAnalyser
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. |
Re: [ANNOUNCE]: SleepAnalyser
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. |
Re: [ANNOUNCE]: SleepAnalyser
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. |
All times are GMT. The time now is 17:20. |
vBulletin® Version 3.8.8