D8522: keyboard navigation in and out QML kcms
Marco Martin
noreply at phabricator.kde.org
Fri Oct 27 14:07:35 UTC 2017
mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY
QQuickWidget doesn't support keyboard navigation per se,
the widget will gain keyboard focus on tab, but lose it again at
the next tab press. this manages manually tab and backtab in the widget
with an event filter, using an heuristic to know when the tab focus reached
the last qtquick component and should go out focusing the next widgets
TEST PLAN
keyboard navigation with tab/shift+tab works as expected
both in systemsettings and kcmshell5
REPOSITORY
R295 KCMUtils
BRANCH
phab/keynav
REVISION DETAIL
https://phabricator.kde.org/D8522
AFFECTED FILES
src/kcmoduleqml.cpp
src/kcmoduleqml_p.h
To: mart, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171027/df013169/attachment.html>
More information about the Kde-frameworks-devel
mailing list