Partially working keyboard navigation support

This commit is contained in:
Cameron Gutman 2018-09-23 15:16:27 -07:00
commit 2e3de32810
6 changed files with 91 additions and 8 deletions

View file

@ -11,6 +11,8 @@ GridView {
property AppModel appModel : createModel()
id: appGrid
focus: true
activeFocusOnTab: true
anchors.fill: parent
anchors.leftMargin: (parent.width % (cellWidth + anchors.rightMargin)) / 2
anchors.topMargin: 20
@ -47,8 +49,9 @@ GridView {
model: appModel
delegate: ItemDelegate {
delegate: NavigableItemDelegate {
width: 200; height: 335;
grid: pcGrid
Image {
id: appIcon