Hi,

I already saw a QTimer but wasn't sure if I could use it without problems.

Then you can't access the main loop? How can I make a function and call it every second or every milisecond?