summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Widgets/PhoneContactListItemWdgt.qml
blob: d357c50dc2a4062e8f133e6901e314af6aabcf42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Widgets"
import "../WidgetLayouts"


FWidget {
    id: w
    height: 50

    property FEvent itemClicked

    layout: PhoneListWdgtLayout {
        anchors.fill: parent
        id: l
        cx_text: staticItem
        cn_text: staticNumber
        ct_text: type
    }
    triggers: [
        FTrgTouchArea { touchArea: l.touch; touchAction: TA.Out
            FActEventFire{ event: itemClicked; data: index }
            FActScriptCall { onScript: console.log(staticItem) }
        }
    ]


}