I'm having a nasty question, and I don't know how to solve the problem. I have created a graphics view, in which I want to display graphical items, movies, SVG items, etc. Then I also have a scheduled, that is going to show and hide certain graphical items on the graphics view.
No my question: what is the best way to do this? 1. I have created a QTimer, and when the time expires, a signal is emitted and my method is executed. But it seems that the code behind it is executed in the same thread as my main method. This means that the current animation in my graphics view shows glitches sometimes, and the animation happens not fluent. Is it correct that it is executed in the same thread? 2. Then I was thinking that I could maybe execute my code in another thread. But how do I make the code execute in another thread? Is there an easy way to do this, or do I have to attach my method to the signal, and then create my own thread in my method? Or is there a way to force that the method executed by the signal is always in a new thread? 3. Or am I maybe thinking of a completely wrong solution and does someone has a better idea? /Dimitri _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
