// // fade.qml // developer/utilities/render // // Olivier Prat, created on 30/04/2017. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html // import QtQuick 2.5 import QtQuick.Controls 1.4 import "configSlider" Row { property var taskConfig: Render.getConfig("RenderDeferredTask"); spacing: 4 Column { spacing: 8 CheckBox { text: "Manual Fade" checked: taskConfig["debugFade"] onCheckedChanged: { taskConfig["debugFade"] = checked } } } Column { spacing: 8 ConfigSlider { label: "Percent" integral: false config: taskConfig property: "debugFadePercent" max: 1.0 min: 0.0 width: 250 } ConfigSlider { label: "Scale" integral: false config: taskConfig property: "fadeScale" max: 1.0 min: 0.0 width: 250 } ConfigSlider { label: "Duration" integral: false config: taskConfig property: "fadeDuration" max: 10.0 min: 0.1 width: 250 } } }