Flicker Reduction with QBoxLayout

Whenever the displayed QBoxLayout is displayed, a flicker appears on the screen when the widgets are added to the layout. How to stop this flicker?

setUpdatesEnabled did not complete the trick.

+3
source share
1 answer

show() widget only after you have finished filling / laying out it.

Or don’t attach your layout to this widget before you finish adding things to it. (i.e. only call setLayout(your_layout)when you added things to your_layout).

, updatesEnabled QWidget. , , . ( , QTableWidget .., "" .)

:

setUpdatesEnabled() , , . Qt , X11 , , . .a >

+5

All Articles