Go to file
Andreas Aardal Hanssen bfb569b6e7 Ensure subfocus is not reset to 0 when hiding a panel.
When hiding any widget that is not a panel, it is correct to clear
subfocus. In case clearFocus() has been called, the result is that
focusItem() / focusWidget() points to 0, which is correct. Upon
reactivation, nothing gains input focus. When changing focus, the
following setSubFocus() call will ensure subfocus points to the new
widget.

When hiding a panel, however, it's essential that subfocus within
that panel is not cleared, otherwise, when re-showing the panel,
nothing will have focus, whereas the expected behavior is that focus
is restored to the last item that had focus, i.e., the focusItem()
a.k.a. subfocus widget.

Task-number: QTBUG-22256
Change-Id: I84d849a505764e074e1369fef923cef1ad5c0b1e
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-11-26 21:23:15 +01:00
bin Rename the syncqt -qtdir to -mkspecsdir 2012-10-19 00:44:54 +02:00
config.tests Add configure option to minimize xcb runtime dependencies 2012-11-07 16:55:50 +01:00
dist [SIC] QLocale: Update some language names with their modern values 2012-11-24 06:15:25 +01:00
doc Added reference to W3C's XML specs 2012-11-23 17:04:00 +01:00
examples Examples: inherit NorwegianWoodStyle from QProxyStyle 2012-11-26 17:33:37 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs qmake: Change copyright information from Nokia to Digia 2012-11-26 17:33:37 +01:00
qmake qmake: Change copyright information from Nokia to Digia 2012-11-26 17:33:37 +01:00
src Ensure subfocus is not reset to 0 when hiding a panel. 2012-11-26 21:23:15 +01:00
tests Ensure subfocus is not reset to 0 when hiding a panel. 2012-11-26 21:23:15 +01:00
tools Add a new location for QML 2.x imports 2012-11-19 15:25:54 +01:00
util Update XKB data generator to use correct QLocale names 2012-11-25 04:06:51 +01:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Add VS manifest files to .gitignore 2012-11-23 17:04:00 +01:00
.qmake.conf add a .qmake.conf file which load()s qt_build_config 2012-10-18 17:42:40 +02:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure configure: clean up unused CFG_IM 2012-11-26 17:33:37 +01:00
configure.bat Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.BSD Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.FDL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.LGPL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
header.LGPL-ONLY Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
INSTALL fix links in INSTALL 2012-10-10 08:45:22 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro rewrite default spec handling 2012-11-01 20:17:57 +01:00
sync.profile Exclude ANGLE headers from syncqt-checks. 2012-11-02 12:16:49 +01:00