-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModePage.qml
43 lines (33 loc) · 829 Bytes
/
ModePage.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
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.1
Rectangle {
color: "#9E9E9E"
Card{
id: slideCard
anchors.top: parent.top
Component.onCompleted: {
setName("Stiffness: ");
setText("0");
setFontSize(10);
setViewTool("Value of the Stiffness Parameter of Slider");
}
}
Rectangle{
width: parent.width
height: 50
anchors.left: parent.left
anchors.leftMargin: 0
anchors.top: slideCard.bottom
anchors.topMargin: 10
Slider{
id: stiffSlider
anchors.left: parent.left
anchors.top: parent.top
width: parent.width
onValueChanged: {
slideCard.setText(value.toString());
}
}
}
}