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
12 property string deviceName
13 property string address
14 property string icon: ""
15 property string alias: ""
16 property string dbuspath: ""
17 property variant uuids: []
19 property int containerHeight: 80
20 height: containerHeight
25 id: availableBluetoothItem
27 source: "/usr/share/hfdialer/images/ivi_btn-list-inactive.png"
29 anchors {fill: parent; leftMargin: 8; rightMargin: 8; topMargin: 8}
34 anchors {left: parent.left; top: parent.top; bottom: parent.bottom; leftMargin: 15}
35 width: parent.width * 0.75
37 verticalAlignment: Text.AlignVCenter
38 height: availableBluetoothItem.containerHeight
39 font.pixelSize: parent.height / 2
44 elide: Text.ElideRight
49 source: "/usr/share/hfdialer/images/ivi_icon-list-delete.png"
50 anchors { left: mainText.right; right: parent.right; top: parent.top; bottom: parent.bottom}
57 closeButton.source = "/usr/share/hfdialer/images/ivi_icon-list-delete-active.png"
61 closeButton.source = "/usr/share/hfdialer/images/ivi_icon-list-delete.png"
65 console.log("CLOSE BUTTON CLICKED")