@@ -64,6 +64,10 @@ Item {
6464 property bool lastPage: false
6565 property bool buttonBarVisible: true
6666
67+ // Item that will receive input focus when the page is in front
68+ // May be useful to open the keyboard automatically for a text field
69+ property Item focusItem
70+
6771 property string title: ""
6872
6973 signal backClicked()
@@ -71,6 +75,12 @@ Item {
7175 visible: false
7276 anchors.fill: parent
7377
78+ onVisibleChanged: {
79+ if (visible && focusItem) {
80+ focusItem.forceActiveFocus();
81+ }
82+ }
83+
7484 Timer {
7585 id: indicatorTimer
7686 interval: 1000