Active Topics

 



Notices


Reply
Thread Tools
Ancelad's Avatar
Posts: 1,470 | Thanked: 2,770 times | Joined on Jun 2012 @ Russia, 96
#41
Try to replace
Code:
property int value: windDirectionIcon.rotation
to
Code:
property int value: model.windDirection
__________________
Twitter: @iAncelad
Try my SailfishOS theme for Nokia N9
 

The Following 2 Users Say Thank You to Ancelad For This Useful Post:
Markkyboy's Avatar
Posts: 310 | Thanked: 427 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#42
Originally Posted by Ancelad View Post
Try to replace
Code:
property int value: windDirectionIcon.rotation
to
Code:
property int value: model.windDirection
That looks like it fixed it!, I'm certain that I'd already tried that, but clearly I didn't!, nicely done Ancelad. I guess we can apply the same with windspeed to complete the ensemble. So we can have weather image, weather destination & temp + windspeed & wind direction, now to make the look presentable on the lockscreen.

I have also been playing UV, Sunrise and Sunset, prompted by discussion on tjc regarding more usable weather data; https://together.jolla.com/question/...r-application/

Thanks again!, I can't believe the remedy was so simple, but i had the same thing when attempting to make windDirection as text, I got so close, but input from others is always welcomed and of course, it helps when others are interested in particular apps.
__________________
| Openrepos | T.J.C. |

Don't just sit there standing around, pick up a shovel and sweep up!
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Ancelad's Avatar
Posts: 1,470 | Thanked: 2,770 times | Joined on Jun 2012 @ Russia, 96
#43
I think you should share all concepts once together to see what you want instead one-feature requests because probably they will not work together at all.
__________________
Twitter: @iAncelad
Try my SailfishOS theme for Nokia N9
 

The Following User Says Thank You to Ancelad For This Useful Post:
Markkyboy's Avatar
Posts: 310 | Thanked: 427 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#44
Originally Posted by Ancelad View Post
I think you should share all concepts once together to see what you want instead one-feature requests because probably they will not work together at all.
Agreed.....when I get them working satisfactorily, if at all. I hear what you're saying, there is limited room on the current weather page and not all info is useful.

My main reason for asking the folks at Jolla, was so I didn't waste my time trying to make things work that are not available or not included because of the package type Jolla paid Foreca for.

Most of what I do (poorly) is for self gratification, unless I happen to find something that works reliably (wind direction text), then I like to share, just as I believe you do. My reward is simply making something happen that didn't happen before, I think of it as a reward system, part of my encouragement to keep learning about the in-depth world of coding.

While I think of it, the 'if/else' statement system I adopted for Wind Direction Text patch I wondered if there is there another way of calling on that data, by that I mean, something less clunky, less 'amateurish', something smarter than 'if/else'...?
__________________
| Openrepos | T.J.C. |

Don't just sit there standing around, pick up a shovel and sweep up!
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Ancelad's Avatar
Posts: 1,470 | Thanked: 2,770 times | Joined on Jun 2012 @ Russia, 96
#45
If/else can be replaced by ?/:, but it is the same thing.
__________________
Twitter: @iAncelad
Try my SailfishOS theme for Nokia N9
 

The Following User Says Thank You to Ancelad For This Useful Post:
Amboss's Avatar
Posts: 177 | Thanked: 268 times | Joined on May 2010 @ Mittelfranken, Germany
#46
In some languages there is a select/case syntax. Don't know, if that's available here.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:00.