1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-01-31 02:01:19 +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); var customProfiles = JSON.parse(customProfilesString);
for (var i=0; i<customProfiles.length; i++) { for (var i=0; i<customProfiles.length; i++) {
var profile = customProfiles[i]; var profile = customProfiles[i];
console.log("Loading custom profile: " + stringify(profile));
if (verbose)
console.log("Loading custom profile: " + stringify(profile));
profilesList.append(profile); profilesList.append(profile);
} }
} }

View File

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

View File

@ -54,10 +54,14 @@ Tab{
Slider{ Slider{
Layout.fillWidth: true Layout.fillWidth: true
id: txtslider id: txtslider
onValueChanged: appSettings.windowScaling = value; onValueChanged: if (enabled) appSettings.windowScaling = value;
value: appSettings.windowScaling
stepSize: 0.10 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) + "%"} Text{text: Math.round(txtslider.value * 100) + "%"}
} }
@ -75,10 +79,14 @@ Tab{
Slider{ Slider{
Layout.fillWidth: true Layout.fillWidth: true
id: bloomSlider id: bloomSlider
onValueChanged: appSettings.bloomQuality = value; onValueChanged: if (enabled) appSettings.bloomQuality = value;
value: appSettings.bloomQuality
stepSize: 0.10 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) + "%"} Text{text: Math.round(bloomSlider.value * 100) + "%"}
} }
@ -95,13 +103,17 @@ Tab{
Text{text: qsTr("BurnIn Quality")} Text{text: qsTr("BurnIn Quality")}
Slider{ Slider{
Layout.fillWidth: true Layout.fillWidth: true
id: blurSlider id: burnInSlider
onValueChanged: appSettings.burnInQuality = value; onValueChanged: if (enabled) appSettings.burnInQuality = value;
value: appSettings.burnInQuality
stepSize: 0.10 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{ GroupBox{