qt5base-lts/tests/auto/widgets
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
..
dialogs Made QMacStyle internal 2012-11-23 15:18:15 +01:00
effects Make QPen default to 1-width non-cosmetic. 2012-10-22 19:36:43 +02:00
graphicsview Repair QGraphicsWidget focus chain when used with ItemIsPanel. 2012-12-07 09:11:59 +01:00
itemviews tst_qlistview: remove redundant include 2012-11-23 15:15:27 +01:00
kernel [QTBUG-27420] Make Q{Box,Grid,Form}Layout::takeAt() unparent a nested layout 2012-12-02 00:23:14 +01:00
styles Style auto tests: kill QWindowsStyle dependencies 2012-11-28 20:54:39 +01:00
util normalise signal/slot signatures [QtWidgets tests] 2012-10-19 00:44:54 +02:00
widgets tst_QMenuBar: use QProxyStyle instead of QWindowsStyle 2012-11-26 14:16:44 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00