MotionBlurSection.qml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Copyright (C) 2021 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
  3. import QtQuick 2.15
  4. import QtQuick.Layouts 1.15
  5. import HelperWidgets 2.0
  6. import StudioTheme 1.0 as StudioTheme
  7. Section {
  8. caption: qsTr("Blur")
  9. width: parent.width
  10. SectionLayout {
  11. PropertyLabel {
  12. text: qsTr("Fade Amount")
  13. tooltip: qsTr("Specifies how much the blur fades away each frame.")
  14. }
  15. SecondColumnLayout {
  16. SpinBox {
  17. minimumValue: 0
  18. maximumValue: 1
  19. decimals: 2
  20. stepSize: 0.1
  21. backendValue: backendValues.fadeAmount
  22. implicitWidth: StudioTheme.Values.twoControlColumnWidth
  23. + StudioTheme.Values.actionIndicatorWidth
  24. }
  25. ExpandingSpacer {}
  26. }
  27. PropertyLabel {
  28. text: qsTr("Quality")
  29. tooltip: qsTr("Blur quality.")
  30. }
  31. SecondColumnLayout {
  32. SpinBox {
  33. minimumValue: 0.1
  34. maximumValue: 1
  35. decimals: 2
  36. stepSize: 0.1
  37. backendValue: backendValues.blurQuality
  38. implicitWidth: StudioTheme.Values.twoControlColumnWidth
  39. + StudioTheme.Values.actionIndicatorWidth
  40. }
  41. ExpandingSpacer {}
  42. }
  43. }
  44. }