2 * Copyright 2012 Intel Corporation.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
17 signal replyRequestPasskey(int reply)
18 property string deviceName
20 Component.onCompleted: {
21 numPad.pidRequest = true
22 numPad.pidEdit = textInputField
26 width: parent.width - 15
31 anchors.horizontalCenter: parent.horizontalCenter
32 text: qsTr("Enter passcode to use:")
33 wrapMode: Text.WordWrap
34 horizontalAlignment: Text.AlignHCenter
42 anchors.horizontalCenter: parent.horizontalCenter
50 anchors.centerIn: parent
52 height: parent.height * 0.75
56 horizontalAlignment: Text.AlignHCenter
57 activeFocusOnPress: false
63 source: "/usr/share/hfdialer/images/ivi_btn-incomingcall-accept.png"
64 anchors.horizontalCenter: parent.horizontalCenter
65 width: textInput.width
73 numPad.pidRequest = false
74 nearbyDevicesModel.replyRequestPasskey(textInputField.text);
82 anchors.centerIn:parent
83 horizontalAlignment: Text.AlignHCenter