blob: df96329060e115a714fe3e894ec07d4f37887aaf (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
// 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 {
height: 50
layout: TGListItemLayout {
id: l
anchors.fill: parent
ax_bitmap: ""
cx_text: menuItem
activeMarker_visible: false
}
FViewUseCaseGroup {
FViewUseCase {
condition: type === "popup"
PropertyChanges { target: l
ax_bitmap: "../Resources/g137p.png"
}
}
FViewUseCase {
condition: type === "arrow"
PropertyChanges { target: l
ax_bitmap: "../Resources/g136p.png"
}
}
FViewUseCase {
condition: type === "tickboxChecked"
PropertyChanges { target: l
gx_bitmap: "../Resources/g134p.png"
cx_width: ++ax_width
}
}
FViewUseCase {
condition: type === "tickboxUnchecked"
PropertyChanges { target: l
gx_bitmap: "../Resources/g135p.png"
cx_width: ++ax_width
}
}
FViewUseCase {
condition: type === ""
PropertyChanges { target: l
visible: true
ax_bitmap: ""
cx_width: ++(ax_width+gx_width)
}
}
}
}
|