-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPlot.qml
More file actions
53 lines (46 loc) · 1.16 KB
/
Plot.qml
File metadata and controls
53 lines (46 loc) · 1.16 KB
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
import QtQuick 2.0
Item {
id: plot
width: 400
height: 300
property alias leftScales: leftScales
property alias rightScales: rightScales
property alias topScales: topScales
property alias bottomScales: bottomScales
property alias plottingArea: plottingArea
Row {
id: leftScales
anchors.top: topScales.bottom
anchors.bottom: bottomScales.top
anchors.left: plot.left
spacing: 0
}
Row {
id: rightScales
anchors.top: topScales.bottom
anchors.bottom: bottomScales.top
anchors.right: plot.right
spacing: 0
}
Column {
id: topScales
anchors.left: leftScales.right
anchors.right: rightScales.left
anchors.top: plot.top
spacing: 0
}
Column {
id: bottomScales
anchors.left: leftScales.right
anchors.right: rightScales.left
anchors.bottom: plot.bottom
spacing: 0
}
Item {
id: plottingArea
anchors.left: leftScales.right
anchors.right: rightScales.left
anchors.top: topScales.bottom
anchors.bottom: bottomScales.top
}
}