I have a widget that sets itself up in setupUi(). However, when it sets up, it performs all sorts of drawing in the dialog before it is finally done (resizes itself, adds items, etc), which is quite ugly. Is there a way to halt drawing temporarily, so that the app doesn't go through all this intermediary drawing - so when I re-enable drawing, it looks as if it was drawn cleanly in one step?
I tried to do hide() and show() before and after the setupUi(), but it still has to flicker as it hides and then gets redrawn with show(). Is there a better way?
Bookmarks