[Qt-interest] Controlling when timers run

william.crocker at analog.com william.crocker at analog.com
Fri Jan 15 12:42:41 CET 2010


> So, one possible solution to this would be to maintain a list of timers 
> and either stop these or block their signals just before you call 
> QDialog::exec() (or any other nested event loop) and then re-enable or 
> unblock their signals once QDialog::exec() returns.

The problem here is that many apparently innocuous activities
process events as a side effect. I believe the following are
examples:

    void   QStatusBar::showMessage(...)
    void QProgressBar:: ...

This pisses me off to no end.

Bill




More information about the Qt-interest-old mailing list