How to detect when a GUI application has been idle, (ie, no user interaction), for a period of time ?
I have n number of Qt Screens , I want to bring Date-Time scree
According to QT Documentation :
To make your application perform idle processing (i.e. executing a special function whenever there are no pending events), use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents().
So you need to create a QTimer with zero timeout interval and connect it to your slot that is called when application is idle.