D21128: Improve keyboard navigation

Marco Martin noreply at phabricator.kde.org
Mon May 13 10:07:13 BST 2019


mart added inline comments.

INLINE COMMENTS

> apol wrote in delegaterecycler.cpp:373
> DelegateRecycler can't be a FocusScope itself because QQuickFocusScope is private API.
> 
> We could put it in a FocusScope but then this opens a can of worms WRT sizes.

https://doc.qt.io/qt-5/qquickitem.html#Flag-enum

you can set the focusscope flag on top of any qquickitem, FocusScope is just an empty item that doesn't do anything that setting thjat flag in its ctor

QQuickFocusScope::QQuickFocusScope(QQuickItem *parent)
: QQuickItem(parent)
{

  setFlag(ItemIsFocusScope);

}

REPOSITORY
  R169 Kirigami

REVISION DETAIL
  https://phabricator.kde.org/D21128

To: apol, #kirigami, mart
Cc: plasma-devel, domson, dkardarakos, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190513/9a410ca0/attachment-0001.html>


More information about the Plasma-devel mailing list