Code: Select all
As a special case, a QTimer with a timeout of 0 will time out as soon as all the events in the window system’s event queue have been processed. This can be used to do heavy work while providing a snappy user interface:
Code: Select all
As a special case, a QTimer with a timeout of 0 will time out as soon as all the events in the window system’s event queue have been processed. This can be used to do heavy work while providing a snappy user interface:
QTimer is used in the DraftGui.todo class (src/Mod/DraftGui.py) precisely to schedule and trigger the execution of certain commands after others. This is done to prevent crashes with the 3D view manipulation by Coin. Maybe this is interesting to you? What exactly do you want to do?
I don't have a question, I am already using this timer and thought it was worth mentioning.openBrain
And what is more precisely your question ?
It Is interesting. I was thinking this might be useful in the timing of motion simulation. It can be tough to get a call back when doing a graphic process sometimes.vocx , Maybe this is interesting to you?