aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2021-08-04 14:58:28 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2021-08-04 21:51:41 +0200
commit2cc92175d320ea999cb6b4b7f846c1921fead669 (patch)
tree6343bdca53994c5a0a444433012c83cf03cf05c0
parent73b955890b76275724dcfe29cd610da80e1c28fc (diff)
Add version of effects for Qt6
See https://doc-snapshots.qt.io/qt6-dev/graphicaleffects5.html Those effects are not supported anymore. Blend InnerShadow GaussianBlur MaskedBlur RecursiveBlur DirectionalBlur RadialBlur ZoomBlur Adding 'mocks' with error messages for missing effects. Task-number: QDS-4763 Change-Id: Iceac09c98a9a5e607198788e0579d486f0b9652d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/imports/effects_qt6/BlendEffect.qml38
-rw-r--r--src/imports/effects_qt6/BlendItem.qml65
-rw-r--r--src/imports/effects_qt6/BrightnessContrastEffect.qml35
-rw-r--r--src/imports/effects_qt6/BrightnessContrastItem.qml57
-rw-r--r--src/imports/effects_qt6/ColorOverlayEffect.qml36
-rw-r--r--src/imports/effects_qt6/ColorOverlayItem.qml59
-rw-r--r--src/imports/effects_qt6/ColorizeEffect.qml38
-rw-r--r--src/imports/effects_qt6/ColorizeItem.qml61
-rw-r--r--src/imports/effects_qt6/DesaturationEffect.qml36
-rw-r--r--src/imports/effects_qt6/DesaturationItem.qml56
-rw-r--r--src/imports/effects_qt6/DirectionalBlurEffect.qml41
-rw-r--r--src/imports/effects_qt6/DirectionalBlurItem.qml62
-rw-r--r--src/imports/effects_qt6/DisplaceEffect.qml35
-rw-r--r--src/imports/effects_qt6/DisplaceItem.qml66
-rw-r--r--src/imports/effects_qt6/DropShadowEffect.qml42
-rw-r--r--src/imports/effects_qt6/DropShadowItem.qml69
-rw-r--r--src/imports/effects_qt6/FastBlurEffect.qml36
-rw-r--r--src/imports/effects_qt6/FastBlurItem.qml61
-rw-r--r--src/imports/effects_qt6/GammaAdjustEffect.qml37
-rw-r--r--src/imports/effects_qt6/GammaAdjustItem.qml57
-rw-r--r--src/imports/effects_qt6/GaussianBlurEffect.qml41
-rw-r--r--src/imports/effects_qt6/GaussianBlurItem.qml61
-rw-r--r--src/imports/effects_qt6/GlowEffect.qml41
-rw-r--r--src/imports/effects_qt6/GlowItem.qml63
-rw-r--r--src/imports/effects_qt6/HueSaturationEffect.qml38
-rw-r--r--src/imports/effects_qt6/HueSaturationItem.qml61
-rw-r--r--src/imports/effects_qt6/InnerShadowEffect.qml45
-rw-r--r--src/imports/effects_qt6/InnerShadowItem.qml63
-rw-r--r--src/imports/effects_qt6/LevelAdjustEffect.qml41
-rw-r--r--src/imports/effects_qt6/LevelAdjustItem.qml62
-rw-r--r--src/imports/effects_qt6/MaskItem.qml69
-rw-r--r--src/imports/effects_qt6/MaskedBlurEffect.qml38
-rw-r--r--src/imports/effects_qt6/MaskedBlurItem.qml68
-rw-r--r--src/imports/effects_qt6/OpacityMaskEffect.qml35
-rw-r--r--src/imports/effects_qt6/OpacityMaskItem.qml65
-rw-r--r--src/imports/effects_qt6/RadialBlurEffect.qml46
-rw-r--r--src/imports/effects_qt6/RadialBlurItem.qml62
-rw-r--r--src/imports/effects_qt6/RecursiveBlurEffect.qml40
-rw-r--r--src/imports/effects_qt6/RecursiveBlurItem.qml61
-rw-r--r--src/imports/effects_qt6/RotationItem.qml51
-rw-r--r--src/imports/effects_qt6/SaturationItem.qml61
-rw-r--r--src/imports/effects_qt6/ThresholdMaskEffect.qml37
-rw-r--r--src/imports/effects_qt6/ThresholdMaskItem.qml68
-rw-r--r--src/imports/effects_qt6/ZoomBlurEffect.qml41
-rw-r--r--src/imports/effects_qt6/ZoomBlurItem.qml61
-rw-r--r--src/imports/effects_qt6/designer/BlendEffectSpecifics.qml137
-rw-r--r--src/imports/effects_qt6/designer/BrightnessContrastEffectSpecifics.qml107
-rw-r--r--src/imports/effects_qt6/designer/ColorOverlayEffectSpecifics.qml73
-rw-r--r--src/imports/effects_qt6/designer/ColorizeEffectSpecifics.qml124
-rw-r--r--src/imports/effects_qt6/designer/DesaturationEffectSpecifics.qml87
-rw-r--r--src/imports/effects_qt6/designer/DirectionalBlurEffectSpecifics.qml145
-rw-r--r--src/imports/effects_qt6/designer/DisplaceEffectSpecifics.qml103
-rw-r--r--src/imports/effects_qt6/designer/DropShadowEffectSpecifics.qml198
-rw-r--r--src/imports/effects_qt6/designer/FastBlurEffectSpecifics.qml104
-rw-r--r--src/imports/effects_qt6/designer/GammaAdjustEffectSpecifics.qml87
-rw-r--r--src/imports/effects_qt6/designer/GaussianBlurEffectSpecifics.qml137
-rw-r--r--src/imports/effects_qt6/designer/GlowEffectSpecifics.qml156
-rw-r--r--src/imports/effects_qt6/designer/HueSaturationEffectSpecifics.qml123
-rw-r--r--src/imports/effects_qt6/designer/InnerShadowEffectSpecifics.qml197
-rw-r--r--src/imports/effects_qt6/designer/LevelAdjustEffectSpecifics.qml169
-rw-r--r--src/imports/effects_qt6/designer/MaskedBlurEffectSpecifics.qml119
-rw-r--r--src/imports/effects_qt6/designer/OpacityMaskEffectSpecifics.qml98
-rw-r--r--src/imports/effects_qt6/designer/RadialBlurEffectSpecifics.qml169
-rw-r--r--src/imports/effects_qt6/designer/RecursiveBlurEffectSpecifics.qml121
-rw-r--r--src/imports/effects_qt6/designer/ThresholdMaskEffectSpecifics.qml119
-rw-r--r--src/imports/effects_qt6/designer/ZoomBlurEffectSpecifics.qml167
-rw-r--r--src/imports/effects_qt6/designer/designer.pri88
-rw-r--r--src/imports/effects_qt6/designer/effects.metainfo450
-rw-r--r--src/imports/effects_qt6/designer/images/brightness-contrast-16px.pngbin0 -> 226 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/brightness-contrast-24px.pngbin0 -> 284 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/brightness-contrast-24px@2x.pngbin0 -> 517 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/colourize-16px.pngbin0 -> 388 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/colourize-24px.pngbin0 -> 492 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/colourize-24px@2x.pngbin0 -> 835 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/desaturation-16px.pngbin0 -> 162 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/desaturation-24px.pngbin0 -> 173 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/desaturation-24px@2x.pngbin0 -> 214 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/displace-16px.pngbin0 -> 335 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/displace-24px.pngbin0 -> 722 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/displace-24px@2.pngbin0 -> 1431 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/drop-shadow-16px.pngbin0 -> 119 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/drop-shadow-24px.pngbin0 -> 129 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/drop-shadow-24px@2x.pngbin0 -> 125 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/fast-blur-16px.pngbin0 -> 258 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/fast-blur-24px.pngbin0 -> 401 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/fast-blur-24px@2x.pngbin0 -> 718 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/gamma-adjust-16px.pngbin0 -> 273 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/gamma-adjust-24px.pngbin0 -> 624 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/gamma-adjust-24px@2x.pngbin0 -> 1232 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/glow-16px.pngbin0 -> 376 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/glow-24px.pngbin0 -> 574 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/glow-24px@2x.pngbin0 -> 1114 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/hue-saturation-16px.pngbin0 -> 371 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/hue-saturation-24px.pngbin0 -> 585 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/hue-saturation-24px@2x.pngbin0 -> 1065 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/inner-shadow-24px@2.pngbin0 -> 554 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/levels-16px.pngbin0 -> 108 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/levels-24px.pngbin0 -> 177 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/levels-24px@2.pngbin0 -> 142 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/opacity-mask-16px.pngbin0 -> 150 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/opacity-mask-24px.pngbin0 -> 154 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/opacity-mask-24px@2x.pngbin0 -> 202 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/theshold-24px@2.pngbin0 -> 218 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/threshold-16px.pngbin0 -> 147 bytes
-rw-r--r--src/imports/effects_qt6/designer/images/threshold-24px.pngbin0 -> 174 bytes
-rw-r--r--src/imports/effects_qt6/effects.pri47
-rw-r--r--src/imports/effects_qt6/effects_qt6.pro23
-rw-r--r--src/imports/effects_qt6/plugins.qmltypes13
-rw-r--r--src/imports/effects_qt6/qmldir45
-rw-r--r--src/imports/effects_qt6/qtstudioeffectsplugin.cpp56
-rw-r--r--src/imports/imports.pro6
111 files changed, 5774 insertions, 0 deletions
diff --git a/src/imports/effects_qt6/BlendEffect.qml b/src/imports/effects_qt6/BlendEffect.qml
new file mode 100644
index 0000000..9561b91
--- /dev/null
+++ b/src/imports/effects_qt6/BlendEffect.qml
@@ -0,0 +1,38 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: blend
+ mode: "subtract"
+ property string mode
+ Component.onCompleted: Console.log("Blend is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/BlendItem.qml b/src/imports/effects_qt6/BlendItem.qml
new file mode 100644
index 0000000..e6ee86e
--- /dev/null
+++ b/src/imports/effects_qt6/BlendItem.qml
@@ -0,0 +1,65 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property string mode
+ property alias cached: blend.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ visible: false
+ }
+
+ FastBlur {
+ id: blend
+ anchors.fill: parent
+ }
+
+ property Item background
+ property Item foreground
+
+ property Item foo: Item {}
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ Console.log("Blend is not supported with Qt 6")
+ }
+}
+
diff --git a/src/imports/effects_qt6/BrightnessContrastEffect.qml b/src/imports/effects_qt6/BrightnessContrastEffect.qml
new file mode 100644
index 0000000..16be284
--- /dev/null
+++ b/src/imports/effects_qt6/BrightnessContrastEffect.qml
@@ -0,0 +1,35 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+BrightnessContrast {
+ id: brightCont
+}
diff --git a/src/imports/effects_qt6/BrightnessContrastItem.qml b/src/imports/effects_qt6/BrightnessContrastItem.qml
new file mode 100644
index 0000000..76c4215
--- /dev/null
+++ b/src/imports/effects_qt6/BrightnessContrastItem.qml
@@ -0,0 +1,57 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+
+ property alias brightness: brightCont.brightness
+ property alias contrast: brightCont.contrast
+ property alias cached: brightCont.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ BrightnessContrast {
+ id: brightCont
+ anchors.fill: stack
+ source: stack
+ }
+}
diff --git a/src/imports/effects_qt6/ColorOverlayEffect.qml b/src/imports/effects_qt6/ColorOverlayEffect.qml
new file mode 100644
index 0000000..6b67005
--- /dev/null
+++ b/src/imports/effects_qt6/ColorOverlayEffect.qml
@@ -0,0 +1,36 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+ColorOverlay {
+ id: colorOverlay
+ color: "#80fff000"
+}
diff --git a/src/imports/effects_qt6/ColorOverlayItem.qml b/src/imports/effects_qt6/ColorOverlayItem.qml
new file mode 100644
index 0000000..7ae14f8
--- /dev/null
+++ b/src/imports/effects_qt6/ColorOverlayItem.qml
@@ -0,0 +1,59 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias content: stack.children
+
+ property alias overlayColor: colorOverlay.color
+ property alias cached: colorOverlay.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ ColorOverlay {
+ id: colorOverlay
+ anchors.fill: stack
+ source: stack
+ color: "#80fff000"
+ }
+}
diff --git a/src/imports/effects_qt6/ColorizeEffect.qml b/src/imports/effects_qt6/ColorizeEffect.qml
new file mode 100644
index 0000000..35dedf5
--- /dev/null
+++ b/src/imports/effects_qt6/ColorizeEffect.qml
@@ -0,0 +1,38 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Colorize {
+ id: colorize
+ hue: 0.5
+ saturation: 0.5
+ lightness: 0.5
+}
diff --git a/src/imports/effects_qt6/ColorizeItem.qml b/src/imports/effects_qt6/ColorizeItem.qml
new file mode 100644
index 0000000..f61dddc
--- /dev/null
+++ b/src/imports/effects_qt6/ColorizeItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias colorizeHue: colorize.hue
+ property alias colorizeSaturation: colorize.saturation
+ property alias colorizeLightness: colorize.lightness
+ property alias cached: colorize.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ Colorize {
+ id: colorize
+ anchors.fill: stack
+ source: stack
+ hue: 0.5
+ saturation: 0.5
+ lightness: 0.5
+ }
+}
diff --git a/src/imports/effects_qt6/DesaturationEffect.qml b/src/imports/effects_qt6/DesaturationEffect.qml
new file mode 100644
index 0000000..ad66dfe
--- /dev/null
+++ b/src/imports/effects_qt6/DesaturationEffect.qml
@@ -0,0 +1,36 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Desaturate {
+ id: desaturate
+ desaturation: 0.5
+}
diff --git a/src/imports/effects_qt6/DesaturationItem.qml b/src/imports/effects_qt6/DesaturationItem.qml
new file mode 100644
index 0000000..c994ba3
--- /dev/null
+++ b/src/imports/effects_qt6/DesaturationItem.qml
@@ -0,0 +1,56 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias desaturation: desaturate.desaturation
+ property alias cached: desaturate.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ Desaturate {
+ id: desaturate
+ source: stack
+ anchors.fill: stack
+ desaturation: 0.5
+ }
+}
diff --git a/src/imports/effects_qt6/DirectionalBlurEffect.qml b/src/imports/effects_qt6/DirectionalBlurEffect.qml
new file mode 100644
index 0000000..c976b7f
--- /dev/null
+++ b/src/imports/effects_qt6/DirectionalBlurEffect.qml
@@ -0,0 +1,41 @@
+a/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ property real directionalBlurAngle: 0
+ property real directionalBlurLength: 0
+ property int directionalBlurSamples: 10
+
+ id: directionalBlur
+ transparentBorder: true
+ Component.onCompleted: Console.log("DirectionalBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/DirectionalBlurItem.qml b/src/imports/effects_qt6/DirectionalBlurItem.qml
new file mode 100644
index 0000000..62582d2
--- /dev/null
+++ b/src/imports/effects_qt6/DirectionalBlurItem.qml
@@ -0,0 +1,62 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+
+ property real directionalBlurAngle: 0
+ property real directionalBlurLength: 0
+ property int directionalBlurSamples: 10
+ property alias directionalBlurBorder: directionalBlur.transparentBorder
+ property alias cached: directionalBlur.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ FastBlur {
+ id: directionalBlur
+ anchors.fill: stack
+ source: stack
+ transparentBorder: true
+ }
+ Component.onCompleted: Console.log("DirectionalBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/DisplaceEffect.qml b/src/imports/effects_qt6/DisplaceEffect.qml
new file mode 100644
index 0000000..5d27a35
--- /dev/null
+++ b/src/imports/effects_qt6/DisplaceEffect.qml
@@ -0,0 +1,35 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Displace {
+ id: displace
+}
diff --git a/src/imports/effects_qt6/DisplaceItem.qml b/src/imports/effects_qt6/DisplaceItem.qml
new file mode 100644
index 0000000..8d1ebdd
--- /dev/null
+++ b/src/imports/effects_qt6/DisplaceItem.qml
@@ -0,0 +1,66 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias displacement: displace.displacement
+ property alias cached: displace.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ implicitWidth: displace.source.width + displace.source.x
+ implicitHeight: displace.source.height + displace.source.y
+ visible: false
+ }
+
+ Displace {
+ id: displace
+ anchors.fill: parent
+ source: root.background
+ displacementSource: root.foreground
+ }
+
+ property Item background
+ property Item foreground
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ }
+}
+
diff --git a/src/imports/effects_qt6/DropShadowEffect.qml b/src/imports/effects_qt6/DropShadowEffect.qml
new file mode 100644
index 0000000..61f7cfa
--- /dev/null
+++ b/src/imports/effects_qt6/DropShadowEffect.qml
@@ -0,0 +1,42 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+DropShadow {
+ id: dropShadow
+ horizontalOffset: 3
+ verticalOffset: 3
+ radius: 8.0
+ samples: 17
+ spread: 0.5
+ transparentBorder: true
+ color: "#80000000"
+}
diff --git a/src/imports/effects_qt6/DropShadowItem.qml b/src/imports/effects_qt6/DropShadowItem.qml
new file mode 100644
index 0000000..e49f283
--- /dev/null
+++ b/src/imports/effects_qt6/DropShadowItem.qml
@@ -0,0 +1,69 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias horizontalOffset: dropShadow.horizontalOffset
+ property alias verticalOffset: dropShadow.verticalOffset
+ property alias radius: dropShadow.radius
+ property alias samples: dropShadow.samples
+ property alias spread: dropShadow.spread
+ property alias transparentBorder: dropShadow.transparentBorder
+ property alias color: dropShadow.color
+ property alias cached: dropShadow.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ DropShadow {
+ id: dropShadow
+ anchors.fill: stack
+ source: stack
+ horizontalOffset: 3
+ verticalOffset: 3
+ radius: 8.0
+ samples: 17
+ spread: 0.5
+ transparentBorder: true
+ color: "#80000000"
+ }
+}
diff --git a/src/imports/effects_qt6/FastBlurEffect.qml b/src/imports/effects_qt6/FastBlurEffect.qml
new file mode 100644
index 0000000..353fd1d
--- /dev/null
+++ b/src/imports/effects_qt6/FastBlurEffect.qml
@@ -0,0 +1,36 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.8
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: fastBlur
+ radius: 20
+}
diff --git a/src/imports/effects_qt6/FastBlurItem.qml b/src/imports/effects_qt6/FastBlurItem.qml
new file mode 100644
index 0000000..f8048cb
--- /dev/null
+++ b/src/imports/effects_qt6/FastBlurItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.8
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ layer.enabled: true
+
+ default property alias contentStack: stack.children
+ property alias radius: blur.radius
+ property alias transparentBorder: blur.transparentBorder
+ property alias cached: blur.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ }
+
+ FastBlur {
+ id: blur
+
+ transparentBorder: true
+ anchors.fill: stack
+ source: stack
+ radius: 12
+ }
+}
diff --git a/src/imports/effects_qt6/GammaAdjustEffect.qml b/src/imports/effects_qt6/GammaAdjustEffect.qml
new file mode 100644
index 0000000..dfa0680
--- /dev/null
+++ b/src/imports/effects_qt6/GammaAdjustEffect.qml
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+GammaAdjust {
+ id: gammaAdjust
+ anchors.fill: stack
+ gamma: 0.5
+}
diff --git a/src/imports/effects_qt6/GammaAdjustItem.qml b/src/imports/effects_qt6/GammaAdjustItem.qml
new file mode 100644
index 0000000..e8d0e67
--- /dev/null
+++ b/src/imports/effects_qt6/GammaAdjustItem.qml
@@ -0,0 +1,57 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias gamma: gammaAdjust.gamma
+ property alias cached: gammaAdjust.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ GammaAdjust {
+ id: gammaAdjust
+ anchors.fill: stack
+ source: stack
+ gamma: 0.5
+ }
+}
diff --git a/src/imports/effects_qt6/GaussianBlurEffect.qml b/src/imports/effects_qt6/GaussianBlurEffect.qml
new file mode 100644
index 0000000..deb93cd
--- /dev/null
+++ b/src/imports/effects_qt6/GaussianBlurEffect.qml
@@ -0,0 +1,41 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: gaussianBlur
+ transparentBorder: true
+ radius: 8.0
+
+ property alias radius: gaussianBlur.radius
+ property int samples: 0
+ Component.onCompleted: Console.log("GaussianBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/GaussianBlurItem.qml b/src/imports/effects_qt6/GaussianBlurItem.qml
new file mode 100644
index 0000000..95eb27a
--- /dev/null
+++ b/src/imports/effects_qt6/GaussianBlurItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property real deviation: gaussianBlur.deviation
+ property alias radius: gaussianBlur.radius
+ property int samples: 0
+ property alias transparentBorder: gaussianBlur.transparentBorder
+ property alias cached: gaussianBlur.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ FastBlur {
+ id: gaussianBlur
+ transparentBorder: true
+ anchors.fill: stack
+ source: stack
+ radius: 8.0
+ }
+ Component.onCompleted: Console.log("GaussianBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/GlowEffect.qml b/src/imports/effects_qt6/GlowEffect.qml
new file mode 100644
index 0000000..608e362
--- /dev/null
+++ b/src/imports/effects_qt6/GlowEffect.qml
@@ -0,0 +1,41 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Glow {
+ property real samples: 0
+ id: glow
+ radius: 5
+ samples: 16
+ spread: 0.5
+ color: "#ffffffff"
+ transparentBorder: true
+}
diff --git a/src/imports/effects_qt6/GlowItem.qml b/src/imports/effects_qt6/GlowItem.qml
new file mode 100644
index 0000000..201a3b1
--- /dev/null
+++ b/src/imports/effects_qt6/GlowItem.qml
@@ -0,0 +1,63 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias radius: glow.radius
+ property real samples: 0
+ property alias spread: glow.spread
+ property alias color: glow.color
+ property alias transparentBorder: glow.transparentBorder
+ property alias cached: glow.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ Glow {
+ id: glow
+ anchors.fill: stack
+ radius: 5
+ spread: 0.5
+ color: "#ffffffff"
+ transparentBorder: true
+ source: stack
+ }
+}
diff --git a/src/imports/effects_qt6/HueSaturationEffect.qml b/src/imports/effects_qt6/HueSaturationEffect.qml
new file mode 100644
index 0000000..d35f33f
--- /dev/null
+++ b/src/imports/effects_qt6/HueSaturationEffect.qml
@@ -0,0 +1,38 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+HueSaturation {
+ id: hueSat
+ hue: 0.5
+ saturation: 0.5
+ lightness: 0.5
+}
diff --git a/src/imports/effects_qt6/HueSaturationItem.qml b/src/imports/effects_qt6/HueSaturationItem.qml
new file mode 100644
index 0000000..39ab8ec
--- /dev/null
+++ b/src/imports/effects_qt6/HueSaturationItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias adjustHue: hueSat.hue
+ property alias adjustSaturation: hueSat.saturation
+ property alias adjustLightness: hueSat.lightness
+ property alias cached: hueSat.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ HueSaturation {
+ id: hueSat
+ anchors.fill: stack
+ source: stack
+ hue: 0.5
+ saturation: 0.5
+ lightness: 0.5
+ }
+}
diff --git a/src/imports/effects_qt6/InnerShadowEffect.qml b/src/imports/effects_qt6/InnerShadowEffect.qml
new file mode 100644
index 0000000..b2757bb
--- /dev/null
+++ b/src/imports/effects_qt6/InnerShadowEffect.qml
@@ -0,0 +1,45 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: innerShadow
+
+ property color color: "#000000"
+ property bool fast: false
+ property real horizontalOffset: 0
+ property real radius: 0
+ property real samples: 0
+ property real spread: 0
+ property real verticalOffset: 0
+
+ Component.onCompleted: Console.log("InnerShadow is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/InnerShadowItem.qml b/src/imports/effects_qt6/InnerShadowItem.qml
new file mode 100644
index 0000000..fc1724e
--- /dev/null
+++ b/src/imports/effects_qt6/InnerShadowItem.qml
@@ -0,0 +1,63 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias cached: innerShadow.cached
+
+ property color color: "#000000"
+ property bool fast: false
+ property real horizontalOffset: 0
+ property real radius: 0
+ property real samples: 0
+ property real spread: 0
+ property real verticalOffset: 0
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ FastBlur {
+ id: innerShadow
+ anchors.fill: stack
+ source: stack
+ }
+ Component.onCompleted: Console.log("InnerShadow is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/LevelAdjustEffect.qml b/src/imports/effects_qt6/LevelAdjustEffect.qml
new file mode 100644
index 0000000..9ca5ca6
--- /dev/null
+++ b/src/imports/effects_qt6/LevelAdjustEffect.qml
@@ -0,0 +1,41 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.12
+import Qt5Compat.GraphicalEffects
+
+LevelAdjust {
+ id: levelAdjust
+
+ property real gammaR: 1.0
+ property real gammaG: 1.0
+ property real gammaB: 1.0
+
+ gamma: Qt.vector3d(levelAdjust.gammaR, levelAdjust.gammaG, levelAdjust.gammaG)
+}
diff --git a/src/imports/effects_qt6/LevelAdjustItem.qml b/src/imports/effects_qt6/LevelAdjustItem.qml
new file mode 100644
index 0000000..6415e5c
--- /dev/null
+++ b/src/imports/effects_qt6/LevelAdjustItem.qml
@@ -0,0 +1,62 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property real gammaR: 1.0
+ property real gammaG: 1.0
+ property real gammaB: 1.0
+ property alias maximumInput: levelAdjust.maximumInput
+ property alias maximumOutput: levelAdjust.maximumOutput
+ property alias minimumInput: levelAdjust.minimumInput
+ property alias minimumOutput: levelAdjust.minimumOutput
+ property alias cached: levelAdjust.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: true
+ }
+
+ LevelAdjust {
+ id: levelAdjust
+ anchors.fill: stack
+ source: stack
+ gamma: Qt.vector3d(root.gammaR, root.gammaG, root.gammaG)
+ }
+}
diff --git a/src/imports/effects_qt6/MaskItem.qml b/src/imports/effects_qt6/MaskItem.qml
new file mode 100644
index 0000000..1ef8202
--- /dev/null
+++ b/src/imports/effects_qt6/MaskItem.qml
@@ -0,0 +1,69 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias invert: blend.invert
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ implicitWidth: blend.source.width + blend.source.x
+ implicitHeight: blend.source.height + blend.source.y
+
+ visible: false
+ }
+
+ OpacityMask {
+ id: blend
+ anchors.fill: parent
+ source: root.background
+ maskSource: root.foreground
+
+ }
+
+ property Item background
+ property Item foreground
+
+ property Item foo: Item {}
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ }
+}
+
diff --git a/src/imports/effects_qt6/MaskedBlurEffect.qml b/src/imports/effects_qt6/MaskedBlurEffect.qml
new file mode 100644
index 0000000..7028ec8
--- /dev/null
+++ b/src/imports/effects_qt6/MaskedBlurEffect.qml
@@ -0,0 +1,38 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: maskedBlur
+ radius: 32
+ property int samples: 0
+ Component.onCompleted: Console.log("MaskedBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/MaskedBlurItem.qml b/src/imports/effects_qt6/MaskedBlurItem.qml
new file mode 100644
index 0000000..2d0d232
--- /dev/null
+++ b/src/imports/effects_qt6/MaskedBlurItem.qml
@@ -0,0 +1,68 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias radius: maskedBlur.radius
+ property int samples: 0
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ implicitWidth: maskedBlur.source.width + maskedBlur.source.x
+ implicitHeight: maskedBlur.source.height + maskedBlur.source.y
+ visible: false
+ }
+
+ FastBlur {
+ id: maskedBlur
+ anchors.fill: parent
+ source: root.background
+ maskSource: root.foreground
+ radius: 32
+ samples: 16
+ }
+
+ property Item background
+ property Item foreground
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ Console.log("MaskedBlur is not supported with Qt 6")
+ }
+}
diff --git a/src/imports/effects_qt6/OpacityMaskEffect.qml b/src/imports/effects_qt6/OpacityMaskEffect.qml
new file mode 100644
index 0000000..71e4afb
--- /dev/null
+++ b/src/imports/effects_qt6/OpacityMaskEffect.qml
@@ -0,0 +1,35 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+OpacityMask {
+ id: mask
+}
diff --git a/src/imports/effects_qt6/OpacityMaskItem.qml b/src/imports/effects_qt6/OpacityMaskItem.qml
new file mode 100644
index 0000000..e523d9d
--- /dev/null
+++ b/src/imports/effects_qt6/OpacityMaskItem.qml
@@ -0,0 +1,65 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias invert: mask.invert
+ property alias cached: mask.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ implicitWidth: mask.source.width + mask.source.x
+ implicitHeight: mask.source.height + mask.source.y
+ visible: false
+ }
+
+ OpacityMask {
+ id: mask
+ anchors.fill: parent
+ source: root.background
+ maskSource: root.foreground
+ }
+
+ property Item background
+ property Item foreground
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ }
+}
diff --git a/src/imports/effects_qt6/RadialBlurEffect.qml b/src/imports/effects_qt6/RadialBlurEffect.qml
new file mode 100644
index 0000000..ef26aaf
--- /dev/null
+++ b/src/imports/effects_qt6/RadialBlurEffect.qml
@@ -0,0 +1,46 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+
+ property int samples: 0
+ property real verticalOffset: 0
+ property real horizontalOffset: 0
+ property real transparentBorder: 0
+ property real angle: 0
+
+ id: radialBlur
+
+ transparentBorder: true
+
+ Component.onCompleted: Console.log("RadiallBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/RadialBlurItem.qml b/src/imports/effects_qt6/RadialBlurItem.qml
new file mode 100644
index 0000000..a7a5cea
--- /dev/null
+++ b/src/imports/effects_qt6/RadialBlurItem.qml
@@ -0,0 +1,62 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias cached: radialBlur.cached
+ property int samples: 0
+ property real verticalOffset: 0
+ property real horizontalOffset: 0
+ property real transparentBorder: 0
+ property real angle: 0
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ }
+
+ FastBlur {
+ id: radialBlur
+ anchors.fill: stack
+ source: stack
+ transparentBorder: true
+ }
+
+ Component.onCompleted: Console.log("RadiallBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/RecursiveBlurEffect.qml b/src/imports/effects_qt6/RecursiveBlurEffect.qml
new file mode 100644
index 0000000..f25f9a4
--- /dev/null
+++ b/src/imports/effects_qt6/RecursiveBlurEffect.qml
@@ -0,0 +1,40 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: recursiveBlur
+ transparentBorder: true
+ radius: 8.0
+ property int loops: 0
+ property int progress: 0
+ Component.onCompleted: Console.log("RecursiveBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/RecursiveBlurItem.qml b/src/imports/effects_qt6/RecursiveBlurItem.qml
new file mode 100644
index 0000000..82cc98b
--- /dev/null
+++ b/src/imports/effects_qt6/RecursiveBlurItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property int loops: 0
+ property int progress: 0
+ property alias radius: recursiveBlur.radius
+ property alias transparentBorder: recursiveBlur.transparentBorder
+ property alias cached: recursiveBlur.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ visible: false
+ }
+
+ FastBlur {
+ id: recursiveBlur
+ transparentBorder: true
+ anchors.fill: stack
+ source: stack
+ radius: 8.0
+ }
+ Component.onCompleted: Console.log("RecursiveBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/RotationItem.qml b/src/imports/effects_qt6/RotationItem.qml
new file mode 100644
index 0000000..76da4d4
--- /dev/null
+++ b/src/imports/effects_qt6/RotationItem.qml
@@ -0,0 +1,51 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+ property alias originX: rotation.origin.x
+ property alias originY: rotation.origin.y
+ property alias axisX: rotation.axis.x
+ property alias axisY: rotation.axis.y
+ property alias axisZ: rotation.axis.z
+ property alias angle: rotation.angle
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ transform: Rotation {
+ id: rotation
+ origin.x: root.width / 2
+ origin.y: root.height / 2
+ angle: 45
+ }
+}
diff --git a/src/imports/effects_qt6/SaturationItem.qml b/src/imports/effects_qt6/SaturationItem.qml
new file mode 100644
index 0000000..cc26a91
--- /dev/null
+++ b/src/imports/effects_qt6/SaturationItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias desaturation: desaturate.desaturation
+ property alias cached: desaturate.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+
+ Item {
+ id: stack
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+
+ visible: false
+ }
+
+ Desaturate {
+ id: desaturate
+ source: stack
+ anchors.fill: stack
+
+ desaturation: 0.5
+ }
+}
+
diff --git a/src/imports/effects_qt6/ThresholdMaskEffect.qml b/src/imports/effects_qt6/ThresholdMaskEffect.qml
new file mode 100644
index 0000000..7092998
--- /dev/null
+++ b/src/imports/effects_qt6/ThresholdMaskEffect.qml
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+ThresholdMask {
+ id: thresholdMask
+ spread: 0.2
+ threshold: 0.5
+}
diff --git a/src/imports/effects_qt6/ThresholdMaskItem.qml b/src/imports/effects_qt6/ThresholdMaskItem.qml
new file mode 100644
index 0000000..3302f38
--- /dev/null
+++ b/src/imports/effects_qt6/ThresholdMaskItem.qml
@@ -0,0 +1,68 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property alias spread: thresholdMask.spread
+ property alias threshold: thresholdMask.threshold
+ property alias cached: thresholdMask.cached
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ z: -1
+ id: stack
+ implicitWidth: thresholdMask.source.width + thresholdMask.source.x
+ implicitHeight: thresholdMask.source.height + thresholdMask.source.y
+ visible: false
+ }
+
+ ThresholdMask {
+ id: thresholdMask
+ anchors.fill: parent
+ source: root.background
+ maskSource: root.foreground
+ spread: 0.2
+ threshold: 0.5
+ }
+
+ property Item background
+ property Item foreground
+
+ Component.onCompleted: {
+ root.background = stack.children[0]
+ root.foreground = stack.children[1]
+ }
+}
diff --git a/src/imports/effects_qt6/ZoomBlurEffect.qml b/src/imports/effects_qt6/ZoomBlurEffect.qml
new file mode 100644
index 0000000..ce34e30
--- /dev/null
+++ b/src/imports/effects_qt6/ZoomBlurEffect.qml
@@ -0,0 +1,41 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+FastBlur {
+ id: zoomBlur
+ property int zoomBlurLength: 0
+ property int zoomBlurSamples: 0
+ property real zoomBlurHoffset: 0
+ property real zoomBlurVoffset: 0
+ transparentBorder: true
+ Component.onCompleted: Console.log("ZoomBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/ZoomBlurItem.qml b/src/imports/effects_qt6/ZoomBlurItem.qml
new file mode 100644
index 0000000..b1f94a8
--- /dev/null
+++ b/src/imports/effects_qt6/ZoomBlurItem.qml
@@ -0,0 +1,61 @@
+/****************************************************************************
+**
+** Copyright (C) 2019 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick
+import Qt5Compat.GraphicalEffects
+
+Item {
+ id: root
+
+ default property alias contentStack: stack.children
+ property int zoomBlurLength: 0
+ property int zoomBlurSamples: 0
+ property real zoomBlurHoffset: 0
+ property real zoomBlurVoffset: 0
+ property alias cached: zoomBlur.cached
+ property alias transparentBorder: zoomBlur.transparentBorder
+
+ implicitWidth: Math.max(32, stack.implicitWidth)
+ implicitHeight: Math.max(32, stack.implicitHeight)
+
+ Item {
+ id: stack
+
+ implicitWidth: childrenRect.width + childrenRect.x
+ implicitHeight: childrenRect.height + childrenRect.y
+ }
+
+ FastBlur {
+ id: zoomBlur
+ anchors.fill: stack
+ source: stack
+ transparentBorder: true
+ }
+ Component.onCompleted: Console.log("ZoomBlur is not supported with Qt 6")
+}
diff --git a/src/imports/effects_qt6/designer/BlendEffectSpecifics.qml b/src/imports/effects_qt6/designer/BlendEffectSpecifics.qml
new file mode 100644
index 0000000..10ee2a6
--- /dev/null
+++ b/src/imports/effects_qt6/designer/BlendEffectSpecifics.qml
@@ -0,0 +1,137 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Blend")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Mode")
+ toolTip: qsTr("The mode which is used when foreground source is blended over "
+ + "source.")
+ }
+ SecondColumnLayout {
+ ComboBox {
+ id: blendMode
+
+ backendValue: backendValues.mode
+ Layout.fillWidth: true
+
+ useInteger: true
+ manualMapping: true
+
+ model: ["normal", "addition", "average", "color", "colorBurn", "colorDodge", "darken", "darkerColor", "difference", "divide", "exclusion", "hardLight", "hue", "lighten", "lighterColor", "lightness", "multiply", "negation", "saturation", "screen", "subtract", "softLight"]
+
+ property bool block: false
+
+ onValueFromBackendChanged: blendMode.fromBackendToFrontend()
+
+ onCurrentTextChanged: {
+ if (!__isCompleted)
+ return
+
+ if (block)
+ return
+
+ backendValues.mode.value = blendMode.model[blendMode.currentIndex]
+ }
+
+ Connections {
+ target: modelNodeBackend
+ onSelectionChanged: blendMode.fromBackendToFrontend()
+ }
+
+ function fromBackendToFrontend()
+ {
+ if (!__isCompleted)
+ return
+
+ block = true
+
+ currentIndex = blendMode.model.indexOf(backendValues.mode.value)
+
+ block = false
+ }
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Foreground Source")
+ toolTip: qsTr("The item that is going to be blended over the source.")
+ }
+ SecondColumnLayout {
+ ItemFilterComboBox {
+ typeFilter: "QtQuick.Item"
+ validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ }
+ backendValue: backendValues.foregroundSource
+ Layout.fillWidth: true
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/BrightnessContrastEffectSpecifics.qml b/src/imports/effects_qt6/designer/BrightnessContrastEffectSpecifics.qml
new file mode 100644
index 0000000..545d9aa
--- /dev/null
+++ b/src/imports/effects_qt6/designer/BrightnessContrastEffectSpecifics.qml
@@ -0,0 +1,107 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Brightness and Contrast")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Brightness")
+ toolTip: qsTr("The increase or decrease of source brightness.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.brightness
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Contrast")
+ toolTip: qsTr("The increase or decrease of source contrast. The decrease of the "
+ + "contrast is linear, but the increase is applied with a "
+ + "non-linear curve to allow very high contrast adjustment at the "
+ + "high end of the value range.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.contrast
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/ColorOverlayEffectSpecifics.qml b/src/imports/effects_qt6/designer/ColorOverlayEffectSpecifics.qml
new file mode 100644
index 0000000..9c1e303
--- /dev/null
+++ b/src/imports/effects_qt6/designer/ColorOverlayEffectSpecifics.qml
@@ -0,0 +1,73 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Overlay Color")
+
+ ColorEditor {
+ caption: qsTr("Overlay Color")
+ backendValue: backendValues.color
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/ColorizeEffectSpecifics.qml b/src/imports/effects_qt6/designer/ColorizeEffectSpecifics.qml
new file mode 100644
index 0000000..a5c7e24
--- /dev/null
+++ b/src/imports/effects_qt6/designer/ColorizeEffectSpecifics.qml
@@ -0,0 +1,124 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Colorize")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Hue")
+ toolTip: qsTr("The hue value which is used to colorize the source.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.hue
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Lightness")
+ toolTip: qsTr("The increase or decrease of source lightness value. Unlike hue and "
+ + "saturation properties, lightness does not set the used value, but "
+ + "it shifts the existing source pixel lightness value.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.lightness
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Saturation")
+ toolTip: qsTr("The saturation value which is used to colorize the source.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.saturation
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/DesaturationEffectSpecifics.qml b/src/imports/effects_qt6/designer/DesaturationEffectSpecifics.qml
new file mode 100644
index 0000000..4ea4f04
--- /dev/null
+++ b/src/imports/effects_qt6/designer/DesaturationEffectSpecifics.qml
@@ -0,0 +1,87 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Desaturation")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Desaturation")
+ toolTip: qsTr("How much the source colors are desaturated.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.desaturation
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/DirectionalBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/DirectionalBlurEffectSpecifics.qml
new file mode 100644
index 0000000..83f6a47
--- /dev/null
+++ b/src/imports/effects_qt6/designer/DirectionalBlurEffectSpecifics.qml
@@ -0,0 +1,145 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ id: root
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ property int spinBoxWidth: 90
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Directional Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Angle")
+ toolTip: qsTr("The direction for the blur. Blur is applied to both sides of each "
+ + "pixel. Therefore, setting the direction to 0 and 180 produces "
+ + "the same result.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.angle
+ Layout.preferredWidth: root.spinBoxWidth
+ decimals: 1
+ minimumValue: -180
+ maximumValue: 180
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for blur calculation. A larger value produces "
+ + "better quality, but is slower to render.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: root.spinBoxWidth
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Length")
+ toolTip: qsTr("The perceived amount of movement for each pixel. The movement is "
+ + "divided evenly to both sides of each pixel.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.length
+ Layout.preferredWidth: root.spinBoxWidth
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/DisplaceEffectSpecifics.qml b/src/imports/effects_qt6/designer/DisplaceEffectSpecifics.qml
new file mode 100644
index 0000000..e5df92f
--- /dev/null
+++ b/src/imports/effects_qt6/designer/DisplaceEffectSpecifics.qml
@@ -0,0 +1,103 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Displace")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Displacement")
+ toolTip: qsTr("The scale for the displacement. The bigger the scale, the bigger "
+ + "the displacement of the pixels.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.displacement
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Displacement source")
+ toolTip: qsTr("The item that is going to be used as the displacement map.")
+ }
+ SecondColumnLayout {
+ ItemFilterComboBox {
+ typeFilter: "QtQuick.Item"
+ validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ }
+ backendValue: backendValues.displacementSource
+ Layout.fillWidth: true
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/DropShadowEffectSpecifics.qml b/src/imports/effects_qt6/designer/DropShadowEffectSpecifics.qml
new file mode 100644
index 0000000..2bb07c1
--- /dev/null
+++ b/src/imports/effects_qt6/designer/DropShadowEffectSpecifics.qml
@@ -0,0 +1,198 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Drop Shadow Color")
+
+ ColorEditor {
+ caption: qsTr("Drop Shadow Color")
+ backendValue: backendValues.color
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Drop Shadow")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The softness of the shadow. A larger radius causes the edges of the "
+ + "shadow to appear more blurry.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for edge softening blur calculation. Ideally, "
+ + "this value should be twice as large as the highest required "
+ + "radius value plus one.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: 80
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 201
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Spread")
+ toolTip: qsTr("The part of the shadow color that is strengthened near the source "
+ + "edges.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.spread
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Offsets")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Horizontal offset")
+ toolTip: qsTr("The horizontal offset for the rendered shadow compared to the "
+ + "drop shadow component's horizontal position.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.horizontalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Vertical offset")
+ toolTip: qsTr("The vertical offset for the rendered shadow compared to the drop "
+ + "shadow component's vertical position.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.verticalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/FastBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/FastBlurEffectSpecifics.qml
new file mode 100644
index 0000000..8b57c80
--- /dev/null
+++ b/src/imports/effects_qt6/designer/FastBlurEffectSpecifics.qml
@@ -0,0 +1,104 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Fast Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The distance of the neighboring pixels which affect the blurring of "
+ + "an individual pixel. A larger radius increases the blur effect.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/GammaAdjustEffectSpecifics.qml b/src/imports/effects_qt6/designer/GammaAdjustEffectSpecifics.qml
new file mode 100644
index 0000000..8493204
--- /dev/null
+++ b/src/imports/effects_qt6/designer/GammaAdjustEffectSpecifics.qml
@@ -0,0 +1,87 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Gamma Adjust")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Gamma")
+ toolTip: qsTr("The change factor for how the luminance of each pixel is altered.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.gamma
+ Layout.preferredWidth: 100
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/GaussianBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/GaussianBlurEffectSpecifics.qml
new file mode 100644
index 0000000..8859fff
--- /dev/null
+++ b/src/imports/effects_qt6/designer/GaussianBlurEffectSpecifics.qml
@@ -0,0 +1,137 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Gaussian Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The distance of the neighboring pixels which affect the blurring of "
+ + "an individual pixel. A larger radius increases the blur effect.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Deviation")
+ toolTip: qsTr("A parameter to the gaussian function that is used when calculating "
+ + "neighboring pixel weights for the blurring.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.deviation
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 50
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for blur calculation. A larger value produces "
+ + "better quality, but is slower to render.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/GlowEffectSpecifics.qml b/src/imports/effects_qt6/designer/GlowEffectSpecifics.qml
new file mode 100644
index 0000000..7c7882a
--- /dev/null
+++ b/src/imports/effects_qt6/designer/GlowEffectSpecifics.qml
@@ -0,0 +1,156 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Glow Color")
+
+ ColorEditor {
+ caption: qsTr("Glow Color")
+ backendValue: backendValues.color
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Glow")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The softness of the glow. A larger radius causes the edges of the "
+ + "glow to appear more blurry. Depending on the radius value, value "
+ + "of the samples should be set to sufficiently large to ensure the "
+ + "visual quality.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for edge softening blur calculation. A larger "
+ + "value produces better quality, but is slower to render. Ideally, "
+ + "this value should be twice as large as the highest required "
+ + "radius value plus one.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 201
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Spread")
+ toolTip: qsTr("The part of the glow color that is strengthened near the source "
+ + "edges.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.spread
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/HueSaturationEffectSpecifics.qml b/src/imports/effects_qt6/designer/HueSaturationEffectSpecifics.qml
new file mode 100644
index 0000000..26e1f94
--- /dev/null
+++ b/src/imports/effects_qt6/designer/HueSaturationEffectSpecifics.qml
@@ -0,0 +1,123 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Hue and Saturation")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Hue")
+ toolTip: qsTr("The hue value which is added to the source hue value.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.hue
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Lightness")
+ toolTip: qsTr("The lightness value which is added to the source saturation value.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.lightness
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Saturation")
+ toolTip: qsTr("The saturation value value which is added to the source saturation "
+ + "value.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.saturation
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: -1
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/InnerShadowEffectSpecifics.qml b/src/imports/effects_qt6/designer/InnerShadowEffectSpecifics.qml
new file mode 100644
index 0000000..32ac0bd
--- /dev/null
+++ b/src/imports/effects_qt6/designer/InnerShadowEffectSpecifics.qml
@@ -0,0 +1,197 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Inner Shadow Color")
+
+ ColorEditor {
+ caption: qsTr("Inner Shadow Color")
+ backendValue: backendValues.color
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Inner Shadow")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The softness of the shadow. A larger radius causes the edges of the "
+ + "shadow to appear more blurry.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for edge softening blur calculation. Ideally, "
+ + "this value should be twice as large as the highest required "
+ + "radius value plus one.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: 80
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 201
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Spread")
+ toolTip: qsTr("The part of the shadow color that is strengthened near the source "
+ + "edges.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.spread
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Fast")
+ toolTip: qsTr("The blurring algorithm that is used to produce the softness for the "
+ + "effect.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.fast
+ text: backendValues.fast.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Offsets")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Horizontal offset")
+ toolTip: qsTr("The horizontal offset for the rendered shadow compared to the inner "
+ + "shadow component's horizontal position.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.horizontalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Vertical offset")
+ toolTip: qsTr("The vertical offset for the rendered shadow compared to the inner "
+ + "shadow component's vertical position. ")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.verticalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/LevelAdjustEffectSpecifics.qml b/src/imports/effects_qt6/designer/LevelAdjustEffectSpecifics.qml
new file mode 100644
index 0000000..7981398
--- /dev/null
+++ b/src/imports/effects_qt6/designer/LevelAdjustEffectSpecifics.qml
@@ -0,0 +1,169 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Level Adjust")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Gamma")
+ toolTip: qsTr("The change factor for how the luminance of each pixel is altered.")
+ }
+ SecondColumnLayout {
+ ColumnLayout {
+ RowLayout {
+ Label {
+ text: qsTr("R")
+ }
+ SpinBox {
+ minimumValue: 0
+ maximumValue: 100
+ decimals: 2
+ stepSize: 0.1
+ backendValue: backendValues.gammaR
+ Layout.fillWidth: true
+ sliderIndicatorVisible: true
+ }
+ }
+ RowLayout {
+ Label {
+ text: qsTr("G")
+ }
+ SpinBox {
+ minimumValue: 0
+ maximumValue: 100
+ decimals: 2
+ stepSize: 0.1
+ backendValue: backendValues.gammaG
+ Layout.fillWidth: true
+ sliderIndicatorVisible: true
+ }
+ }
+ RowLayout {
+ Label {
+ text: qsTr("B")
+ }
+ SpinBox {
+ minimumValue: 0
+ maximumValue: 100
+ decimals: 2
+ stepSize: 0.1
+ backendValue: backendValues.gammaB
+ Layout.fillWidth: true
+ sliderIndicatorVisible: true
+ }
+ }
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Minimum Input")
+
+ ColorEditor {
+ caption: qsTr("Minimum Input")
+ backendValue: backendValues.minimumInput
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Minimum Output")
+
+ ColorEditor {
+ caption: qsTr("Minimum Output")
+ backendValue: backendValues.minimumOutput
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Maximum Input")
+
+ ColorEditor {
+ caption: qsTr("Maximum Input")
+ backendValue: backendValues.maximumInput
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Maximum Output")
+
+ ColorEditor {
+ caption: qsTr("Maximum Output")
+ backendValue: backendValues.maximumOutput
+ supportGradient: false
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/MaskedBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/MaskedBlurEffectSpecifics.qml
new file mode 100644
index 0000000..37bc3c1
--- /dev/null
+++ b/src/imports/effects_qt6/designer/MaskedBlurEffectSpecifics.qml
@@ -0,0 +1,119 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Masked Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The distance of the neighboring pixels which affect the blurring of "
+ + "an individual pixel. A larger radius increases the blur effect.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 100
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for blur calculation. A larger value produces "
+ + "better quality, but is slower to render.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Mask Source")
+ toolTip: qsTr("The component that controls the final intensity of the blur.")
+ }
+ SecondColumnLayout {
+ ItemFilterComboBox {
+ typeFilter: "QtQuick.Item"
+ validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ }
+ backendValue: backendValues.maskSource
+ Layout.fillWidth: true
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/OpacityMaskEffectSpecifics.qml b/src/imports/effects_qt6/designer/OpacityMaskEffectSpecifics.qml
new file mode 100644
index 0000000..3922ffd
--- /dev/null
+++ b/src/imports/effects_qt6/designer/OpacityMaskEffectSpecifics.qml
@@ -0,0 +1,98 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Opacity Mask")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Invert")
+ toolTip: qsTr("Controls how the alpha values of the source mask will behave.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ backendValue: backendValues.invert
+ text: backendValues.invert.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Mask Source")
+ toolTip: qsTr("The item that is going to be used as the mask.")
+ }
+ SecondColumnLayout {
+ ItemFilterComboBox {
+ typeFilter: "QtQuick.Item"
+ validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ }
+ backendValue: backendValues.maskSource
+ Layout.fillWidth: true
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/RadialBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/RadialBlurEffectSpecifics.qml
new file mode 100644
index 0000000..83d47ff
--- /dev/null
+++ b/src/imports/effects_qt6/designer/RadialBlurEffectSpecifics.qml
@@ -0,0 +1,169 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Radial Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Angle")
+ toolTip: qsTr("The direction for the blur and at the same time the level of "
+ + "blurring. The larger the angle, the more the result becomes "
+ + "blurred. The quality of the blur depends on samples property.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.angle
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 360
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel for blur calculation. A larger value produces "
+ + "better quality, but is slower to render. This property is not "
+ + "intended to be animated. Changing this property may cause the "
+ + "underlying OpenGL shaders to be recompiled.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: 80
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 200
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Offsets")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Horizontal offset")
+ toolTip: qsTr("The horizontal offset in pixels for the perceived center point of "
+ + "the rotation.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.horizontalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Vertical offset")
+ toolTip: qsTr("The vertical offset in pixels for the perceived center point of the "
+ + "rotation.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.verticalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/RecursiveBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/RecursiveBlurEffectSpecifics.qml
new file mode 100644
index 0000000..d62a372
--- /dev/null
+++ b/src/imports/effects_qt6/designer/RecursiveBlurEffectSpecifics.qml
@@ -0,0 +1,121 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Recursive Blur")
+
+ SectionLayout {
+ rows: 2
+
+ Label {
+ text: qsTr("Loops")
+ toolTip: qsTr("The amount of blur iterations that are going to be performed for "
+ + "the source.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.loops
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Radius")
+ toolTip: qsTr("The distance of the neighboring pixels which affect the blurring of "
+ + "an individual pixel. A larger radius increases the blur effect.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.radius
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 16
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/ThresholdMaskEffectSpecifics.qml b/src/imports/effects_qt6/designer/ThresholdMaskEffectSpecifics.qml
new file mode 100644
index 0000000..4f36e77
--- /dev/null
+++ b/src/imports/effects_qt6/designer/ThresholdMaskEffectSpecifics.qml
@@ -0,0 +1,119 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Threshold Mask")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Spread")
+ toolTip: qsTr("The smoothness of the mask edges near the threshold alpha value.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.spread
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Threshold")
+ toolTip: qsTr("A threshold value for the mask pixels.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.threshold
+ Layout.preferredWidth: 80
+ decimals: 2
+ minimumValue: 0
+ maximumValue: 1
+ stepSize: 0.1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Mask Source")
+ toolTip: qsTr("The item that is going to be used as the mask.")
+ }
+ SecondColumnLayout {
+ ItemFilterComboBox {
+ typeFilter: "QtQuick.Item"
+ validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ }
+ backendValue: backendValues.maskSource
+ Layout.fillWidth: true
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/ZoomBlurEffectSpecifics.qml b/src/imports/effects_qt6/designer/ZoomBlurEffectSpecifics.qml
new file mode 100644
index 0000000..4dd0a3f
--- /dev/null
+++ b/src/imports/effects_qt6/designer/ZoomBlurEffectSpecifics.qml
@@ -0,0 +1,167 @@
+/****************************************************************************
+**
+** Copyright (C) 2020 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+import QtQuick 2.0
+import HelperWidgets 2.0
+import QtQuick.Layouts 1.0
+
+Column {
+ anchors.left: parent.left
+ anchors.right: parent.right
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Zoom Blur")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Length")
+ toolTip: qsTr("The maximum perceived amount of movement for each pixel. The amount "
+ + "is smaller near the center and reaches the specified value at the "
+ + "edges.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.length
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: 0
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Samples")
+ toolTip: qsTr("Samples per pixel to calculate blur. A larger value produces better "
+ + "quality, but is slower to render.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.samples
+ Layout.preferredWidth: 80
+ decimals: 0
+ minimumValue: 0
+ maximumValue: 200
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Offsets")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Horizontal offset")
+ toolTip: qsTr("The horizontal offset in pixels for the blur direction center "
+ + "point.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.horizontalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Vertical offset")
+ toolTip: qsTr("The vertical offset in pixels for the blur direction center point.")
+ }
+ SecondColumnLayout {
+ SpinBox {
+ backendValue: backendValues.verticalOffset
+ Layout.preferredWidth: 80
+ decimals: 1
+ minimumValue: -1000
+ maximumValue: 1000
+ stepSize: 1
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Caching and Border")
+
+ SectionLayout {
+ rows: 2
+ Label {
+ text: qsTr("Cached")
+ toolTip: qsTr("Caches the effect output pixels to improve the rendering "
+ + "performance.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.cached
+ text: backendValues.cached.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+
+ Label {
+ text: qsTr("Transparent border")
+ toolTip: qsTr("Pads the exterior of the item with a transparent edge, making "
+ + "sampling outside the source texture use transparency instead of "
+ + "the edge pixels.")
+ }
+ SecondColumnLayout {
+ CheckBox {
+ Layout.fillWidth: true
+ backendValue: backendValues.transparentBorder
+ text: backendValues.transparentBorder.valueToString
+ }
+ ExpandingSpacer {
+ }
+ }
+ }
+ }
+}
diff --git a/src/imports/effects_qt6/designer/designer.pri b/src/imports/effects_qt6/designer/designer.pri
new file mode 100644
index 0000000..b118965
--- /dev/null
+++ b/src/imports/effects_qt6/designer/designer.pri
@@ -0,0 +1,88 @@
+AUX_QML_FILES += \
+ $$PWD/effects.metainfo
+
+
+AUX_QML_FILES += \
+ $$PWD/BlendEffectSpecifics.qml \
+ $$PWD/BrightnessContrastEffectSpecifics.qml \
+ $$PWD/ColorizeEffectSpecifics.qml \
+ $$PWD/ColorOverlayEffectSpecifics.qml \
+ $$PWD/DesaturationEffectSpecifics.qml \
+ $$PWD/DirectionalBlurEffectSpecifics.qml \
+ $$PWD/DisplaceEffectSpecifics.qml \
+ $$PWD/DropShadowEffectSpecifics.qml \
+ $$PWD/FastBlurEffectSpecifics.qml \
+ $$PWD/GammaAdjustEffectSpecifics.qml \
+ $$PWD/GaussianBlurEffectSpecifics.qml \
+ $$PWD/GlowEffectSpecifics.qml \
+ $$PWD/HueSaturationEffectSpecifics.qml \
+ $$PWD/InnerShadowEffectSpecifics.qml \
+ $$PWD/LevelAdjustEffectSpecifics.qml \
+ $$PWD/MaskedBlurEffectSpecifics.qml \
+ $$PWD/OpacityMaskEffectSpecifics.qml \
+ $$PWD/RadialBlurEffectSpecifics.qml \
+ $$PWD/RecursiveBlurEffectSpecifics.qml \
+ $$PWD/ThresholdMaskEffectSpecifics.qml \
+ $$PWD/ZoomBlurEffectSpecifics.qml
+
+AUX_QML_FILES += \
+ $$PWD/images/blend-mode-16px.png \
+ $$PWD/images/blend-mode-24px.png \
+ $$PWD/images/blend-mode-24px@2x.png \
+ $$PWD/images/brightness-contrast-16px.png \
+ $$PWD/images/brightness-contrast-24px.png \
+ $$PWD/images/brightness-contrast-24px@2x.png \
+ $$PWD/images/colourize-16px.png \
+ $$PWD/images/colourize-24px.png \
+ $$PWD/images/colourize-24px@2x.png \
+ $$PWD/images/desaturation-16px.png \
+ $$PWD/images/desaturation-24px.png \
+ $$PWD/images/desaturation-24px@2x.png \
+ $$PWD/images/directional-blur-16px.png \
+ $$PWD/images/directional-blur-24px.png \
+ $$PWD/images/directional-blur-24px@2x.png \
+ $$PWD/images/displace-16px.png \
+ $$PWD/images/displace-24px.png \
+ $$PWD/images/displace-24px@2.png \
+ $$PWD/images/drop-shadow-16px.png \
+ $$PWD/images/drop-shadow-24px.png \
+ $$PWD/images/drop-shadow-24px@2x.png \
+ $$PWD/images/fast-blur-16px.png \
+ $$PWD/images/fast-blur-24px.png \
+ $$PWD/images/fast-blur-24px@2x.png \
+ $$PWD/images/gamma-adjust-16px.png \
+ $$PWD/images/gamma-adjust-24px.png \
+ $$PWD/images/gamma-adjust-24px@2x.png \
+ $$PWD/images/gaussian-blur-16px.png \
+ $$PWD/images/gaussian-blur-24px.png \
+ $$PWD/images/gaussian-blur-24px@2.png \
+ $$PWD/images/glow-16px.png \
+ $$PWD/images/glow-24px.png \
+ $$PWD/images/glow-24px@2x.png \
+ $$PWD/images/hue-saturation-16px.png \
+ $$PWD/images/hue-saturation-24px.png \
+ $$PWD/images/hue-saturation-24px@2x.png \
+ $$PWD/images/inner-shadow-16px.png \
+ $$PWD/images/inner-shadow-24px.png \
+ $$PWD/images/inner-shadow-24px@2.png \
+ $$PWD/images/levels-16px.png \
+ $$PWD/images/levels-24px.png \
+ $$PWD/images/levels-24px@2.png \
+ $$PWD/images/mask-blur-16px.png \
+ $$PWD/images/mask-blur-24px.png \
+ $$PWD/images/mask-blur-24px@2x.png \
+ $$PWD/images/opacity-mask-16px.png \
+ $$PWD/images/opacity-mask-24px.png \
+ $$PWD/images/opacity-mask-24px@2x.png \
+ $$PWD/images/radial-blur-16px.png \
+ $$PWD/images/radial-blur-24px.png \
+ $$PWD/images/radial-blur-24px@2x.png \
+ $$PWD/images/recursive-blur-16px.png \
+ $$PWD/images/recursive-blur-24px.png \
+ $$PWD/images/recursive-blur-24px@2.png \
+ $$PWD/images/theshold-24px@2.png \
+ $$PWD/images/threshold-16px.png \
+ $$PWD/images/threshold-24px.png \
+ $$PWD/images/zoom-blur-16px.png \
+ $$PWD/images/zoom-blur-24px.png \
+ $$PWD/images/zoom-blur-24px@2x.png
diff --git a/src/imports/effects_qt6/designer/effects.metainfo b/src/imports/effects_qt6/designer/effects.metainfo
new file mode 100644
index 0000000..3da68e6
--- /dev/null
+++ b/src/imports/effects_qt6/designer/effects.metainfo
@@ -0,0 +1,450 @@
+MetaInfo {
+ Type {
+ name: "QtQuick.Studio.Effects.BlendEffect"
+ icon: "images/blend-mode-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+
+
+ Type {
+ name: "QtQuick.Studio.Effects.BrightnessContrastEffect"
+ icon: "images/brightness-contrast-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Brightness Contrast"
+ category: "Effects"
+ libraryIcon: "images/brightness-contrast-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.ColorizeEffect"
+ icon: "images/colourize-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Colorize"
+ category: "Effects"
+ libraryIcon: "images/colourize-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.ColorOverlayEffect"
+ icon: "images/colourize-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Color Overlay"
+ category: "Effects"
+ libraryIcon: "images/colourize-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.DesaturationEffect"
+ icon: "images/desaturation-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Desaturation"
+ category: "Effects"
+ libraryIcon: "images/desaturation-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.DirectionalBlurEffect"
+ icon: "images/directional-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.DisplaceEffect"
+ icon: "images/displace-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Displace"
+ category: "Effects"
+ libraryIcon: "images/displace-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.DropShadowEffect"
+ icon: "images/drop-shadow-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Drop Shadow"
+ category: "Effects"
+ libraryIcon: "images/drop-shadow-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.FastBlurEffect"
+ icon: "images/fast-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Fast Blur"
+ category: "Effects"
+ libraryIcon: "images/fast-blur-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.GammaAdjustEffect"
+ icon: "images/gamma-adjust-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Gamma Adjust"
+ category: "Effects"
+ libraryIcon: "images/gamma-adjust-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.GaussianBlurEffect"
+ icon: "images/gaussian-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.GlowEffect"
+ icon: "images/glow-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Glow"
+ category: "Effects"
+ libraryIcon: "images/glow-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.HueSaturationEffect"
+ icon: "images/hue-saturation-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Hue Saturation"
+ category: "Effects"
+ libraryIcon: "images/hue-saturation-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.InnerShadowEffect"
+ icon: "images/inner-shadow-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.LevelAdjustEffect"
+ icon: "images/levels-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+
+ }
+
+ ItemLibraryEntry {
+ name: "Level Adjust"
+ category: "Effects"
+ libraryIcon: "images/levels-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.MaskedBlurEffect"
+ icon: "images/mask-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.OpacityMaskEffect"
+ icon: "images/opacity-mask-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Opacity Mask"
+ category: "Effects"
+ libraryIcon: "images/opacity-mask-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.RadialBlurEffect"
+ icon: "images/radial-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.RecursiveBlurEffect"
+ icon: "images/recursive-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.ThresholdMaskEffect"
+ icon: "images/threshold-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+
+ ItemLibraryEntry {
+ name: "Threshold Mask"
+ category: "Effects"
+ libraryIcon: "images/threshold-24px.png"
+ version: "1.0"
+ requiredImport: "QtQuick.Studio.Effects"
+ }
+ }
+
+ Type {
+ name: "QtQuick.Studio.Effects.ZoomBlurEffect"
+ icon: "images/zoom-blur-16px.png"
+
+ Hints {
+ canBeDroppedInFormEditor: false
+ canBeDroppedInNavigator: true
+ isMovable: false
+ isResizable: false
+ canBeReparented: false
+ visibleInNavigator: true
+ forceNonDefaultProperty: "layer.effect"
+ setParentProperty: "layer.enabled: true"
+ }
+ }
+
+ Imports {
+ showTagsForImports: [
+ "QtQuick.Studio.Effects"
+ ]
+ }
+}
diff --git a/src/imports/effects_qt6/designer/images/brightness-contrast-16px.png b/src/imports/effects_qt6/designer/images/brightness-contrast-16px.png
new file mode 100644
index 0000000..76160da
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/brightness-contrast-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/brightness-contrast-24px.png b/src/imports/effects_qt6/designer/images/brightness-contrast-24px.png
new file mode 100644
index 0000000..d905d3d
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/brightness-contrast-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/brightness-contrast-24px@2x.png b/src/imports/effects_qt6/designer/images/brightness-contrast-24px@2x.png
new file mode 100644
index 0000000..f54d32a
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/brightness-contrast-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/colourize-16px.png b/src/imports/effects_qt6/designer/images/colourize-16px.png
new file mode 100644
index 0000000..b753206
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/colourize-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/colourize-24px.png b/src/imports/effects_qt6/designer/images/colourize-24px.png
new file mode 100644
index 0000000..ee306f1
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/colourize-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/colourize-24px@2x.png b/src/imports/effects_qt6/designer/images/colourize-24px@2x.png
new file mode 100644
index 0000000..c2eca92
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/colourize-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/desaturation-16px.png b/src/imports/effects_qt6/designer/images/desaturation-16px.png
new file mode 100644
index 0000000..23ce849
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/desaturation-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/desaturation-24px.png b/src/imports/effects_qt6/designer/images/desaturation-24px.png
new file mode 100644
index 0000000..a437e6d
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/desaturation-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/desaturation-24px@2x.png b/src/imports/effects_qt6/designer/images/desaturation-24px@2x.png
new file mode 100644
index 0000000..5d613f9
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/desaturation-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/displace-16px.png b/src/imports/effects_qt6/designer/images/displace-16px.png
new file mode 100644
index 0000000..dc2306b
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/displace-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/displace-24px.png b/src/imports/effects_qt6/designer/images/displace-24px.png
new file mode 100644
index 0000000..9563df4
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/displace-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/displace-24px@2.png b/src/imports/effects_qt6/designer/images/displace-24px@2.png
new file mode 100644
index 0000000..0be970b
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/displace-24px@2.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/drop-shadow-16px.png b/src/imports/effects_qt6/designer/images/drop-shadow-16px.png
new file mode 100644
index 0000000..d347eca
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/drop-shadow-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/drop-shadow-24px.png b/src/imports/effects_qt6/designer/images/drop-shadow-24px.png
new file mode 100644
index 0000000..55432f6
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/drop-shadow-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/drop-shadow-24px@2x.png b/src/imports/effects_qt6/designer/images/drop-shadow-24px@2x.png
new file mode 100644
index 0000000..266e7a8
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/drop-shadow-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/fast-blur-16px.png b/src/imports/effects_qt6/designer/images/fast-blur-16px.png
new file mode 100644
index 0000000..9a1b1a1
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/fast-blur-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/fast-blur-24px.png b/src/imports/effects_qt6/designer/images/fast-blur-24px.png
new file mode 100644
index 0000000..7f409ad
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/fast-blur-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/fast-blur-24px@2x.png b/src/imports/effects_qt6/designer/images/fast-blur-24px@2x.png
new file mode 100644
index 0000000..07ba2a0
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/fast-blur-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/gamma-adjust-16px.png b/src/imports/effects_qt6/designer/images/gamma-adjust-16px.png
new file mode 100644
index 0000000..c4b16ca
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/gamma-adjust-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/gamma-adjust-24px.png b/src/imports/effects_qt6/designer/images/gamma-adjust-24px.png
new file mode 100644
index 0000000..ad0c8dc
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/gamma-adjust-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/gamma-adjust-24px@2x.png b/src/imports/effects_qt6/designer/images/gamma-adjust-24px@2x.png
new file mode 100644
index 0000000..fe1d7bd
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/gamma-adjust-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/glow-16px.png b/src/imports/effects_qt6/designer/images/glow-16px.png
new file mode 100644
index 0000000..8adc931
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/glow-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/glow-24px.png b/src/imports/effects_qt6/designer/images/glow-24px.png
new file mode 100644
index 0000000..782a5ce
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/glow-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/glow-24px@2x.png b/src/imports/effects_qt6/designer/images/glow-24px@2x.png
new file mode 100644
index 0000000..ae6795a
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/glow-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/hue-saturation-16px.png b/src/imports/effects_qt6/designer/images/hue-saturation-16px.png
new file mode 100644
index 0000000..392d73c
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/hue-saturation-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/hue-saturation-24px.png b/src/imports/effects_qt6/designer/images/hue-saturation-24px.png
new file mode 100644
index 0000000..1d53207
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/hue-saturation-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/hue-saturation-24px@2x.png b/src/imports/effects_qt6/designer/images/hue-saturation-24px@2x.png
new file mode 100644
index 0000000..78e13d8
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/hue-saturation-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/inner-shadow-24px@2.png b/src/imports/effects_qt6/designer/images/inner-shadow-24px@2.png
new file mode 100644
index 0000000..65ade03
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/inner-shadow-24px@2.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/levels-16px.png b/src/imports/effects_qt6/designer/images/levels-16px.png
new file mode 100644
index 0000000..07cd364
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/levels-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/levels-24px.png b/src/imports/effects_qt6/designer/images/levels-24px.png
new file mode 100644
index 0000000..de33760
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/levels-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/levels-24px@2.png b/src/imports/effects_qt6/designer/images/levels-24px@2.png
new file mode 100644
index 0000000..514d4a5
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/levels-24px@2.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/opacity-mask-16px.png b/src/imports/effects_qt6/designer/images/opacity-mask-16px.png
new file mode 100644
index 0000000..10fb5b1
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/opacity-mask-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/opacity-mask-24px.png b/src/imports/effects_qt6/designer/images/opacity-mask-24px.png
new file mode 100644
index 0000000..a5f8078
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/opacity-mask-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/opacity-mask-24px@2x.png b/src/imports/effects_qt6/designer/images/opacity-mask-24px@2x.png
new file mode 100644
index 0000000..642c719
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/opacity-mask-24px@2x.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/theshold-24px@2.png b/src/imports/effects_qt6/designer/images/theshold-24px@2.png
new file mode 100644
index 0000000..74243f3
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/theshold-24px@2.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/threshold-16px.png b/src/imports/effects_qt6/designer/images/threshold-16px.png
new file mode 100644
index 0000000..006d495
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/threshold-16px.png
Binary files differ
diff --git a/src/imports/effects_qt6/designer/images/threshold-24px.png b/src/imports/effects_qt6/designer/images/threshold-24px.png
new file mode 100644
index 0000000..aeef810
--- /dev/null
+++ b/src/imports/effects_qt6/designer/images/threshold-24px.png
Binary files differ
diff --git a/src/imports/effects_qt6/effects.pri b/src/imports/effects_qt6/effects.pri
new file mode 100644
index 0000000..be5c224
--- /dev/null
+++ b/src/imports/effects_qt6/effects.pri
@@ -0,0 +1,47 @@
+QML_FILES += \
+ $$PWD/BlendItem.qml \
+ $$PWD/BrightnessContrastItem.qml \
+ $$PWD/ColorizeItem.qml \
+ $$PWD/ColorOverlayItem.qml \
+ $$PWD/DirectionalBlurItem.qml \
+ $$PWD/DropShadowItem.qml \
+ $$PWD/FastBlurItem.qml \
+ $$PWD/GaussianBlurItem.qml \
+ $$PWD/GlowItem.qml \
+ $$PWD/GaussianBlurItem.qml \
+ $$PWD/GammaAdjustItem.qml \
+ $$PWD/RecursiveBlurItem.qml \
+ $$PWD/ThresholdMaskItem.qml \
+ $$PWD/LevelAdjustItem.qml \
+ $$PWD/InnerShadowItem.qml \
+ $$PWD/DisplaceItem.qml \
+ $$PWD/DesaturationItem.qml \
+ $$PWD/HueSaturationItem.qml \
+ $$PWD/MaskedBlurItem.qml \
+ $$PWD/MaskItem.qml \
+ $$PWD/OpacityMaskItem.qml \
+ $$PWD/RadialBlurItem.qml \
+ $$PWD/RotationItem.qml \
+ $$PWD/SaturationItem.qml \
+ $$PWD/ZoomBlurItem.qml \
+ $$PWD/BlendEffect.qml \
+ $$PWD/BrightnessContrastEffect.qml \
+ $$PWD/ColorizeEffect.qml \
+ $$PWD/ColorOverlayEffect.qml \
+ $$PWD/DesaturationEffect.qml \
+ $$PWD/DirectionalBlurEffect.qml \
+ $$PWD/DisplaceEffect.qml \
+ $$PWD/DropShadowEffect.qml \
+ $$PWD/FastBlurEffect.qml \
+ $$PWD/GammaAdjustEffect.qml \
+ $$PWD/GaussianBlurEffect.qml \
+ $$PWD/GlowEffect.qml \
+ $$PWD/HueSaturationEffect.qml \
+ $$PWD/InnerShadowEffect.qml \
+ $$PWD/LevelAdjustEffect.qml \
+ $$PWD/MaskedBlurEffect.qml \
+ $$PWD/OpacityMaskEffect.qml \
+ $$PWD/RadialBlurEffect.qml \
+ $$PWD/RecursiveBlurEffect.qml \
+ $$PWD/ThresholdMaskEffect.qml \
+ $$PWD/ZoomBlurEffect.qml
diff --git a/src/imports/effects_qt6/effects_qt6.pro b/src/imports/effects_qt6/effects_qt6.pro
new file mode 100644
index 0000000..904df29
--- /dev/null
+++ b/src/imports/effects_qt6/effects_qt6.pro
@@ -0,0 +1,23 @@
+TARGET = qtstudioeffectsplugin
+TARGETPATH = QtQuick/Studio/Effects
+IMPORT_VERSION = 1.0
+
+QT += qml quick
+QT_PRIVATE += core-private gui-private qml-private quick-private quicktemplates2-private quickcontrols2-private
+
+DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII
+
+include(effects.pri)
+
+OTHER_FILES += \
+ qmldir \
+ $$QML_FILES
+
+SOURCES += \
+ $$PWD/qtstudioeffectsplugin.cpp
+
+!static: qtConfig(quick-designer): include(designer/designer.pri)
+## include(doc/doc.pri)
+
+CONFIG += no_cxx_module install_qml_files qtquickcompiler
+load(qml_plugin)
diff --git a/src/imports/effects_qt6/plugins.qmltypes b/src/imports/effects_qt6/plugins.qmltypes
new file mode 100644
index 0000000..aac3a1a
--- /dev/null
+++ b/src/imports/effects_qt6/plugins.qmltypes
@@ -0,0 +1,13 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls 2.15'
+
+Module {
+ dependencies: [
+ "QtQuick 2.11"
+ ]
+}
diff --git a/src/imports/effects_qt6/qmldir b/src/imports/effects_qt6/qmldir
new file mode 100644
index 0000000..3e73c5b
--- /dev/null
+++ b/src/imports/effects_qt6/qmldir
@@ -0,0 +1,45 @@
+FastBlurItem 1.0 FastBlurItem.qml
+GlowItem 1.0 GlowItem.qml
+ZoomBlurItem 1.0 ZoomBlurItem.qml
+RadialBlurItem 1.0 RadialBlurItem.qml
+DesaturationItem 1.0 DesaturationItem.qml
+SaturationItem 1.0 SaturationItem.qml
+DirectionalBlurItem 1.0 DirectionalBlurItem.qml
+ColorOverlayItem 1.0 ColorOverlayItem.qml
+DropShadowItem 1.0 DropShadowItem.qml
+ColorizeItem 1.0 ColorizeItem.qml
+BrightnessContrastItem 1.0 BrightnessContrastItem.qml
+HueSaturationItem 1.0 HueSaturationItem.qml
+MaskedBlurItem 1.0 MaskedBlurItem.qml
+BlendItem 1.0 BlendItem.qml
+OpacityMaskItem 1.0 OpacityMaskItem.qml
+MaskItem 1.0 MaskItem.qml
+RotationItem 1.0 RotationItem.qml
+GaussianBlurItem 1.0 GaussianBlurItem.qml
+GammaAdjustItem 1.0 GammaAdjustItem.qml
+RecursiveBlurItem 1.0 RecursiveBlurItem.qml
+ThresholdMaskItem 1.0 ThresholdMaskItem.qml
+LevelAdjustItem 1.0 LevelAdjustItem.qml
+InnerShadowItem 1.0 InnerShadowItem.qml
+DisplaceItem 1.0 DisplaceItem.qml
+BlendEffect 1.0 BlendEffect.qml
+BrightnessContrastEffect 1.0 BrightnessContrastEffect.qml
+ColorizeEffect 1.0 ColorizeEffect.qml
+ColorOverlayEffect 1.0 ColorOverlayEffect.qml
+DesaturationEffect 1.0 DesaturationEffect.qml
+DirectionalBlurEffect 1.0 DirectionalBlurEffect.qml
+DisplaceEffect 1.0 DisplaceEffect.qml
+DropShadowEffect 1.0 DropShadowEffect.qml
+FastBlurEffect 1.0 FastBlurEffect.qml
+GammaAdjustEffect 1.0 GammaAdjustEffect.qml
+GaussianBlurEffect 1.0 GaussianBlurEffect.qml
+GlowEffect 1.0 GlowEffect.qml
+HueSaturationEffect 1.0 HueSaturationEffect.qml
+InnerShadowEffect 1.0 InnerShadowEffect.qml
+LevelAdjustEffect 1.0 LevelAdjustEffect.qml
+MaskedBlurEffect 1.0 MaskedBlurEffect.qml
+OpacityMaskEffect 1.0 OpacityMaskEffect.qml
+RadialBlurEffect 1.0 RadialBlurEffect.qml
+RecursiveBlurEffect 1.0 RecursiveBlurEffect.qml
+ThresholdMaskEffect 1.0 ThresholdMaskEffect.qml
+ZoomBlurEffect 1.0 ZoomBlurEffect.qml
diff --git a/src/imports/effects_qt6/qtstudioeffectsplugin.cpp b/src/imports/effects_qt6/qtstudioeffectsplugin.cpp
new file mode 100644
index 0000000..eea2e29
--- /dev/null
+++ b/src/imports/effects_qt6/qtstudioeffectsplugin.cpp
@@ -0,0 +1,56 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of Qt Quick Designer Components.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include <QtQml/qqmlextensionplugin.h>
+
+QT_BEGIN_NAMESPACE
+
+class QtStudioEffectsPlugin: public QQmlExtensionPlugin
+{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
+
+public:
+ QtStudioEffectsPlugin(QObject *parent = nullptr);
+ void registerTypes(const char *uri) override;
+};
+
+QtStudioEffectsPlugin::QtStudioEffectsPlugin(QObject *parent)
+ : QQmlExtensionPlugin(parent)
+{
+
+}
+
+void QtStudioEffectsPlugin::registerTypes(const char *)
+{
+}
+
+QT_END_NAMESPACE
+
+#include "qtstudioeffectsplugin.moc"
diff --git a/src/imports/imports.pro b/src/imports/imports.pro
index 5402c58..86017cf 100644
--- a/src/imports/imports.pro
+++ b/src/imports/imports.pro
@@ -8,3 +8,9 @@ SUBDIRS += \
logichelper \
compatibility
+equals(QT_MAJOR_VERSION , 5){
+ SUBDIRS += effects
+}
+equals(QT_MAJOR_VERSION , 6) {
+ SUBDIRS += effects_qt6
+}