[Qt-interest] QLabel is invisible after setText()

André Somers andre at familiesomers.nl
Fri Jan 28 13:29:19 CET 2011


On Friday 28 January 2011 13:02:07 Bruno Colombet wrote:

> Ok thank you for the link.
> I'm already using threads in my application. That Widget was just to
> warn users for some unresponsive UI during relatively short time.

In that case, perhaps a QApplication::processEvents() call is all you need. I 
am not a big fan of using it in the general case, but to make sure your 
warning for a short freeze is actually painted, perhaps it would be a 
solution. A better way is of course to make sure that your UI simply does not 
become unresponsive, not even for a short while. However, I realize that that 
is not always feasable.

André



More information about the Qt-interest-old mailing list