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
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma Frameworks - Commits
- R295:9ebf898572ca: keyboard navigation in and out QML kcms
keyboard navigation with tab/shift+tab works as expected
both in systemsettings and kcmshell5
Diff Detail
Diff Detail
- Repository
- R295 KCMUtils
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/kcmoduleqml.cpp | ||
---|---|---|
154 | Quick glance at QQuickItemPrivate::nextPrevItemInTabFocusChain shows it cannot. In doubt it returns this. |