1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-18 12:15:27 +00:00

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

View File

@ -331,7 +331,10 @@ QtObject{
var customProfiles = JSON.parse(customProfilesString);
for (var i=0; i<customProfiles.length; i++) {
var profile = customProfiles[i];
console.log("Loading custom profile: " + stringify(profile));
if (verbose)
console.log("Loading custom profile: " + stringify(profile));
profilesList.append(profile);
}
}

View File

@ -259,6 +259,7 @@ Item{
onBurnInChanged: _blurredSourceEffect.restartBlurSource();
onTerminalFontChanged: _blurredSourceEffect.restartBlurSource();
onRasterizationChanged: _blurredSourceEffect.restartBlurSource();
onBurnInQualityChanged: _blurredSourceEffect.restartBlurSource();
}
Connections {
target: kterminalScrollbar

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{