Fix: tiny tiny fixes.

This commit is contained in:
Filippo Scognamiglio
2014-12-26 00:44:32 +01:00
parent f03fa29836
commit b1139a3911
3 changed files with 28 additions and 12 deletions
+23 -11
View File
@@ -54,10 +54,14 @@ Tab{
Slider{
Layout.fillWidth: true
id: txtslider
onValueChanged: appSettings.windowScaling = value;
value: appSettings.windowScaling
onValueChanged: if (enabled) appSettings.windowScaling = value;
stepSize: 0.10
Component.onCompleted: minimumValue = 0.3 //Without this value gets set to 0.5
enabled: false
Component.onCompleted: {
minimumValue = 0.3 //Without this value gets set to 0.5
value = appSettings.windowScaling;
enabled = true;
}
}
Text{text: Math.round(txtslider.value * 100) + "%"}
}
@@ -75,10 +79,14 @@ Tab{
Slider{
Layout.fillWidth: true
id: bloomSlider
onValueChanged: appSettings.bloomQuality = value;
value: appSettings.bloomQuality
onValueChanged: if (enabled) appSettings.bloomQuality = value;
stepSize: 0.10
Component.onCompleted: minimumValue = 0.3 //Without this value gets set to 0.5
enabled: false
Component.onCompleted: {
minimumValue = 0.3
value = appSettings.bloomQuality;
enabled = true;
}
}
Text{text: Math.round(bloomSlider.value * 100) + "%"}
}
@@ -95,13 +103,17 @@ Tab{
Text{text: qsTr("BurnIn Quality")}
Slider{
Layout.fillWidth: true
id: blurSlider
onValueChanged: appSettings.burnInQuality = value;
value: appSettings.burnInQuality
id: burnInSlider
onValueChanged: if (enabled) appSettings.burnInQuality = value;
stepSize: 0.10
Component.onCompleted: minimumValue = 0.3 //Without this value gets set to 0.5
enabled: false
Component.onCompleted: {
minimumValue = 0.3
value = appSettings.burnInQuality;
enabled = true;
}
}
Text{text: Math.round(blurSlider.value * 100) + "%"}
Text{text: Math.round(burnInSlider.value * 100) + "%"}
}
}
GroupBox{