Partially working keyboard navigation support

This commit is contained in:
Cameron Gutman
2018-09-23 15:16:27 -07:00
parent f2e40889b2
commit 2e3de32810
6 changed files with 91 additions and 8 deletions
+4 -1
View File
@@ -13,6 +13,8 @@ GridView {
property ComputerModel computerModel : createModel()
id: pcGrid
focus: true
activeFocusOnTab: true
anchors.fill: parent
anchors.leftMargin: (parent.width % (cellWidth + anchors.rightMargin)) / 2
anchors.topMargin: 20
@@ -75,8 +77,9 @@ GridView {
model: computerModel
delegate: ItemDelegate {
delegate: NavigableItemDelegate {
width: 300; height: 300;
grid: pcGrid
Image {
id: pcIcon