blob: a1a0d3253820341a68cac0306562fe5473052068 (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Widgets"
FLayout {
id: layout
width: 800
height: 480
property alias m1: m1.children
property alias list: listView
property alias list_data: listView.list_data
property alias list_itemWidget: listView.list_itemWidget
property alias listWrap: listView.listWrap
property alias fg: _fg
property alias theX: listView.x
property alias theY: listView.y
property alias theWidth: listView.width
property alias theHeight: listView.height
property alias itemWidth: listView.gridItemWidth
property alias itemHeight: listView.gridItemHeight
property alias close: closeTouch
property bool useClose: false
Item {
id: _fg
width: 800; height: 480
GridViewWidget {
id: listView
x: 0; y: 75
width: 800; height: 356
gridItemHeight: 178; gridItemWidth: 200
}
FWdgtContainer {
id: m1
width: 530; height: 55
}
}
BaseText{
id: closeTxt
anchors.horizontalCenter: layout.horizontalCenter
y:430
horAlignment: Text.AlignHCenter
vertAlignment: Text.AlignTop
text: "CLOSE"
color: "#1d81d5"
pxSize: 22
theFont: "../Fonts/HelveticaNeueLTStd-Md.ttf"
visible: useClose
}
FWdgtTouchArea{
id: closeTouch
height: 75
width: 750
y:430
anchors.horizontalCenter: layout.horizontalCenter
visible: useClose
enabled: useClose
}
FViewUseCase{condition: closeTouch.pressed === true
//FActScriptCall { onScript: { FLogger.debug("Test color should change") } }
PropertyChanges {
target: closeTxt; color: "white"
}
}
}
|