-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFullLayout.qml
71 lines (63 loc) · 1.48 KB
/
FullLayout.qml
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
import QtQuick 2.0
import MrPlotter 0.1
Item {
id: toplevel
property alias plotter: mrp;
property alias plotarea: pa;
property alias datadensityplotarea: ddpa;
property alias yaxisarea: yaa;
property alias datadensityyaxisarea: ddyaa;
PlotArea {
id: ddpa
anchors.left: pa.left
width: pa.width
height: 70
yAxisAreaList: [ddyaa]
}
YAxisArea {
id: ddyaa
y: 0
anchors.right: ddpa.left
width: fyaa.width
height: parent.height
rangeStart: ddpa.y + ddpa.height
rangeEnd: ddpa.y
}
PlotArea {
id: pa
y: ddpa.height + 15
anchors.left: fyaa.right
width: parent.width - fyaa.width
height: Math.max(parent.height - taa.height - ddpa.height, 60)
yAxisAreaList: [yaa]
}
Flickable {
id: fyaa
anchors.left: parent.left
y: 0
width: Math.min(parent.width / 5, yaa.width)
height: parent.height
contentWidth: yaa.width
clip: true
YAxisArea {
id: yaa
height: fyaa.height
rangeStart: pa.y + pa.height
rangeEnd: pa.y
}
}
TimeAxisArea {
id: taa
anchors.top: pa.bottom
x: 0
width: parent.width
height: 70
rangeStart: pa.x
rangeEnd: pa.x + pa.width
}
MrPlotter {
id: mrp
plotList: [pa, ddpa]
timeaxisarea: taa
}
}