blob: 5b81d7e1bc9946d81224b43289981f2195fb14ac (
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
29
30
31
32
|
// import QtQuick 2.0 // to target S60 5th Edition or Maemo 5
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Widgets"
import "../WidgetLayouts"
FWidget {
id: w
height: 55
width: 200
layout: GridViewItemLayout {
id: l
cx_text: menuText
indentLevel: 0
}
FViewUseCaseSimple {
condition: isEnabled == false
PropertyChanges { target: l
opacity: 0.5
}
}
triggers: [
FTrgTouchArea { touchArea: l.touch; touchAction: TA.Out
FActScriptCall { onScript: w.GridView.view.model.selectElement(index) }
}
]
}
|