blob: f76057722a5168eea88a8d8a870df6f3494703f7 (
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
|
// 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: 178
width: 200
layout: GridViewImgItemLayout {
id: l
bitmap: menuIcon
}
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) }
}
]
}
|