summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmainwindow
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2011-02-09 14:07:24 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2011-04-14 10:27:58 (GMT)
commit42bbdbef501caec06981981585a0302339818ac6 (patch)
tree7bd0aba34f96f424cbbf3a1928e0e0dbd919ca48 /tests/auto/qmainwindow
parentfebdcef08f22310cbd70ec13b315f70ff8e41e83 (diff)
downloadQt-42bbdbef501caec06981981585a0302339818ac6.zip
Qt-42bbdbef501caec06981981585a0302339818ac6.tar.gz
Qt-42bbdbef501caec06981981585a0302339818ac6.tar.bz2
Avoid flicker when invalidate is propagated in a widget/layout hierarchy
* Do not call invalidate from activateRecursive(). This resulted in that a layout was invalidated as many times as there were items in the layout. * Several improvements. Do not call resize(size()) too often. Calling resize() from the widgetEvent() is not very nice though... * Remove commented out code * make sure layout is activated even if the widget does not change size * activate the layout if the resize is same as size() * In order to not break existing apps, make this an opt-in feature with QGraphicsLayout::setInstantInvalidatePropagation(true); Reviewed-by: Frederik Gladhorn Reviewed-by: John Tapsell
Diffstat (limited to 'tests/auto/qmainwindow')
0 files changed, 0 insertions, 0 deletions