~sylvain-pineau/checkbox/fix-outcome

« back to all changes in this revision

Viewing changes to checkbox-touch/components/QmlConfinedPage.qml

"automatic merge of lp:~kissiel/checkbox/converged-keyboard-support/ by tarmac [r=pierre-equoy][bug=1231844,1318466][author=kissiel]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        trailingActionBar {
87
87
            objectName: 'trailingActionBar'
88
88
            actions: [
89
 
                AddCommentAction {},
90
 
                SkipAction {}
 
89
                AddCommentAction {
 
90
                    id: addCommentAction
 
91
                },
 
92
                SkipAction {
 
93
                    id: skipAction
 
94
                }
91
95
            ]
92
96
        }
93
97
    }
112
116
        }
113
117
 
114
118
        LatchButton {
 
119
            id: continueButton
115
120
            objectName: "continueButton"
116
121
            color: UbuntuColors.green
117
122
            Layout.fillWidth: true
148
153
            visible: false
149
154
        }
150
155
    }
 
156
    Component.onCompleted: {
 
157
        rootKeysDelegator.setHandler('alt+s', qmlNativePage, skipAction.trigger);
 
158
        rootKeysDelegator.setHandler('alt+c', qmlNativePage, addCommentAction.trigger);
 
159
        rootKeysDelegator.setHandler('alt+t', qmlNativePage, continueButton.clicked);
 
160
    }
151
161
}