PDA

View Full Version : A question about animation...



lar0che
7th August 2010, 07:20
Hi guys,

For a project I need to create an attractive front-end for a digital dashboard (which is connected wirelessly to an accelerometer inside a wheel of a car, with other bits and pieces like AVRs etc).

I was just wondering, IF I were to have a constant stream of information on something like speed, could I use Qt to create a live speedometer with an eased, animated needle? OR, would I be able to show for example, a bar which grows in size with the number provided from the sensor's AVR?

Or is this the wrong framework for me? It appears to be an interface builder and much more, but I haven't seen anything similar to what I will be attempting.

Many thanks...

Edit: Is this my answer? http://bit.ly/9EJ4WY

norobro
7th August 2010, 08:03
Take a look at Qwt (widgets (http://qwt.sourceforge.net/controlscreenshots.html))

There is a Qwt sub-forum on this site under programming.

Lykurg
7th August 2010, 08:03
Hi, there is no need to use short urls. There is also a tag.

And Qt is the right framework for you. You can achieve what you want with Qt. I remember a demo with a svg speedometer but I can't find it right now...

Lykurg
7th August 2010, 08:18
Ha, found a youtube video. The sources are surly can be found at the qt labs blog, I guess: http://www.youtube.com/watch?v=Fr5FuGhTqm8

lar0che
8th August 2010, 06:22
Guys, that was exactly what I'm looking for.

Finally my Qt "troll fuel" stubbie holder is justified. :)

I will probably hang around here a bit more while I'm learning the framework. I'm sure there is a wealth of knowledge here.