diff options
Diffstat (limited to 'src/imports/effects')
138 files changed, 0 insertions, 6657 deletions
diff --git a/src/imports/effects/BlendEffect.qml b/src/imports/effects/BlendEffect.qml deleted file mode 100644 index 8638c0f..0000000 --- a/src/imports/effects/BlendEffect.qml +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Blend { - id: blend - mode: "subtract" -} diff --git a/src/imports/effects/BlendItem.qml b/src/imports/effects/BlendItem.qml deleted file mode 100644 index 52fddaa..0000000 --- a/src/imports/effects/BlendItem.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias mode: blend.mode - property alias cached: blend.cached - - 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 - } - - Blend { - id: blend - anchors.fill: parent - mode: "subtract" - source: root.background - foregroundSource: 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/BrightnessContrastEffect.qml b/src/imports/effects/BrightnessContrastEffect.qml deleted file mode 100644 index 799957b..0000000 --- a/src/imports/effects/BrightnessContrastEffect.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -BrightnessContrast { - id: brightCont -} diff --git a/src/imports/effects/BrightnessContrastItem.qml b/src/imports/effects/BrightnessContrastItem.qml deleted file mode 100644 index c6b93f8..0000000 --- a/src/imports/effects/BrightnessContrastItem.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/ColorOverlayEffect.qml b/src/imports/effects/ColorOverlayEffect.qml deleted file mode 100644 index a814355..0000000 --- a/src/imports/effects/ColorOverlayEffect.qml +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -ColorOverlay { - id: colorOverlay - color: "#80fff000" -} diff --git a/src/imports/effects/ColorOverlayItem.qml b/src/imports/effects/ColorOverlayItem.qml deleted file mode 100644 index b1856e2..0000000 --- a/src/imports/effects/ColorOverlayItem.qml +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/ColorizeEffect.qml b/src/imports/effects/ColorizeEffect.qml deleted file mode 100644 index 14131b6..0000000 --- a/src/imports/effects/ColorizeEffect.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Colorize { - id: colorize - hue: 0.5 - saturation: 0.5 - lightness: 0.5 -} diff --git a/src/imports/effects/ColorizeItem.qml b/src/imports/effects/ColorizeItem.qml deleted file mode 100644 index c01fbd4..0000000 --- a/src/imports/effects/ColorizeItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/DesaturationEffect.qml b/src/imports/effects/DesaturationEffect.qml deleted file mode 100644 index 1d26b33..0000000 --- a/src/imports/effects/DesaturationEffect.qml +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Desaturate { - id: desaturate - desaturation: 0.5 -} diff --git a/src/imports/effects/DesaturationItem.qml b/src/imports/effects/DesaturationItem.qml deleted file mode 100644 index ff61353..0000000 --- a/src/imports/effects/DesaturationItem.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/DirectionalBlurEffect.qml b/src/imports/effects/DirectionalBlurEffect.qml deleted file mode 100644 index b6cdd52..0000000 --- a/src/imports/effects/DirectionalBlurEffect.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -DirectionalBlur { - id: directionalBlur - angle: 90 - length: 32 - samples: 16 - transparentBorder: true -} diff --git a/src/imports/effects/DirectionalBlurItem.qml b/src/imports/effects/DirectionalBlurItem.qml deleted file mode 100644 index 4e5c27c..0000000 --- a/src/imports/effects/DirectionalBlurItem.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - - property alias directionalBlurAngle: directionalBlur.angle - property alias directionalBlurLength: directionalBlur.length - property alias directionalBlurSamples: directionalBlur.samples - 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 - } - - DirectionalBlur { - id: directionalBlur - anchors.fill: stack - source: stack - angle: 90 - length: 32 - samples: 16 - transparentBorder: true - } -} diff --git a/src/imports/effects/DisplaceEffect.qml b/src/imports/effects/DisplaceEffect.qml deleted file mode 100644 index c3205d1..0000000 --- a/src/imports/effects/DisplaceEffect.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Displace { - id: displace -} diff --git a/src/imports/effects/DisplaceItem.qml b/src/imports/effects/DisplaceItem.qml deleted file mode 100644 index 7614773..0000000 --- a/src/imports/effects/DisplaceItem.qml +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/DropShadowEffect.qml b/src/imports/effects/DropShadowEffect.qml deleted file mode 100644 index 030846e..0000000 --- a/src/imports/effects/DropShadowEffect.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/DropShadowItem.qml b/src/imports/effects/DropShadowItem.qml deleted file mode 100644 index e103a91..0000000 --- a/src/imports/effects/DropShadowItem.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/FastBlurEffect.qml b/src/imports/effects/FastBlurEffect.qml deleted file mode 100644 index 1fba396..0000000 --- a/src/imports/effects/FastBlurEffect.qml +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -FastBlur { - id: fastBlur - radius: 20 -} diff --git a/src/imports/effects/FastBlurItem.qml b/src/imports/effects/FastBlurItem.qml deleted file mode 100644 index bee1f78..0000000 --- a/src/imports/effects/FastBlurItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/GammaAdjustEffect.qml b/src/imports/effects/GammaAdjustEffect.qml deleted file mode 100644 index 724a13a..0000000 --- a/src/imports/effects/GammaAdjustEffect.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -GammaAdjust { - id: gammaAdjust - anchors.fill: stack - gamma: 0.5 -} diff --git a/src/imports/effects/GammaAdjustItem.qml b/src/imports/effects/GammaAdjustItem.qml deleted file mode 100644 index a5dce52..0000000 --- a/src/imports/effects/GammaAdjustItem.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/GaussianBlurEffect.qml b/src/imports/effects/GaussianBlurEffect.qml deleted file mode 100644 index cc340de..0000000 --- a/src/imports/effects/GaussianBlurEffect.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -GaussianBlur { - id: gaussianBlur - transparentBorder: true - radius: 8.0 - samples: 17 -} diff --git a/src/imports/effects/GaussianBlurItem.qml b/src/imports/effects/GaussianBlurItem.qml deleted file mode 100644 index b825a0b..0000000 --- a/src/imports/effects/GaussianBlurItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias deviation: gaussianBlur.deviation - property alias radius: gaussianBlur.radius - property alias samples: gaussianBlur.samples - 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 - } - - GaussianBlur { - id: gaussianBlur - transparentBorder: true - anchors.fill: stack - source: stack - radius: 8.0 - samples: 17 - } -} diff --git a/src/imports/effects/GlowEffect.qml b/src/imports/effects/GlowEffect.qml deleted file mode 100644 index 1535628..0000000 --- a/src/imports/effects/GlowEffect.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Glow { - id: glow - radius: 5 - samples: 16 - spread: 0.5 - color: "#ffffffff" - transparentBorder: true -} diff --git a/src/imports/effects/GlowItem.qml b/src/imports/effects/GlowItem.qml deleted file mode 100644 index 4f80a7c..0000000 --- a/src/imports/effects/GlowItem.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias radius: glow.radius - property alias samples: glow.samples - 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 - samples: 16 - spread: 0.5 - color: "#ffffffff" - transparentBorder: true - source: stack - } -} diff --git a/src/imports/effects/HueSaturationEffect.qml b/src/imports/effects/HueSaturationEffect.qml deleted file mode 100644 index a7ff511..0000000 --- a/src/imports/effects/HueSaturationEffect.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -HueSaturation { - id: hueSat - hue: 0.5 - saturation: 0.5 - lightness: 0.5 -} diff --git a/src/imports/effects/HueSaturationItem.qml b/src/imports/effects/HueSaturationItem.qml deleted file mode 100644 index 38e426b..0000000 --- a/src/imports/effects/HueSaturationItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/InnerShadowEffect.qml b/src/imports/effects/InnerShadowEffect.qml deleted file mode 100644 index 946d833..0000000 --- a/src/imports/effects/InnerShadowEffect.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -InnerShadow { - id: innerShadow - horizontalOffset: 3 - verticalOffset: 3 - radius: 8.0 - samples: 17 - spread: 0.5 - color: "#80000000" -} diff --git a/src/imports/effects/InnerShadowItem.qml b/src/imports/effects/InnerShadowItem.qml deleted file mode 100644 index c85fc77..0000000 --- a/src/imports/effects/InnerShadowItem.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias cached: innerShadow.cached - property alias color: innerShadow.color - property alias fast: innerShadow.fast - property alias horizontalOffset: innerShadow.horizontalOffset - property alias radius: innerShadow.radius - property alias samples: innerShadow.samples - property alias spread: innerShadow.spread - property alias verticalOffset: innerShadow.verticalOffset - - 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 - } - - InnerShadow { - id: innerShadow - anchors.fill: stack - source: stack - horizontalOffset: 3 - verticalOffset: 3 - radius: 8.0 - samples: 17 - spread: 0.5 - color: "#80000000" - } -} diff --git a/src/imports/effects/LevelAdjustEffect.qml b/src/imports/effects/LevelAdjustEffect.qml deleted file mode 100644 index 86c632d..0000000 --- a/src/imports/effects/LevelAdjustEffect.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.12 - -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/LevelAdjustItem.qml b/src/imports/effects/LevelAdjustItem.qml deleted file mode 100644 index 818d818..0000000 --- a/src/imports/effects/LevelAdjustItem.qml +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** 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.12 -import QtGraphicalEffects 1.12 - -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/MaskItem.qml b/src/imports/effects/MaskItem.qml deleted file mode 100644 index 7ca1f07..0000000 --- a/src/imports/effects/MaskItem.qml +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** 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 2.0 -import QtGraphicalEffects 1.0 - -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/MaskedBlurEffect.qml b/src/imports/effects/MaskedBlurEffect.qml deleted file mode 100644 index b3e0d41..0000000 --- a/src/imports/effects/MaskedBlurEffect.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -MaskedBlur { - id: maskedBlur - radius: 32 - samples: 16 -} diff --git a/src/imports/effects/MaskedBlurItem.qml b/src/imports/effects/MaskedBlurItem.qml deleted file mode 100644 index ce80ebf..0000000 --- a/src/imports/effects/MaskedBlurItem.qml +++ /dev/null @@ -1,67 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias radius: maskedBlur.radius - property alias samples: maskedBlur.samples - - 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 - } - - MaskedBlur { - 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] - } -} diff --git a/src/imports/effects/OpacityMaskEffect.qml b/src/imports/effects/OpacityMaskEffect.qml deleted file mode 100644 index 5a4e593..0000000 --- a/src/imports/effects/OpacityMaskEffect.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -OpacityMask { - id: mask -} diff --git a/src/imports/effects/OpacityMaskItem.qml b/src/imports/effects/OpacityMaskItem.qml deleted file mode 100644 index fcfc917..0000000 --- a/src/imports/effects/OpacityMaskItem.qml +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/RadialBlurEffect.qml b/src/imports/effects/RadialBlurEffect.qml deleted file mode 100644 index 383b138..0000000 --- a/src/imports/effects/RadialBlurEffect.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -RadialBlur { - id: radialBlur - verticalOffset: 12 - horizontalOffset: 12 - samples: 16 - angle: 45 - transparentBorder: true -} diff --git a/src/imports/effects/RadialBlurItem.qml b/src/imports/effects/RadialBlurItem.qml deleted file mode 100644 index ac1e966..0000000 --- a/src/imports/effects/RadialBlurItem.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias cached: radialBlur.cached - property alias samples: radialBlur.samples - property alias verticalOffset: radialBlur.verticalOffset - property alias horizontalOffset: radialBlur.horizontalOffset - property alias transparentBorder: radialBlur.transparentBorder - property alias angle: radialBlur.angle - - 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 - } - - RadialBlur { - id: radialBlur - anchors.fill: stack - source: stack - verticalOffset: 12 - horizontalOffset: 12 - samples: 16 - angle: 45 - transparentBorder: true - } -} diff --git a/src/imports/effects/RecursiveBlurEffect.qml b/src/imports/effects/RecursiveBlurEffect.qml deleted file mode 100644 index 8c1d1c2..0000000 --- a/src/imports/effects/RecursiveBlurEffect.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -RecursiveBlur { - id: recursiveBlur - transparentBorder: true - radius: 8.0 - loops: 12 -} diff --git a/src/imports/effects/RecursiveBlurItem.qml b/src/imports/effects/RecursiveBlurItem.qml deleted file mode 100644 index 5af451f..0000000 --- a/src/imports/effects/RecursiveBlurItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias loops: recursiveBlur.loops - property alias progress: recursiveBlur.progress - 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 - } - - RecursiveBlur { - id: recursiveBlur - transparentBorder: true - anchors.fill: stack - source: stack - radius: 8.0 - loops: 12 - } -} diff --git a/src/imports/effects/RotationItem.qml b/src/imports/effects/RotationItem.qml deleted file mode 100644 index 352fc0f..0000000 --- a/src/imports/effects/RotationItem.qml +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -** -** 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.10 - -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/SaturationItem.qml b/src/imports/effects/SaturationItem.qml deleted file mode 100644 index ad82413..0000000 --- a/src/imports/effects/SaturationItem.qml +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** 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 2.0 -import QtGraphicalEffects 1.0 - -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/ThresholdMaskEffect.qml b/src/imports/effects/ThresholdMaskEffect.qml deleted file mode 100644 index 6c7ec7c..0000000 --- a/src/imports/effects/ThresholdMaskEffect.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -ThresholdMask { - id: thresholdMask - spread: 0.2 - threshold: 0.5 -} diff --git a/src/imports/effects/ThresholdMaskItem.qml b/src/imports/effects/ThresholdMaskItem.qml deleted file mode 100644 index 5dd0ebf..0000000 --- a/src/imports/effects/ThresholdMaskItem.qml +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -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/ZoomBlurEffect.qml b/src/imports/effects/ZoomBlurEffect.qml deleted file mode 100644 index cfdf37a..0000000 --- a/src/imports/effects/ZoomBlurEffect.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -ZoomBlur { - id: zoomBlur - length: 32 - samples: 16 - horizontalOffset: 0 - verticalOffset: 0 - transparentBorder: true -} diff --git a/src/imports/effects/ZoomBlurItem.qml b/src/imports/effects/ZoomBlurItem.qml deleted file mode 100644 index 7bc7b51..0000000 --- a/src/imports/effects/ZoomBlurItem.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** 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 QtGraphicalEffects 1.0 - -Item { - id: root - - default property alias contentStack: stack.children - property alias zoomBlurLength: zoomBlur.length - property alias zoomBlurSamples: zoomBlur.samples - property alias zoomBlurHoffset: zoomBlur.horizontalOffset - property alias zoomBlurVoffset: zoomBlur.verticalOffset - 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 - } - - ZoomBlur { - id: zoomBlur - anchors.fill: stack - source: stack - length: 32 - samples: 16 - horizontalOffset: 0 - verticalOffset: 0 - transparentBorder: true - } -} diff --git a/src/imports/effects/designer/BlendEffectSpecifics.qml b/src/imports/effects/designer/BlendEffectSpecifics.qml deleted file mode 100644 index 6398e7e..0000000 --- a/src/imports/effects/designer/BlendEffectSpecifics.qml +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Blend") - - SectionLayout { - PropertyLabel { - text: qsTr("Mode") - tooltip: qsTr("The mode which is used when foreground source is blended over " - + "source.") - } - - SecondColumnLayout { - ComboBox { - id: blendMode - backendValue: backendValues.mode - 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"] - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - - 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 {} - } - - PropertyLabel { - text: qsTr("Foreground source") - tooltip: qsTr("The component that is going to be blended over the source.") - } - - SecondColumnLayout { - ItemFilterComboBox { - typeFilter: "QtQuick.Item" - validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } - backendValue: backendValues.foregroundSource - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/BrightnessContrastEffectSpecifics.qml b/src/imports/effects/designer/BrightnessContrastEffectSpecifics.qml deleted file mode 100644 index 2efc2a8..0000000 --- a/src/imports/effects/designer/BrightnessContrastEffectSpecifics.qml +++ /dev/null @@ -1,112 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Brightness and Contrast") - - SectionLayout { - PropertyLabel { - text: qsTr("Brightness") - tooltip: qsTr("The increase or decrease of source brightness.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.brightness - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/ColorOverlayEffectSpecifics.qml b/src/imports/effects/designer/ColorOverlayEffectSpecifics.qml deleted file mode 100644 index 9bfc7ee..0000000 --- a/src/imports/effects/designer/ColorOverlayEffectSpecifics.qml +++ /dev/null @@ -1,78 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Overlay Color") - - SectionLayout { - PropertyLabel { text: qsTr("Overlay color") } - - ColorEditor { - backendValue: backendValues.color - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/ColorizeEffectSpecifics.qml b/src/imports/effects/designer/ColorizeEffectSpecifics.qml deleted file mode 100644 index 6410e8c..0000000 --- a/src/imports/effects/designer/ColorizeEffectSpecifics.qml +++ /dev/null @@ -1,130 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Colorize") - - SectionLayout { - PropertyLabel { - text: qsTr("Hue") - tooltip: qsTr("The hue value which is used to colorize the source.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.hue - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Saturation") - tooltip: qsTr("The saturation value which is used to colorize the source.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.saturation - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/DesaturationEffectSpecifics.qml b/src/imports/effects/designer/DesaturationEffectSpecifics.qml deleted file mode 100644 index 40d5e4e..0000000 --- a/src/imports/effects/designer/DesaturationEffectSpecifics.qml +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Desaturation") - - SectionLayout { - PropertyLabel { - text: qsTr("Desaturation") - tooltip: qsTr("How much the source colors are desaturated.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.desaturation - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/DirectionalBlurEffectSpecifics.qml b/src/imports/effects/designer/DirectionalBlurEffectSpecifics.qml deleted file mode 100644 index f23ef8c..0000000 --- a/src/imports/effects/designer/DirectionalBlurEffectSpecifics.qml +++ /dev/null @@ -1,151 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Directional Blur") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: -180 - maximumValue: 180 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/DisplaceEffectSpecifics.qml b/src/imports/effects/designer/DisplaceEffectSpecifics.qml deleted file mode 100644 index 88eaa1d..0000000 --- a/src/imports/effects/designer/DisplaceEffectSpecifics.qml +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Displace") - - SectionLayout { - PropertyLabel { - 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 - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Displacement source") - tooltip: qsTr("The component that is going to be used as the displacement map.") - } - - SecondColumnLayout { - ItemFilterComboBox { - typeFilter: "QtQuick.Item" - validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } - backendValue: backendValues.displacementSource - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/DropShadowEffectSpecifics.qml b/src/imports/effects/designer/DropShadowEffectSpecifics.qml deleted file mode 100644 index f98f27f..0000000 --- a/src/imports/effects/designer/DropShadowEffectSpecifics.qml +++ /dev/null @@ -1,221 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Drop Shadow Color") - - SectionLayout { - PropertyLabel { text: qsTr("Drop shadow color") } - - ColorEditor { - backendValue: backendValues.color - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Drop Shadow") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 100 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 0 - minimumValue: 0 - maximumValue: 201 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Spread") - tooltip: qsTr("The part of the shadow color that is strengthened near the source " - + "edges.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.spread - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Offsets") - - SectionLayout { - PropertyLabel { - text: qsTr("Offset") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.horizontalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The horizontal offset - text: qsTr("H", "horizontal") - tooltip: qsTr("The horizontal offset for the rendered shadow compared to the " + - "inner shadow component's horizontal position.") - } - - Spacer { implicitWidth: StudioTheme.Values.controlGap } - - SpinBox { - backendValue: backendValues.verticalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The vertical offset - text: qsTr("V", "vertical") - tooltip: qsTr("The vertical offset for the rendered shadow compared to the " + - "inner shadow component's vertical position. ") - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/FastBlurEffectSpecifics.qml b/src/imports/effects/designer/FastBlurEffectSpecifics.qml deleted file mode 100644 index a6f1c17..0000000 --- a/src/imports/effects/designer/FastBlurEffectSpecifics.qml +++ /dev/null @@ -1,109 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Fast Blur") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/GammaAdjustEffectSpecifics.qml b/src/imports/effects/designer/GammaAdjustEffectSpecifics.qml deleted file mode 100644 index 0f61c2d..0000000 --- a/src/imports/effects/designer/GammaAdjustEffectSpecifics.qml +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Gamma Adjust") - - SectionLayout { - PropertyLabel { - text: qsTr("Gamma") - tooltip: qsTr("The change factor for how the luminance of each pixel is altered.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.gamma - decimals: 2 - minimumValue: 0 - maximumValue: 100 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/GaussianBlurEffectSpecifics.qml b/src/imports/effects/designer/GaussianBlurEffectSpecifics.qml deleted file mode 100644 index 658c42b..0000000 --- a/src/imports/effects/designer/GaussianBlurEffectSpecifics.qml +++ /dev/null @@ -1,149 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Gaussian Blur") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/GlowEffectSpecifics.qml b/src/imports/effects/designer/GlowEffectSpecifics.qml deleted file mode 100644 index 181f807..0000000 --- a/src/imports/effects/designer/GlowEffectSpecifics.qml +++ /dev/null @@ -1,168 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Glow Color") - - SectionLayout { - PropertyLabel { text: qsTr("Glow color") } - - ColorEditor { - backendValue: backendValues.color - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Glow") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 100 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 201 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Spread") - tooltip: qsTr("The part of the glow color that is strengthened near the source " - + "edges.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.spread - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/HueSaturationEffectSpecifics.qml b/src/imports/effects/designer/HueSaturationEffectSpecifics.qml deleted file mode 100644 index 8c8d127..0000000 --- a/src/imports/effects/designer/HueSaturationEffectSpecifics.qml +++ /dev/null @@ -1,129 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Hue and Saturation") - - SectionLayout { - PropertyLabel { - text: qsTr("Hue") - tooltip: qsTr("The hue value which is added to the source hue value.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.hue - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Lightness") - tooltip: qsTr("The lightness value which is added to the source saturation value.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.lightness - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Saturation") - tooltip: qsTr("The saturation value value which is added to the source saturation " - + "value.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.saturation - decimals: 2 - minimumValue: -1 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/InnerShadowEffectSpecifics.qml b/src/imports/effects/designer/InnerShadowEffectSpecifics.qml deleted file mode 100644 index 8160925..0000000 --- a/src/imports/effects/designer/InnerShadowEffectSpecifics.qml +++ /dev/null @@ -1,220 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Inner Shadow Color") - - SectionLayout { - PropertyLabel { text: qsTr("Inner shadow color") } - - ColorEditor { - backendValue: backendValues.color - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Inner Shadow") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 100 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 0 - minimumValue: 0 - maximumValue: 201 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Spread") - tooltip: qsTr("The part of the shadow color that is strengthened near the source " - + "edges.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.spread - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Fast") - tooltip: qsTr("The blurring algorithm that is used to produce the softness for the " - + "effect.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.fast - text: backendValues.fast.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Offsets") - - SectionLayout { - PropertyLabel { - text: qsTr("Offset") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.horizontalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The horizontal offset - text: qsTr("H", "horizontal") - tooltip: qsTr("The horizontal offset for the rendered shadow compared to the " + - "inner shadow component's horizontal position.") - } - - Spacer { implicitWidth: StudioTheme.Values.controlGap } - - SpinBox { - backendValue: backendValues.verticalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The vertical offset - text: qsTr("V", "vertical") - tooltip: qsTr("The vertical offset for the rendered shadow compared to the " + - "inner shadow component's vertical position. ") - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/LevelAdjustEffectSpecifics.qml b/src/imports/effects/designer/LevelAdjustEffectSpecifics.qml deleted file mode 100644 index 6ce7fdd..0000000 --- a/src/imports/effects/designer/LevelAdjustEffectSpecifics.qml +++ /dev/null @@ -1,187 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Level Adjust") - - SectionLayout { - PropertyLabel { - text: qsTr("Gamma") - tooltip: qsTr("The change factor for how the luminance of each pixel is altered.") - } - - SecondColumnLayout { - SpinBox { - minimumValue: 0 - maximumValue: 100 - decimals: 2 - stepSize: 0.1 - backendValue: backendValues.gammaR - sliderIndicatorVisible: true - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - text: qsTr("R", "red") - } - - ExpandingSpacer {} - } - - PropertyLabel {} - - SecondColumnLayout { - SpinBox { - minimumValue: 0 - maximumValue: 100 - decimals: 2 - stepSize: 0.1 - backendValue: backendValues.gammaG - sliderIndicatorVisible: true - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - text: qsTr("G", "green") - } - - ExpandingSpacer {} - } - - PropertyLabel {} - - SecondColumnLayout { - SpinBox { - minimumValue: 0 - maximumValue: 100 - decimals: 2 - stepSize: 0.1 - backendValue: backendValues.gammaB - sliderIndicatorVisible: true - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - text: qsTr("B", "blue") - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Input") - - SectionLayout { - PropertyLabel { text: qsTr("Minimum") } - - ColorEditor { - backendValue: backendValues.minimumInput - supportGradient: false - } - - PropertyLabel { text: qsTr("Maximum") } - - ColorEditor { - backendValue: backendValues.maximumInput - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Output") - - SectionLayout { - PropertyLabel { text: qsTr("Minimum") } - - ColorEditor { - backendValue: backendValues.minimumOutput - supportGradient: false - } - - PropertyLabel { text: qsTr("Maximum") } - - ColorEditor { - backendValue: backendValues.maximumOutput - supportGradient: false - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/MaskedBlurEffectSpecifics.qml b/src/imports/effects/designer/MaskedBlurEffectSpecifics.qml deleted file mode 100644 index c075e6f..0000000 --- a/src/imports/effects/designer/MaskedBlurEffectSpecifics.qml +++ /dev/null @@ -1,128 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Masked Blur") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/OpacityMaskEffectSpecifics.qml b/src/imports/effects/designer/OpacityMaskEffectSpecifics.qml deleted file mode 100644 index 82a8940..0000000 --- a/src/imports/effects/designer/OpacityMaskEffectSpecifics.qml +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Opacity Mask") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Mask source") - tooltip: qsTr("The component that is going to be used as the mask.") - } - - SecondColumnLayout { - ItemFilterComboBox { - typeFilter: "QtQuick.Item" - validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } - backendValue: backendValues.maskSource - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/RadialBlurEffectSpecifics.qml b/src/imports/effects/designer/RadialBlurEffectSpecifics.qml deleted file mode 100644 index eb018f6..0000000 --- a/src/imports/effects/designer/RadialBlurEffectSpecifics.qml +++ /dev/null @@ -1,188 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Radial Blur") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 360 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 0 - minimumValue: 0 - maximumValue: 200 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Offsets") - - SectionLayout { - PropertyLabel { - text: qsTr("Offset") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.horizontalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The horizontal offset - text: qsTr("H", "horizontal") - tooltip: qsTr("The horizontal offset for the rendered shadow compared to the " + - "inner shadow component's horizontal position.") - } - - Spacer { implicitWidth: StudioTheme.Values.controlGap } - - SpinBox { - backendValue: backendValues.verticalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The vertical offset - text: qsTr("V", "vertical") - tooltip: qsTr("The vertical offset for the rendered shadow compared to the " + - "inner shadow component's vertical position. ") - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/RecursiveBlurEffectSpecifics.qml b/src/imports/effects/designer/RecursiveBlurEffectSpecifics.qml deleted file mode 100644 index c23c3f2..0000000 --- a/src/imports/effects/designer/RecursiveBlurEffectSpecifics.qml +++ /dev/null @@ -1,129 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Recursive Blur") - - SectionLayout { - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/ThresholdMaskEffectSpecifics.qml b/src/imports/effects/designer/ThresholdMaskEffectSpecifics.qml deleted file mode 100644 index ecb21ee..0000000 --- a/src/imports/effects/designer/ThresholdMaskEffectSpecifics.qml +++ /dev/null @@ -1,126 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Threshold Mask") - - SectionLayout { - PropertyLabel { - text: qsTr("Spread") - tooltip: qsTr("The smoothness of the mask edges near the threshold alpha value.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.spread - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Threshold") - tooltip: qsTr("A threshold value for the mask pixels.") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.threshold - decimals: 2 - minimumValue: 0 - maximumValue: 1 - stepSize: 0.1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Mask source") - tooltip: qsTr("The component that is going to be used as the mask.") - } - - SecondColumnLayout { - ItemFilterComboBox { - typeFilter: "QtQuick.Item" - validator: RegExpValidator { regExp: /(^$|^[a-z_]\w*)/ } - backendValue: backendValues.maskSource - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/ZoomBlurEffectSpecifics.qml b/src/imports/effects/designer/ZoomBlurEffectSpecifics.qml deleted file mode 100644 index efa3f8e..0000000 --- a/src/imports/effects/designer/ZoomBlurEffectSpecifics.qml +++ /dev/null @@ -1,185 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 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.15 -import QtQuick.Layouts 1.15 -import HelperWidgets 2.0 -import StudioTheme 1.0 as StudioTheme - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Zoom Blur") - - SectionLayout { - PropertyLabel { - 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 - decimals: 1 - minimumValue: 0 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - 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 - decimals: 0 - minimumValue: 0 - maximumValue: 200 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Offsets") - - SectionLayout { - PropertyLabel { - text: qsTr("Offset") - } - - SecondColumnLayout { - SpinBox { - backendValue: backendValues.horizontalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The horizontal offset - text: qsTr("H", "horizontal") - tooltip: qsTr("The horizontal offset for the rendered shadow compared to the " + - "inner shadow component's horizontal position.") - } - - Spacer { implicitWidth: StudioTheme.Values.controlGap } - - SpinBox { - backendValue: backendValues.verticalOffset - decimals: 1 - minimumValue: -1000 - maximumValue: 1000 - stepSize: 1 - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } - - ControlLabel { - //: The vertical offset - text: qsTr("V", "vertical") - tooltip: qsTr("The vertical offset for the rendered shadow compared to the " + - "inner shadow component's vertical position. ") - } - - ExpandingSpacer {} - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Caching and Border") - - SectionLayout { - PropertyLabel { - text: qsTr("Cached") - tooltip: qsTr("Caches the effect output pixels to improve the rendering " - + "performance.") - } - SecondColumnLayout { - CheckBox { - backendValue: backendValues.cached - text: backendValues.cached.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - - PropertyLabel { - text: qsTr("Transparent border") - tooltip: qsTr("Pads the exterior of the component with a transparent edge, making " - + "sampling outside the source texture use transparency instead of " - + "the edge pixels.") - } - - SecondColumnLayout { - CheckBox { - backendValue: backendValues.transparentBorder - text: backendValues.transparentBorder.valueToString - implicitWidth: StudioTheme.Values.twoControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - } - - ExpandingSpacer {} - } - } - } -} diff --git a/src/imports/effects/designer/designer.pri b/src/imports/effects/designer/designer.pri deleted file mode 100644 index b118965..0000000 --- a/src/imports/effects/designer/designer.pri +++ /dev/null @@ -1,88 +0,0 @@ -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/designer/effects.metainfo b/src/imports/effects/designer/effects.metainfo deleted file mode 100644 index 08228b9..0000000 --- a/src/imports/effects/designer/effects.metainfo +++ /dev/null @@ -1,512 +0,0 @@ -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" - } - - ItemLibraryEntry { - name: "Blend" - category: "Effects" - libraryIcon: "images/blend-mode-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Directional Blur" - category: "Effects" - libraryIcon: "images/directional-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Gaussian Blur" - category: "Effects" - libraryIcon: "images/gaussian-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Inner Shadow" - category: "Effects" - libraryIcon: "images/inner-shadow-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Masked Blur" - category: "Effects" - libraryIcon: "images/mask-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Radial Blur" - category: "Effects" - libraryIcon: "images/radial-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Recursive Blur" - category: "Effects" - libraryIcon: "images/recursive-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - 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" - } - - ItemLibraryEntry { - name: "Zoom Blur" - category: "Effects" - libraryIcon: "images/zoom-blur-24px.png" - version: "1.0" - requiredImport: "QtQuick.Studio.Effects" - } - } - - Imports { - showTagsForImports: [ - "QtQuick.Studio.Effects" - ] - } -} diff --git a/src/imports/effects/designer/images/blend-mode-16px.png b/src/imports/effects/designer/images/blend-mode-16px.png Binary files differdeleted file mode 100644 index 8ec9736..0000000 --- a/src/imports/effects/designer/images/blend-mode-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/blend-mode-24px.png b/src/imports/effects/designer/images/blend-mode-24px.png Binary files differdeleted file mode 100644 index 4c76067..0000000 --- a/src/imports/effects/designer/images/blend-mode-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/blend-mode-24px@2x.png b/src/imports/effects/designer/images/blend-mode-24px@2x.png Binary files differdeleted file mode 100644 index 2b8a190..0000000 --- a/src/imports/effects/designer/images/blend-mode-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/brightness-contrast-16px.png b/src/imports/effects/designer/images/brightness-contrast-16px.png Binary files differdeleted file mode 100644 index 76160da..0000000 --- a/src/imports/effects/designer/images/brightness-contrast-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/brightness-contrast-24px.png b/src/imports/effects/designer/images/brightness-contrast-24px.png Binary files differdeleted file mode 100644 index d905d3d..0000000 --- a/src/imports/effects/designer/images/brightness-contrast-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/brightness-contrast-24px@2x.png b/src/imports/effects/designer/images/brightness-contrast-24px@2x.png Binary files differdeleted file mode 100644 index f54d32a..0000000 --- a/src/imports/effects/designer/images/brightness-contrast-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/colourize-16px.png b/src/imports/effects/designer/images/colourize-16px.png Binary files differdeleted file mode 100644 index b753206..0000000 --- a/src/imports/effects/designer/images/colourize-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/colourize-24px.png b/src/imports/effects/designer/images/colourize-24px.png Binary files differdeleted file mode 100644 index ee306f1..0000000 --- a/src/imports/effects/designer/images/colourize-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/colourize-24px@2x.png b/src/imports/effects/designer/images/colourize-24px@2x.png Binary files differdeleted file mode 100644 index c2eca92..0000000 --- a/src/imports/effects/designer/images/colourize-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/desaturation-16px.png b/src/imports/effects/designer/images/desaturation-16px.png Binary files differdeleted file mode 100644 index 23ce849..0000000 --- a/src/imports/effects/designer/images/desaturation-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/desaturation-24px.png b/src/imports/effects/designer/images/desaturation-24px.png Binary files differdeleted file mode 100644 index a437e6d..0000000 --- a/src/imports/effects/designer/images/desaturation-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/desaturation-24px@2x.png b/src/imports/effects/designer/images/desaturation-24px@2x.png Binary files differdeleted file mode 100644 index 5d613f9..0000000 --- a/src/imports/effects/designer/images/desaturation-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/directional-blur-16px.png b/src/imports/effects/designer/images/directional-blur-16px.png Binary files differdeleted file mode 100644 index f26f822..0000000 --- a/src/imports/effects/designer/images/directional-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/directional-blur-24px.png b/src/imports/effects/designer/images/directional-blur-24px.png Binary files differdeleted file mode 100644 index e58ffe1..0000000 --- a/src/imports/effects/designer/images/directional-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/directional-blur-24px@2x.png b/src/imports/effects/designer/images/directional-blur-24px@2x.png Binary files differdeleted file mode 100644 index 4022b84..0000000 --- a/src/imports/effects/designer/images/directional-blur-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/displace-16px.png b/src/imports/effects/designer/images/displace-16px.png Binary files differdeleted file mode 100644 index dc2306b..0000000 --- a/src/imports/effects/designer/images/displace-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/displace-24px.png b/src/imports/effects/designer/images/displace-24px.png Binary files differdeleted file mode 100644 index 9563df4..0000000 --- a/src/imports/effects/designer/images/displace-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/displace-24px@2.png b/src/imports/effects/designer/images/displace-24px@2.png Binary files differdeleted file mode 100644 index 0be970b..0000000 --- a/src/imports/effects/designer/images/displace-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/drop-shadow-16px.png b/src/imports/effects/designer/images/drop-shadow-16px.png Binary files differdeleted file mode 100644 index d347eca..0000000 --- a/src/imports/effects/designer/images/drop-shadow-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/drop-shadow-24px.png b/src/imports/effects/designer/images/drop-shadow-24px.png Binary files differdeleted file mode 100644 index 55432f6..0000000 --- a/src/imports/effects/designer/images/drop-shadow-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/drop-shadow-24px@2x.png b/src/imports/effects/designer/images/drop-shadow-24px@2x.png Binary files differdeleted file mode 100644 index 266e7a8..0000000 --- a/src/imports/effects/designer/images/drop-shadow-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/fast-blur-16px.png b/src/imports/effects/designer/images/fast-blur-16px.png Binary files differdeleted file mode 100644 index 9a1b1a1..0000000 --- a/src/imports/effects/designer/images/fast-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/fast-blur-24px.png b/src/imports/effects/designer/images/fast-blur-24px.png Binary files differdeleted file mode 100644 index 7f409ad..0000000 --- a/src/imports/effects/designer/images/fast-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/fast-blur-24px@2x.png b/src/imports/effects/designer/images/fast-blur-24px@2x.png Binary files differdeleted file mode 100644 index 07ba2a0..0000000 --- a/src/imports/effects/designer/images/fast-blur-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gamma-adjust-16px.png b/src/imports/effects/designer/images/gamma-adjust-16px.png Binary files differdeleted file mode 100644 index c4b16ca..0000000 --- a/src/imports/effects/designer/images/gamma-adjust-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gamma-adjust-24px.png b/src/imports/effects/designer/images/gamma-adjust-24px.png Binary files differdeleted file mode 100644 index ad0c8dc..0000000 --- a/src/imports/effects/designer/images/gamma-adjust-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gamma-adjust-24px@2x.png b/src/imports/effects/designer/images/gamma-adjust-24px@2x.png Binary files differdeleted file mode 100644 index fe1d7bd..0000000 --- a/src/imports/effects/designer/images/gamma-adjust-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gaussian-blur-16px.png b/src/imports/effects/designer/images/gaussian-blur-16px.png Binary files differdeleted file mode 100644 index 8abcc21..0000000 --- a/src/imports/effects/designer/images/gaussian-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gaussian-blur-24px.png b/src/imports/effects/designer/images/gaussian-blur-24px.png Binary files differdeleted file mode 100644 index 69682f1..0000000 --- a/src/imports/effects/designer/images/gaussian-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/gaussian-blur-24px@2.png b/src/imports/effects/designer/images/gaussian-blur-24px@2.png Binary files differdeleted file mode 100644 index fae48fd..0000000 --- a/src/imports/effects/designer/images/gaussian-blur-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/glow-16px.png b/src/imports/effects/designer/images/glow-16px.png Binary files differdeleted file mode 100644 index 8adc931..0000000 --- a/src/imports/effects/designer/images/glow-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/glow-24px.png b/src/imports/effects/designer/images/glow-24px.png Binary files differdeleted file mode 100644 index 782a5ce..0000000 --- a/src/imports/effects/designer/images/glow-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/glow-24px@2x.png b/src/imports/effects/designer/images/glow-24px@2x.png Binary files differdeleted file mode 100644 index ae6795a..0000000 --- a/src/imports/effects/designer/images/glow-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/hue-saturation-16px.png b/src/imports/effects/designer/images/hue-saturation-16px.png Binary files differdeleted file mode 100644 index 392d73c..0000000 --- a/src/imports/effects/designer/images/hue-saturation-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/hue-saturation-24px.png b/src/imports/effects/designer/images/hue-saturation-24px.png Binary files differdeleted file mode 100644 index 1d53207..0000000 --- a/src/imports/effects/designer/images/hue-saturation-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/hue-saturation-24px@2x.png b/src/imports/effects/designer/images/hue-saturation-24px@2x.png Binary files differdeleted file mode 100644 index 78e13d8..0000000 --- a/src/imports/effects/designer/images/hue-saturation-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/inner-shadow-16px.png b/src/imports/effects/designer/images/inner-shadow-16px.png Binary files differdeleted file mode 100644 index dfd605d..0000000 --- a/src/imports/effects/designer/images/inner-shadow-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/inner-shadow-24px.png b/src/imports/effects/designer/images/inner-shadow-24px.png Binary files differdeleted file mode 100644 index a5a7e6b..0000000 --- a/src/imports/effects/designer/images/inner-shadow-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/inner-shadow-24px@2.png b/src/imports/effects/designer/images/inner-shadow-24px@2.png Binary files differdeleted file mode 100644 index 65ade03..0000000 --- a/src/imports/effects/designer/images/inner-shadow-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/levels-16px.png b/src/imports/effects/designer/images/levels-16px.png Binary files differdeleted file mode 100644 index 07cd364..0000000 --- a/src/imports/effects/designer/images/levels-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/levels-24px.png b/src/imports/effects/designer/images/levels-24px.png Binary files differdeleted file mode 100644 index de33760..0000000 --- a/src/imports/effects/designer/images/levels-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/levels-24px@2.png b/src/imports/effects/designer/images/levels-24px@2.png Binary files differdeleted file mode 100644 index 514d4a5..0000000 --- a/src/imports/effects/designer/images/levels-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/mask-blur-16px.png b/src/imports/effects/designer/images/mask-blur-16px.png Binary files differdeleted file mode 100644 index 46a2236..0000000 --- a/src/imports/effects/designer/images/mask-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/mask-blur-24px.png b/src/imports/effects/designer/images/mask-blur-24px.png Binary files differdeleted file mode 100644 index 7de9c08..0000000 --- a/src/imports/effects/designer/images/mask-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/mask-blur-24px@2x.png b/src/imports/effects/designer/images/mask-blur-24px@2x.png Binary files differdeleted file mode 100644 index b66139a..0000000 --- a/src/imports/effects/designer/images/mask-blur-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/opacity-mask-16px.png b/src/imports/effects/designer/images/opacity-mask-16px.png Binary files differdeleted file mode 100644 index 10fb5b1..0000000 --- a/src/imports/effects/designer/images/opacity-mask-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/opacity-mask-24px.png b/src/imports/effects/designer/images/opacity-mask-24px.png Binary files differdeleted file mode 100644 index a5f8078..0000000 --- a/src/imports/effects/designer/images/opacity-mask-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/opacity-mask-24px@2x.png b/src/imports/effects/designer/images/opacity-mask-24px@2x.png Binary files differdeleted file mode 100644 index 642c719..0000000 --- a/src/imports/effects/designer/images/opacity-mask-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/radial-blur-16px.png b/src/imports/effects/designer/images/radial-blur-16px.png Binary files differdeleted file mode 100644 index 5e984a0..0000000 --- a/src/imports/effects/designer/images/radial-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/radial-blur-24px.png b/src/imports/effects/designer/images/radial-blur-24px.png Binary files differdeleted file mode 100644 index 6987300..0000000 --- a/src/imports/effects/designer/images/radial-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/radial-blur-24px@2x.png b/src/imports/effects/designer/images/radial-blur-24px@2x.png Binary files differdeleted file mode 100644 index cf72841..0000000 --- a/src/imports/effects/designer/images/radial-blur-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/designer/images/recursive-blur-16px.png b/src/imports/effects/designer/images/recursive-blur-16px.png Binary files differdeleted file mode 100644 index e12e40b..0000000 --- a/src/imports/effects/designer/images/recursive-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/recursive-blur-24px.png b/src/imports/effects/designer/images/recursive-blur-24px.png Binary files differdeleted file mode 100644 index da3b1c1..0000000 --- a/src/imports/effects/designer/images/recursive-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/recursive-blur-24px@2.png b/src/imports/effects/designer/images/recursive-blur-24px@2.png Binary files differdeleted file mode 100644 index 789ba1a..0000000 --- a/src/imports/effects/designer/images/recursive-blur-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/theshold-24px@2.png b/src/imports/effects/designer/images/theshold-24px@2.png Binary files differdeleted file mode 100644 index 74243f3..0000000 --- a/src/imports/effects/designer/images/theshold-24px@2.png +++ /dev/null diff --git a/src/imports/effects/designer/images/threshold-16px.png b/src/imports/effects/designer/images/threshold-16px.png Binary files differdeleted file mode 100644 index 006d495..0000000 --- a/src/imports/effects/designer/images/threshold-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/threshold-24px.png b/src/imports/effects/designer/images/threshold-24px.png Binary files differdeleted file mode 100644 index aeef810..0000000 --- a/src/imports/effects/designer/images/threshold-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/zoom-blur-16px.png b/src/imports/effects/designer/images/zoom-blur-16px.png Binary files differdeleted file mode 100644 index ee5f40a..0000000 --- a/src/imports/effects/designer/images/zoom-blur-16px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/zoom-blur-24px.png b/src/imports/effects/designer/images/zoom-blur-24px.png Binary files differdeleted file mode 100644 index 34435c8..0000000 --- a/src/imports/effects/designer/images/zoom-blur-24px.png +++ /dev/null diff --git a/src/imports/effects/designer/images/zoom-blur-24px@2x.png b/src/imports/effects/designer/images/zoom-blur-24px@2x.png Binary files differdeleted file mode 100644 index 568168e..0000000 --- a/src/imports/effects/designer/images/zoom-blur-24px@2x.png +++ /dev/null diff --git a/src/imports/effects/doc/qtquickstudioeffects.qdocconf b/src/imports/effects/doc/qtquickstudioeffects.qdocconf deleted file mode 100644 index 89a6d2d..0000000 --- a/src/imports/effects/doc/qtquickstudioeffects.qdocconf +++ /dev/null @@ -1,48 +0,0 @@ -include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf) - -project = QtQuickStudioEffects -description = Qt Quick Studio Effects Reference Documentation -version = $QT_VERSION - -examplesinstallpath = qtquickstudioeffects - -qhp.projects = QtQuickStudioEffects - -qhp.QtQuickStudioEffects.file = qtquickstudioeffects.qhp -qhp.QtQuickStudioEffects.namespace = org.qt-project.qtquickstudioeffects.$QT_VERSION_TAG -qhp.QtQuickStudioEffects.virtualFolder = qtquickstudioeffects -qhp.QtQuickStudioEffects.indexTitle = Qt Quick Studio Effects -qhp.QtQuickStudioEffects.indexRoot = - -qhp.QtQuickStudioEffects.filterAttributes = qtquickstudioeffects $QT_VERSION qtrefdoc -qhp.QtQuickStudioEffects.customFilters.Qt.name = QtQuickStudioeffects $QT_VERSION -qhp.QtQuickStudioEffects.customFilters.Qt.filterAttributes = qtquickstudioeffects $QT_VERSION - -qhp.QtQuickStudioEffects.subprojects = qmltypes - -qhp.QtQuickStudioEffects.subprojects.qmltypes.title = QML Types -qhp.QtQuickStudioEffects.subprojects.qmltypes.indexTitle = Qt Quick Studio Effects QML Types -qhp.QtQuickStudioEffects.subprojects.qmltypes.selectors = qmlclass -qhp.QtQuickStudioEffects.subprojects.qmltypes.sortPages = true - -#qhp.QtQuickStudioEffects.subprojects.examples.title = Examples -#qhp.QtQuickStudioEffects.subprojects.examples.indexTitle = Qt Quick Studio Effects Examples -#qhp.QtQuickStudioEffects.subprojects.examples.selectors = fake:example -#qhp.QtQuickStudioEffects.subprojects.examples.sortPages = true - -headerdirs += .. -sourcedirs += .. -#exampledirs = -imagedirs += images \ - -depends += qtcore qtdoc qtgui qtquick qtquickextras qtgraphicaleffects - -tagfile = qtquickstudioeffects.tags - -#add generic thumbnail images for example documentation that does not have an image. -#manifestmeta.thumbnail.names += - -navigation.landingpage = "Qt Quick Studio Effects" -navigation.qmltypespage = "Qt Quick Studio Effects QML Types" - -macro.QDS = "Qt Design Studio" diff --git a/src/imports/effects/doc/src/qtquickstudioeffects-index.qdoc b/src/imports/effects/doc/src/qtquickstudioeffects-index.qdoc deleted file mode 100644 index 1e9a0a0..0000000 --- a/src/imports/effects/doc/src/qtquickstudioeffects-index.qdoc +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page qtquickstudio-effects-index.html - \title Qt Quick Studio Effects - \brief Provides effects enhanced for creating animated UIs. - - The Qt Quick Studio Effects module provides effects enhanced for creating - animated UIs that inherit the types in the \l {Qt Graphical Effects} module. - - \section1 Getting Started - - To import the QML types into your application, use the following import - statement in your .qml file: - - \code - import QtQuick.Studio.Effects 1.0 - \endcode - - \section1 Articles and Guides - - \list - \li \l{Qt Quick Studio Effects Overview}{Overview} - \endlist - - \section1 Reference - - \list - \li \l{Qt Quick Studio Effects QML Types}{QML Types} - \endlist -*/ diff --git a/src/imports/effects/doc/src/qtquickstudioeffects-overview.qdoc b/src/imports/effects/doc/src/qtquickstudioeffects-overview.qdoc deleted file mode 100644 index 438861e..0000000 --- a/src/imports/effects/doc/src/qtquickstudioeffects-overview.qdoc +++ /dev/null @@ -1,344 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page qtquickstudio-effects-overview.html - - \title Qt Quick Studio Effects Overview - - The Qt Quick Studio Effects module provides effects enhanced for creating - animated UIs that inherit the types in the \l {Qt Graphical Effects} module. - - Effects have one or more source properties for specifying the visual input - for which the effect is applied to a component. The altered visual output is - then presented in the effect component itself. The source can be another, - often hidden, component in the scene. More complex effects can have multiple - sources. The source component can be any component, even video or another - effect. Pipelining multiple effects together is a simple way to create - even more impressive output. - - Each effect has a set of properties that can be used to configure the effect - output. They can be animated just like any other properties. The - component documentation contains property descriptions and basic usage - examples. - - \section1 Caching and Borders - - The \c cached property allows the effect output pixels to be cached - in order to improve the rendering performance. Every time the source or - effect properties are changed, the pixels in the cache must be updated. - Memory consumption is increased, because an extra buffer of memory is - required for storing the effect output. We recommend that you disable the - cache when the source or the effect properties are animated. - - The \c transparentBorder property determines the blur behavior - near the edges of the component, where the pixel blurring is affected by - the pixels outside the source edges. - - If the property is set to \c true, the pixels outside the source are - interpreted as being transparent, which is similar to OpenGL clamp-to-border - extension. The blur is expanded slightly outside the effect component area. - - If the property is set to \c false, the pixels outside the source are - interpreted as containing the same color as the pixels at the edge of - the component, which is similar to OpenGL clamp-to-edge behavior. The blur - does not expand outside the effect component area. - - \section1 Summary of Qt Quick Studio Effects - - The following table summarizes the available effects and contains links to - the developer documentation of the inherited component. - - \note The effects are available when running with OpenGL. - - \table - \header - \li Effect - \li Description - \row - \li \l [QML] Blend - \li Merges two source components by using a blend mode. - - The default value of the \c mode property is \c subtract. Thus, - the pixel value from the component specified as the value of the - \c foregroundSource property, which is going to be blended over - the source component, is subtracted from the source and written - over it. - - For a list of possible \c mode values and examples of their - use, see \l{Blend::mode}{Blend.mode}. - \row - \li \l BrightnessContrast - \li Adjusts \c brightness and \c contrast. - \row - \li \l Colorize - \li Sets the color in the HSL color space by specifying \c hue, - \c lightness, and \c saturation values. - \row - \li \l ColorOverlay - \li Alters the colors of the source component by applying a \c color - overlay. - \row - \li \l Desaturate - \li Reduces the saturation of the colors by the value set as a value of - the \c desaturate property. The value ranges from \c 0.0 - (no change) to \c 1.0 (desaturated). Desaturated pixel values are - calculated as averages of the original RGB component values - of the source component. - \row - \li \l DirectionalBlur - \li Applies a blur effect to the specified direction. The value of the - \c angle property, defines the direction of the blur. This effect - makes the source component appear to be moving in the direction of - the blur. Blur is applied to both sides of each pixel and therefore - setting the direction to \c 0 and \c 180 provides the same result. - - The value of the \c length property specifies the perceived - amount of movement for each pixel. The movement is divided evenly - to both sides of each pixel. - - The quality of the blur depends on the value of the - \c samples property. If the \c length value is large, - more samples are needed to preserve high visual quality. - \row - \li \l Displace - \li Moves the pixels of the source component according to - the displacement map specified as the value of the - \c displacementSource property. - - The value of the \c displacement property specifies the - scale for the displacement. The larger the scale, the larger the - displacement of the pixels. The value set to \c 0.0 causes no - displacement. The value of \c -1.0 sets the inverted maximum shift - according to the displacement source value, while \c 1.0 sets the - maximum shift. - \row - \li \l DropShadow - \li Generates a soft shadow behind the source component using a gaussian - blur. This effect blurs the alpha channel of the input and colorizes - the result, which it then places behind the source component to - create a soft shadow. You can set the shadow's color as a value of - the \c color property and change its location by setting the values - of the \c horizontalOffset and \c verticalOffset properties. - - The value of the \c radius property specifies the softness of - the shadow. A larger radius causes the edges of the shadow to appear - more blurry. The ideal blur is achieved by setting the value of the - \c samples property to twice as large as the highest required - radius value plus one (\c {samples = 1 + radius * 2}). - - The soft shadow is created by blurring the image live using a - gaussian blur, which is a costly operation. Fullscreen gaussian - blur with even a moderate number of samples will only run at 60 - FPS on high-end graphics hardware. - \row - \li \l FastBlur - \li Applies a fast blur effect to one or more source components. - \l FastBlur offers lower blur quality than \l GaussianBlur, but - it is faster to render. - This effect softens the source content by blurring it with - an algorithm that uses source content downscaling and - bilinear filtering. Use this effect if the source content - is rapidly changing and the highest possible blur quality - is not needed. - - The value of the \c radius property specifies the distance of - the neighboring pixels that affect the blurring of an individual - pixel. A larger radius increases the blur effect. The fast blur - algorithm may internally reduce the accuracy of the radius in order - to provide good rendering performance. - \row - \li \l [QML] GammaAdjust - \li Alters the luminance of the source component. This effect is applied - to each pixel according to the curve that is pre-defined as a - power-law expression, where the value of the \c gamma - property is used as the reciprocal scaling exponent. - \row - \li \l [QML] GaussianBlur - \li Applies a gaussian blur effect to one or more source components. - The effect softens the image by blurring it with an algorithm that - uses the gaussian function to calculate the effect. The effect - produces higher quality than \l FastBlur, but is slower - to render. Performing blur live is a costly operation. Fullscreen - gaussian blur with even a moderate number of \c samples - will only run at 60 FPS on high-end graphics hardware. - - The value of the \c radius property specifies the distance of - the neighboring pixels that affect the blurring of an individual - pixel. The value of the \c deviation property is a parameter to - the gaussian function that is used when calculating neighboring - pixel weights for the blurring. A larger deviation causes an image - to appear more blurry, but it also reduces the quality of the blur. - A very large deviation value causes the effect to look a bit similar - to what, for exmple, a box blur algorithm produces. A too small - deviation value makes the effect insignificant for the pixels near - the radius. - \row - \li \l [QML] Glow - \li Generates a halo-like glow around the source component. This effect - blurs the alpha channel of the source and colorizes it with - \c color. It then places the alpha channel behind the source, - resulting in a halo or glow around the component. The quality - of the blurred edge can be controlled by using the values of the - \c samples and \c radius properties and the strength of the - glow can be changed using the value of the \c spread property. - \row - \li \l HueSaturation - \li Alters the source component colors in the HSL color space. This - effect is similar to the \l Colorize effect, but the \c hue and - \c saturation values are handled differently. This effect always - shifts these values, as well as the \c lightness value from the - original, instead of setting them. - \row - \li \l InnerShadow - \li Generates a colorized and blurred shadow inside the source using - the color that you specify as the value of the \c color property. - - The quality of the shadow can be controlled by the values of the - \c samples and \c radius properties. Ideally, the - sample value should be twice as large as the highest required - radius value. For example, if the radius is animated between - \c 0.0 and \c 4.0, samples should be set to \c 8. - - The value of the \c spread property specifies how large a part - of the shadow color is strengthened near the source edges. - The effect produces a high quality shadow image, and therefore the - rendering speed of the shadow might not be the highest possible. - The rendering speed is reduced especially if the shadow edges are - heavily softened. For use cases that require faster rendering speed - at the cost of high visual quality, set the \c fast property to - \c true. - \row - \li \l {LevelAdjust}{Level Adjust} - \li Adjusts color levels in the RGBA color space. This effect adjusts - the source component colors separately for each color channel. Source - component contrast can be adjusted and color balance altered. - - The value of the \c gamma property specifies the change factor - for how the value of each pixel color channel is altered according - to the equation. Setting the gamma values under - \c QtVector3d(1.0, 1.0, 1.0) makes the image darker, whereas the - values above \c QtVector3d(1.0, 1.0, 1.0) lighten it. The value - ranges from \c QtVector3d(0.0, 0.0, 0.0) (darkest) to \c inf - (lightest). - - You can specify the maximum and minimum input and output levels for - each color channel. \c maximumInput sets the white-point, - which means that all pixels with a higher value are rendered as - white (per color channel). Decreasing this value lightens the light - areas. To darken the light areas and to increase the contrast, - decrease the value of the \c maximumOutput property. - - The value of the \c minimumInput property sets the minimum - input level for each color channel. It sets the black-point, which - means that all pixels with a lower value are rendered as black - (per color channel). Increasing this value darkens the dark areas. - To lighten the dark areas and to reduce the contrast, increase the - value of the \c minimumOutput property. - \row - \li \l MaskedBlur - \li Softens the image by blurring it. The intensity of the blur can be - controlled for each pixel by specifying a \c maskSource, - so that some parts of the source are blurred more than others. - - The value of the \c radius property specifies the distance of - the neighboring pixels that affect the blurring of an individual - pixel. - - The value of the \c samples property specifies, how many - samples are taken per pixel when blur calculation is done. Larger - samples produce better quality, but are slower to render. - \row - \li \l OpacityMask - \li Masks the source component with another component specified as a - value of the \c maskSource property. The mask component gets - rendered into an intermediate pixel buffer and the alpha values - from the result are used to determine the visibility of the source - component's pixels display. - - Set the \c invert property to \c true to specify that the - resulting opacity is the source alpha multiplied with the - inverse of the mask alpha: \c {As * (1 - Am)}. When this property - is \c false, the resulting opacity is the source alpha multiplied - with the mask alpha: \c {As * Am}. - \row - \li \l RadialBlur - \li Applies a directional blur effect in a circular direction around the - component's center point. This effect makes the source component - appear to be rotating into the direction of the blur. Other - available motionblur effects are \l ZoomBlur and \l DirectionalBlur. - - The value of the \c angle property specifies both the direction - of the blur and the level of blurring. The larger the angle, the - more blurred the result. The quality of the blur depends on the - value or the \c samples property. If the angle is large, more - samples are needed to preserve high visual quality. - \row - \li \l RecursiveBlur - \li Blurs repeatedly, providing a strong blur effect. This effect - softens the image by blurring it with an algorithm that uses a - recursive feedback loop to blur the source as many times as - specified by the value of the \c loops property. - - The value of the \c radius property specifies the distance of - the neighboring pixels that affect the blurring of an individual - pixel. - - The effect may produce more blurred results than \l FastBlur or - \l GaussianBlur but the result is produced asynchronously and - takes more time. - \row - \li \l ThresholdMask - \li Masks the source component with another component specified by the - value of the \c maskSource property. The value of the \c spread - property determines the smoothness of the mask edges near the - \c threshold alpha value. Setting spread to \c 0.0 uses - the mask with the specified threshold. Setting higher spread values - softens the transition from the transparent mask pixels towards - opaque mask pixels by adding interpolated values between them. - \row - \li \l ZoomBlur - \li Applies a directional blur effect towards source component's - center point. This effect makes the source component appear to be - moving towards the center point in Z-direction or the camera - appear to be zooming rapidly. - - The value of the \c length property specifies the maximum - perceived amount of movement for each pixel. The amount is smaller - near the center specified by the \c horizontalOffset and - \c verticalOffset properties and reaches the specified value - at the edges. - - The quality of the blur depends on the value of the - \c samples property. If the length value is large, - more samples are needed to preserve high visual quality. - - Other available motion blur effects are \ DirectionalBlur and - \l RadialBlur. - \endtable - -*/ diff --git a/src/imports/effects/doc/src/qtquickstudioeffects-qmlmodule.qdoc b/src/imports/effects/doc/src/qtquickstudioeffects-qmlmodule.qdoc deleted file mode 100644 index 3868701..0000000 --- a/src/imports/effects/doc/src/qtquickstudioeffects-qmlmodule.qdoc +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** 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 Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmlmodule QtQuick.Studio.Effects 1.0 - \title Qt Quick Studio Effects QML Types - \ingroup qmlmodules - \brief Provides effects enhanced for creating animated UIs. - - The Qt Quick Studio Effects module provides effects enhanced for creating - animated UIs that inherit the types in the \l {Qt Graphical Effects} module. - - The QML types can be imported into your application using the following - import statements in your .qml file: - - \badcode - import QtQuick.Studio.Effects 1.0 - \endcode -*/ diff --git a/src/imports/effects/doc/style/style.css b/src/imports/effects/doc/style/style.css deleted file mode 100644 index df84049..0000000 --- a/src/imports/effects/doc/style/style.css +++ /dev/null @@ -1,137 +0,0 @@ -a:link, a:visited { - color: #00732F; - text-decoration: none; - font-weight: bold; -} - -body { - font: normal 400 14px/1.2 Arial; - margin-top: 85px; -} - -h1 { - margin: 0; -} - -h2 { - font: 500 20px/1.2 Arial; -} - -h3.fn, span.fn { - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border-width: 1px; - border-style: solid; - border-color: #E6E6E6; - word-spacing: 3px; - padding: 3px 5px; -} - -table, pre { - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border: 1px solid #E6E6E6; - border-collapse: separate; - font-size: 12px; - line-height: 1.2; - margin-bottom: 25px; - margin-left: 15px; -} - -table td { - padding: 3px 15px 3px 20px; -} - -table tr.even { - background-color: white; - color: #66666E; -} - -table tr.odd { - background-color: #F6F6F6; - color: #66666E; -} - -li { - margin-bottom: 10px; - padding-left: 12px; -} - -.cpp { - display: block; - margin: 10; - overflow: hidden; - overflow-x: hidden; - overflow-y: hidden; - padding: 20px 0 20px 0; -} - -.footer { - margin-top: 50px; -} - -.memItemLeft { - padding-right: 3px; -} - -.memItemRight { - padding: 3px 15px 3px 0; -} - -.qml { - display: block; - margin: 10; - overflow: hidden; - overflow-x: hidden; - overflow-y: hidden; - padding: 20px 0 20px 0; -} - -.qmldefault { - padding-left: 5px; - float: right; - color: red; -} - -.qmlreadonly { - padding-left: 5px; - float: right; - color: #254117; -} - -.rightAlign { - padding: 3px 5px 3px 10px; - text-align: right; -} - -.title { - background-color: white; - color: #44A51C; - font-family: Verdana; - font-size: 35px; - font-weight: normal; - left: 0; - padding-bottom: 5px; - padding-left: 16px; - padding-top: 20px; - position: absolute; - right: 0; - top: 0; -} - -.toc { - float: right; - -moz-border-radius: 7px 7px 7px 7px; - -webkit-border-radius: 7px 7px 7px 7px; - border-radius: 7px 7px 7px 7px; - background-color: #F6F6F6; - border: 1px solid #DDD; - margin: 0 20px 10px 10px; - padding: 20px 15px 20px 20px; - height: auto; - width: 200px; -} diff --git a/src/imports/effects/effects.pri b/src/imports/effects/effects.pri deleted file mode 100644 index be5c224..0000000 --- a/src/imports/effects/effects.pri +++ /dev/null @@ -1,47 +0,0 @@ -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/effects.pro b/src/imports/effects/effects.pro deleted file mode 100644 index a319a8c..0000000 --- a/src/imports/effects/effects.pro +++ /dev/null @@ -1,26 +0,0 @@ -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 - -QMAKE_DOCS = $$PWD/doc/qtquickstudioeffects.qdocconf - -load(qml_plugin) diff --git a/src/imports/effects/plugins.qmltypes b/src/imports/effects/plugins.qmltypes deleted file mode 100644 index aac3a1a..0000000 --- a/src/imports/effects/plugins.qmltypes +++ /dev/null @@ -1,13 +0,0 @@ -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/qmldir b/src/imports/effects/qmldir deleted file mode 100644 index 3e73c5b..0000000 --- a/src/imports/effects/qmldir +++ /dev/null @@ -1,45 +0,0 @@ -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/qtstudioeffectsplugin.cpp b/src/imports/effects/qtstudioeffectsplugin.cpp deleted file mode 100644 index eea2e29..0000000 --- a/src/imports/effects/qtstudioeffectsplugin.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** 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" |