2014-06-27 23:54:17 +02:00
|
|
|
/*******************************************************************************
|
|
|
|
* Copyright (c) 2013 "Filippo Scognamiglio"
|
2014-09-03 22:19:34 +02:00
|
|
|
* https://github.com/Swordfish90/cool-retro-term
|
2014-06-27 23:54:17 +02:00
|
|
|
*
|
2014-09-03 22:19:34 +02:00
|
|
|
* This file is part of cool-retro-term.
|
2014-06-27 23:54:17 +02:00
|
|
|
*
|
2014-09-03 22:19:34 +02:00
|
|
|
* cool-retro-term is free software: you can redistribute it and/or modify
|
2014-06-27 23:54:17 +02:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*******************************************************************************/
|
|
|
|
|
2014-06-23 22:47:35 +02:00
|
|
|
import QtQuick 2.2
|
|
|
|
import QtQuick.Controls 1.1
|
|
|
|
import QtQuick.Layouts 1.1
|
|
|
|
|
|
|
|
Tab{
|
|
|
|
GroupBox{
|
|
|
|
title: qsTr("Effects")
|
|
|
|
anchors.fill: parent
|
|
|
|
ColumnLayout{
|
|
|
|
anchors.fill: parent
|
2014-12-26 17:19:34 +01:00
|
|
|
spacing: 2
|
2014-06-23 22:47:35 +02:00
|
|
|
CheckableSlider{
|
|
|
|
name: qsTr("Bloom")
|
2014-12-23 18:13:34 +01:00
|
|
|
onNewValue: appSettings.bloom = newValue
|
|
|
|
value: appSettings.bloom
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("BurnIn")
|
|
|
|
onNewValue: appSettings.burnIn = newValue
|
|
|
|
value: appSettings.burnIn
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Static Noise")
|
|
|
|
onNewValue: appSettings.staticNoise = newValue
|
|
|
|
value: appSettings.staticNoise
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
|
|
|
name: qsTr("Jitter")
|
2014-12-11 12:08:15 +01:00
|
|
|
onNewValue: appSettings.jitter = newValue
|
|
|
|
value: appSettings.jitter
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Glow Line")
|
|
|
|
onNewValue: appSettings.glowingLine = newValue;
|
|
|
|
value: appSettings.glowingLine
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Screen Curvature")
|
|
|
|
onNewValue: appSettings.screenCurvature = newValue;
|
|
|
|
value: appSettings.screenCurvature;
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
2014-07-16 00:38:16 +02:00
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Ambient Light")
|
|
|
|
onNewValue: appSettings.ambientLight = newValue;
|
|
|
|
value: appSettings.ambientLight
|
|
|
|
enabled: appSettings.framesIndex !== 0
|
2014-07-16 00:38:16 +02:00
|
|
|
}
|
2014-06-23 22:47:35 +02:00
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Flickering")
|
|
|
|
onNewValue: appSettings.flickering = newValue;
|
|
|
|
value: appSettings.flickering;
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("Horizontal Sync")
|
|
|
|
onNewValue: appSettings.horizontalSync = newValue;
|
|
|
|
value: appSettings.horizontalSync;
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
2014-08-11 19:23:03 +02:00
|
|
|
CheckableSlider{
|
2014-12-23 18:13:34 +01:00
|
|
|
name: qsTr("RGB Shift")
|
|
|
|
onNewValue: appSettings.rbgShift = newValue;
|
|
|
|
value: appSettings.rbgShift;
|
2014-08-11 19:23:03 +02:00
|
|
|
}
|
2014-06-23 22:47:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|