What is the best/most considrable way to queue fired connections in one thread to not freeze the gui?
E.g. I have a QGraphicsScene where I can freely move QGraphicsItem. I want to start a time consuming claculation with the current Item position. But one single calculation is fast enough to not recogize the gui freeze.
So, just connecting to itemChange() afte doing setFlag(QGraphicsItem::ItemSendsScenePositionChanges, true); is too expensive: the GUI freezes because of new calculations at every move.
I want to queue the connection to just fire, let's say every 500ms, not on every move. (Or after 500ms of no user input)