keyboard navigation in and out QML kcms

Authored by mart on Nov 16 2017, 3:01 PM.

Description

keyboard navigation in and out QML kcms

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

Reviewers: Plasma, Frameworks, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: broulik, davidedmundson, ngraham, plasma-devel, Frameworks

Tags: Plasma, Frameworks

Differential Revision: https://phabricator.kde.org/D8522

Details

Committed
martNov 16 2017, 3:06 PM
Reviewer
Plasma
Differential Revision
D8522: keyboard navigation in and out QML kcms
Parents
R295:2b6d6158b9fc: GIT_SILENT Upgrade KF5 version to 5.41.0.
Branches
Unknown
Tags
Unknown