qt5base-lts/tests/auto/widgets/graphicsview
Andreas Aardal Hanssen 4a9c3b2433 Repair QGraphicsWidget focus chain when used with ItemIsPanel.
Add handling of the focus chain to QGraphicsItem::setFlags(), so that
the focus chain is repaired (panels pop out of the chain and non-panels
merge back in) when the ItemIsPanel flag is toggled. Add handling focus
chain to QGraphicsWidgetPrivate::fixFocusChainBeforeReparenting for
panels.

Before this fix, you must enable the ItemIsPanel flag before adding
the item as a child to a parent panel, and you lose focus when using
the tab key to focus around a panel after it has been reparented into
another panel.

Task-number: QTBUG-28187
Change-Id: I1d0d81a90697eaf715a8a337c8bf6c2159329e68
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-12-07 09:11:59 +01:00
..
qgraphicsanchorlayout GV auto tests: kill QWindowsStyle dependencies 2012-11-27 23:10:09 +01:00
qgraphicsanchorlayout1 Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicseffectsource Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsgridlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsitem Ensure subfocus is not reset to 0 when hiding a panel. 2012-11-26 21:23:15 +01:00
qgraphicsitemanimation Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslayoutitem Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicslinearlayout GV auto tests: kill QWindowsStyle dependencies 2012-11-27 23:10:09 +01:00
qgraphicsobject Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicspixmapitem Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicspolygonitem Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicsproxywidget GV auto tests: kill QWindowsStyle dependencies 2012-11-27 23:10:09 +01:00
qgraphicsscene GV auto tests: kill QWindowsStyle dependencies 2012-11-27 23:10:09 +01:00
qgraphicssceneindex Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
qgraphicstransform Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qgraphicsview GV auto tests: kill QWindowsStyle dependencies 2012-11-27 23:10:09 +01:00
qgraphicswidget Repair QGraphicsWidget focus chain when used with ItemIsPanel. 2012-12-07 09:11:59 +01:00
graphicsview.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00