|
|
@ -30,8 +30,8 @@ Page {
|
|
|
|
TextField {
|
|
|
|
TextField {
|
|
|
|
id: fpsPicker
|
|
|
|
id: fpsPicker
|
|
|
|
width: parent.width - Theme.horizontalPageMargin * 2
|
|
|
|
width: parent.width - Theme.horizontalPageMargin * 2
|
|
|
|
placeholderText: "Enter FPS limit(1-60)"
|
|
|
|
placeholderText: "Enter FPS limit(1-25)"
|
|
|
|
validator: IntValidator { bottom: 1; top: 60 }
|
|
|
|
validator: IntValidator { bottom: 1; top: 25 }
|
|
|
|
onTextChanged: {
|
|
|
|
onTextChanged: {
|
|
|
|
if (fpsPicker.acceptableInput) {
|
|
|
|
if (fpsPicker.acceptableInput) {
|
|
|
|
polling_timer.timeout = (1000/parseInt(text, 10))
|
|
|
|
polling_timer.timeout = (1000/parseInt(text, 10))
|
|
|
@ -42,7 +42,8 @@ Page {
|
|
|
|
SectionHeader { text: "Display" }
|
|
|
|
SectionHeader { text: "Display" }
|
|
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
Label {
|
|
|
|
text: "Min-Max Value"
|
|
|
|
id: lbl
|
|
|
|
|
|
|
|
text: "Smoothing factor: 0%"
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: Theme.horizontalPageMargin
|
|
|
|
anchors.leftMargin: Theme.horizontalPageMargin
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -50,11 +51,12 @@ Page {
|
|
|
|
id: rangeSlider
|
|
|
|
id: rangeSlider
|
|
|
|
width: parent.width - Theme.horizontalPageMargin * 2
|
|
|
|
width: parent.width - Theme.horizontalPageMargin * 2
|
|
|
|
stepSize: 1
|
|
|
|
stepSize: 1
|
|
|
|
value: 50
|
|
|
|
value: 98
|
|
|
|
minimumValue: 0
|
|
|
|
minimumValue: 50
|
|
|
|
maximumValue: 100
|
|
|
|
maximumValue: 99
|
|
|
|
onValueChanged: {
|
|
|
|
onValueChanged: {
|
|
|
|
// handle value change
|
|
|
|
lbl.text = "Ignore factor: " + value.toString() + "%"
|
|
|
|
|
|
|
|
thermalRenderer.setIgnorePerc(value)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|