-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathControlPanel.qml
79 lines (68 loc) · 2.04 KB
/
ControlPanel.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
72
73
74
75
76
77
78
79
import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Controls.Material 2.3
import QtQuick.Layouts 1.12
Rectangle {
id: root
color: "#303030"
signal setBlackToYellowGradient()
signal setGreenToRedGradient()
signal setIsoLineGradient()
signal setCustomIsoLineGradient();
signal drawWireFrame(bool checked)
signal enableFlatShading(bool checked)
signal setDataSet(string dataSet)
signal showSurface(bool show)
signal pauseSimulation(bool pause)
signal hueRotation(double value)
signal scaleGraph(double value)
signal setGridType(string type)
signal setGlypColor(bool show)
signal setRandomArrows(double value);
signal heightGlyphs(double value);
signal setArrowSize(double amount);
signal isolineRotation(double value);
signal setCustomIsolineMax(double val);
signal setCustomIsolineMin(double val);
signal setCustomIsolineInterval(int val);
signal enableAxis(bool val);
Material.theme: Material.Dark
Material.accent: Material.Blue
TabBar {
id: bar
anchors.right: parent.right
anchors.rightMargin: 0
anchors.left: parent.left
anchors.leftMargin: 0
anchors.top: parent.top
anchors.topMargin: 0
TabButton {
text: qsTr("Home")
font.pixelSize: 13
}
TabButton {
text: qsTr("Glyphs")
font.pixelSize: 13
}
}
StackLayout {
anchors.top: bar.bottom
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.topMargin: 0
currentIndex: bar.currentIndex
Loader {
source:"pages/Home.qml";
}
Loader {
source:"pages/Glyphs.qml";
}
}
}
/*##^## Designer {
D{i:0;autoSize:true;height:800;width:300}D{i:1;anchors_width:300;autoSize:true;height:800;width:300}
D{i:5;anchors_height:400;anchors_width:200}D{i:6;anchors_height:400;anchors_width:200}
D{i:4;anchors_height:50;anchors_width:300}
}
##^##*/