It is now possible to set fps to save some cpu and battery.

This commit is contained in:
Filippo Scognamiglio
2014-04-03 18:44:23 +02:00
parent 0cef4c75e4
commit e1b8dc0d92
4 changed files with 38 additions and 4 deletions
+26
View File
@@ -150,6 +150,32 @@ ApplicationWindow {
// }
}
}
GroupBox{
title: qsTr("Performace")
Layout.fillWidth: true
Layout.columnSpan: 2
anchors.left: parent.left
anchors.right: parent.right
RowLayout{
Layout.columnSpan: 2
anchors.left: parent.left
anchors.right: parent.right
Text{text: "Animation FPS"}
Slider{
Layout.fillWidth: true
id: slider
stepSize: 1
maximumValue: 60
minimumValue: 0
onValueChanged: shadersettings.fps = value;
value: shadersettings.fps
}
Text{
id: textfield
text: slider.value
}
}
}
}
}