Animating an image
-
Hello all,
I want to display an image for certain time interval depending on a condition.It should be like flashing an image after that time interval.I am using timers for it but can anyone suggest some good idea?
thanks in advance:) -
It depends on your underlying OS. It's not going to be realtime or at a single-digit ms resolution typically.
Depends on your use case of how reliable you need. Keep in mind that other items in the event queue can also affect how often timer ticks are processed.
See "here.":http://qt-project.org/doc/qt-4.8/QTimer.html#accuracy-and-timer-resolution
There are also some other threads on the forum here which have discussed QTimer resolution.
-
See http://qt.nokia.com/downloads/downloads#qt-lib
bq. The source code is available as a zip (260 MB) or a tar.gz (228 MB). Or visit the repository at qt.gitorious.org/qt.
It would be under .../src/declarative (and some headers strewn about)
Just a warning... There's a lot of code involved, though.
Again, though, I ask... what is it that you're trying to accomplish? If you describe what you're trying to do, we can probably give you better feedback as to whether the timer mechanism is sufficient.