[Qt-interest] Is it safely to use delete to remove a QWidget from the display?
R. Reucher
rene.reucher at batcom-it.net
Mon Sep 14 10:27:11 CEST 2009
You should generally use more recent Qt versions and ask shorter/clearer
questions!
Anyway, to "remove a QWidget from the display", you should close() it
first. Then, if the code of your program permits it (!), you may delete
it.
When I understand your statements correctly, you are using multiple
threads. That's neat if done correctly, but will make your code
unnecessarily complex if that's just for GUI operations... which MUST be
done in the one-and-only GUI thread anyway!
Although I have no deeper knowledge of Qtopia, I'd guess that there's
basically no difference to what I've said.
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list