diff options
author | Michael BrĂ¼ning <michael.bruning@qt.io> | 2020-04-27 23:55:33 +0200 |
---|---|---|
committer | Michael BrĂ¼ning <michael.bruning@qt.io> | 2020-04-29 14:49:10 +0200 |
commit | e288b90f4e878fe5316fbd1bf86423030f7ef3a2 (patch) | |
tree | 0b113c94a179616fed50ca643e5a7cfdf875b218 /examples | |
parent | 01ed665582a1aaf74e1df7932663be3eaae77fe1 (diff) |
Move FlowView to imports and add project files for installation
Also fixes up some imports
Change-Id: I850067564a97eb311c5a626317884d5e66488bca
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'examples')
27 files changed, 3 insertions, 2734 deletions
diff --git a/examples/TransitionItem/imports/TransitionItem/EventListSimulator.qml b/examples/TransitionItem/imports/TransitionItem/EventListSimulator.qml index d2a853d..3bda5d3 100644 --- a/examples/TransitionItem/imports/TransitionItem/EventListSimulator.qml +++ b/examples/TransitionItem/imports/TransitionItem/EventListSimulator.qml @@ -28,7 +28,8 @@ ****************************************************************************/ import QtQuick 2.0 -import EventSimulator 1.0 +import QtQuick.Studio.EventSystem 1.0 +import QtQuick.Studio.EventSimulator 1.0 QtObject { id: simulator @@ -42,7 +43,7 @@ QtObject { } Component.onCompleted: { - EventSimulator.init(Qt.resolvedUrl("EventListModel.qml")) + EventSystem.init(Qt.resolvedUrl("EventListModel.qml")) if (simulator.active) timer.start() } diff --git a/examples/imports/FlowView/DefaultFlowEffect.qml b/examples/imports/FlowView/DefaultFlowEffect.qml deleted file mode 100644 index d4c075b..0000000 --- a/examples/imports/FlowView/DefaultFlowEffect.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.10 - -FlowEffect { - //No Effect - duration: 0 -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowActionArea.qml b/examples/imports/FlowView/FlowActionArea.qml deleted file mode 100644 index 01de4ef..0000000 --- a/examples/imports/FlowView/FlowActionArea.qml +++ /dev/null @@ -1,91 +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.10 -import EventSimulator 1.0 - -MouseArea { - width: 80 - height: 40 - - id: root - - function trigger() { - if (root.goBack) { - print("go back") - var par = root.parent - while (parent) { - if (parent.__isFlowView) { - parent.goBack() - return - } - parent = parent.parent - } - } else { - target.trigger() - } - } - - property Connections connections : Connections { - id: connections - } - - property QtObject target - - enabled: target !== null || root.goBack - - onClicked: { - root.trigger() - } - - property bool goBack: false - - property alias eventIds: eventListener.eventIds - - function __receiveEvent(parameters) { - var flowItem = root.parent - var flow = flowItem.parent - - if (flow.currentItem !== flowItem) - return; - - root.trigger() - } - - EventListener { - id: eventListener - onTriggered: root.__receiveEvent(parameters) - } -} - -/*##^## -Designer { - D{i:0;height:63;width:80} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowDecision.qml b/examples/imports/FlowView/FlowDecision.qml deleted file mode 100644 index 7292c4a..0000000 --- a/examples/imports/FlowView/FlowDecision.qml +++ /dev/null @@ -1,118 +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.10 -import QtQuick.Window 2.14 - -QtObject { - id: root - - property list<FlowTransition> targets - - readonly property bool isFlowDecision: true - - property string dialogTitle: qsTr("Title") - - function trigger() { - var hasDialog = false - for (var i = 0; i < root.targets.length; ++i) { - if (root.targets[i].question !== "") - hasDialog = true - } - - if (hasDialog) { - loader.show() - } - } - - property Loader loader: Loader { - active: false - function show() { - active = true - item.show() - item.raise() - item.requestActivate() - } - - sourceComponent: windowComponent - } - - property Component windowComponent: Component { - - Window { - - id: dialog - - title: root.dialogTitle - modality: Qt.WindowModal - transientParent: root.Window.window - - width: 400 - height: 100 - - minimumWidth: 400 - minimumHeight: 100 - flags: Qt.Dialog | Qt.WindowStaysOnTopHint | Qt.WindowTitleHint - - Rectangle { - id: background - anchors.fill: parent - Column { - Repeater { - model: targets - Rectangle { - visible: root.targets[index].question !== "" - width: background.width - height: 20 - opacity: mouseArea.containsMouse ? 1 : 0.8 - color: index / 2 ? "#ebecf0" : "white" - MouseArea { - id: mouseArea - hoverEnabled: true - onClicked: { - root.targets[index].trigger() - loader.item.close() - loader.active = false - } - anchors.fill: parent - } - - Text { - height: 20 - text: root.targets[index].question - verticalAlignment: Text.AlignVCenter - } - } - } - } - } - } - - } -} diff --git a/examples/imports/FlowView/FlowEffect.qml b/examples/imports/FlowView/FlowEffect.qml deleted file mode 100644 index b57ced7..0000000 --- a/examples/imports/FlowView/FlowEffect.qml +++ /dev/null @@ -1,161 +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.10 -import QtQuick.Timeline 1.0 - -QtObject { - id: root - signal finished - signal started - signal reseted - function reset() { - /* - if (root.duration === 0) { - root.transitionView.__setupCurrentItem() - return - }*/ - - /* We set the parents to the content items to apply effects */ - - resetProperties() - - from.parent = transitionView.__fromContentItem - to.parent = transitionView.__toContentItem - root.progress = root.backwards ? 100 : 0 - - enable() - root.progress = -1 - root.progress = 0 - } - - property bool __aborted: false - - function enable() { - timeline.enabled = true - root.started() - } - - function start() { - anim.from = Math.min(root.progress, 100) - anim.to = root.backwards ? 0 : 100 - anim.duration = root.duration * Math.abs(anim.to - anim.from) / 100 - - root.__aborted = false - - anim.start() - } - - function abort() { - - anim.from = root.progress - anim.to = root.backwards ? 100 : 0 - - anim.duration = root.duration * Math.abs(anim.from - anim.to) / 100 - - root.__aborted = true - anim.restart() - - } - - function stop() { - anim.stop() - } - - property Item from - property Item to - - property Item transitionView - - property real duration: 250 - property alias easing: anim.easing - - property Timeline timeline: Timeline { - - } - - property real progress: 0 - - property bool backwards: false - - property Binding timelineBinding: Binding { - target: timeline - property: "currentFrame" - value: root.progress * 10 - } - - function resetProperties() { - transitionView.__fromContentItem.opacity = 1 - transitionView.__fromContentItem.x = 0 - transitionView.__fromContentItem.y = 0 - transitionView.__fromContentItem.z = 0 - transitionView.__fromContentItem.scale = 1 - - transitionView.__toContentItem.opacity = 1 - transitionView.__toContentItem.x = 0 - transitionView.__toContentItem.y = 0 - transitionView.__toContentItem.z = 0 - transitionView.__toContentItem.scale = 1 - } - - property PropertyAnimation __anim: PropertyAnimation { - id: anim - duration: 250 - loops: 1 - target: root - property: "progress" - onStopped: { - timeline.enabled = false - /* reset all typical properties */ - - resetProperties() - - root.finished() - - if (!root.__aborted) { - root.transitionView.__setupCurrentItem() - } else { - if (root.transitionView.nextItem) { - root.transitionView.nextItem.parent = transitionView.__stack - root.transitionView.nextItem = root.transitionView.currentItem - } - root.transitionView.__setupCurrentItem() - root.transitionView.nextItem = null - } - - root.progress = 0 - } - } - -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowFadeEffect.qml b/examples/imports/FlowView/FlowFadeEffect.qml deleted file mode 100644 index a550c7c..0000000 --- a/examples/imports/FlowView/FlowFadeEffect.qml +++ /dev/null @@ -1,81 +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.10 -import TransitionItem 1.0 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - //Fade Effect - duration: 250 - onStarted: { - group01.target = transitionView.__fromContentItem - group02.target = transitionView.__toContentItem - } - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "opacity" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - - KeyframeGroup { - id: group02 - - property: "opacity" - - Keyframe { - frame: 0 - value: 0 - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - } -} diff --git a/examples/imports/FlowView/FlowItem.qml b/examples/imports/FlowView/FlowItem.qml deleted file mode 100644 index a820074..0000000 --- a/examples/imports/FlowView/FlowItem.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.12 - - -Item { -} diff --git a/examples/imports/FlowView/FlowPushLeftEffect.qml b/examples/imports/FlowView/FlowPushLeftEffect.qml deleted file mode 100644 index 494dadb..0000000 --- a/examples/imports/FlowView/FlowPushLeftEffect.qml +++ /dev/null @@ -1,156 +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.10 -import TransitionItem 1.0 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - property real scale: 1 - property real opacity: 1 - - duration: 250 - onStarted: { - group01.target = transitionView.__fromContentItem - group02.target = transitionView.__toContentItem - group03.target = transitionView.__fromContentItem - group04.target = transitionView.__toContentItem - group05.target = transitionView.__fromContentItem - group06.target = transitionView.__toContentItem - } - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "x" - - Keyframe { - frame: 0 - value: 0 - } - - Keyframe { - frame: 1000 - value: effect.transitionView.width - easing: effect.easing - } - } - - KeyframeGroup { - id: group02 - - property: "x" - - Keyframe { - frame: 0 - value: -effect.transitionView.width - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - - KeyframeGroup { - id: group03 - - property: "scale" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.scale - easing: effect.easing - } - } - - KeyframeGroup { - id: group04 - - property: "scale" - - Keyframe { - frame: 0 - value: effect.scale - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - - KeyframeGroup { - id: group05 - - property: "opacity" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.opacity - easing: effect.easing - } - } - - KeyframeGroup { - id: group06 - - property: "opacity" - - Keyframe { - frame: 0 - value: effect.opacity - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - } -} diff --git a/examples/imports/FlowView/FlowPushRightEffect.qml b/examples/imports/FlowView/FlowPushRightEffect.qml deleted file mode 100644 index b5797e0..0000000 --- a/examples/imports/FlowView/FlowPushRightEffect.qml +++ /dev/null @@ -1,156 +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.10 -import TransitionItem 1.0 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - property real scale: 1 - property real opacity: 1 - - duration: 250 - onStarted: { - group01.target = transitionView.__fromContentItem - group02.target = transitionView.__toContentItem - group03.target = transitionView.__fromContentItem - group04.target = transitionView.__toContentItem - group05.target = transitionView.__fromContentItem - group06.target = transitionView.__toContentItem - } - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "x" - - Keyframe { - frame: 0 - value: 0 - } - - Keyframe { - frame: 1000 - value: -effect.transitionView.width - easing: effect.easing - } - } - - KeyframeGroup { - id: group02 - - property: "x" - - Keyframe { - frame: 0 - value: effect.transitionView.width - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - - KeyframeGroup { - id: group03 - - property: "scale" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.scale - easing: effect.easing - } - } - - KeyframeGroup { - id: group04 - - property: "scale" - - Keyframe { - frame: 0 - value: effect.scale - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - - KeyframeGroup { - id: group05 - - property: "opacity" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.opacity - easing: effect.easing - } - } - - KeyframeGroup { - id: group06 - - property: "opacity" - - Keyframe { - frame: 0 - value: effect.opacity - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - } -} diff --git a/examples/imports/FlowView/FlowPushUpEffect.qml b/examples/imports/FlowView/FlowPushUpEffect.qml deleted file mode 100644 index 0645072..0000000 --- a/examples/imports/FlowView/FlowPushUpEffect.qml +++ /dev/null @@ -1,163 +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.10 -import TransitionItem 1.0 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - property real scale: 1 - property real inOpacity: 1 - property real outOpacity: 1 - - property int fromItemHeight: effect.transitionView.height - - property bool revealCurrent: false - - duration: 250 - onStarted: { - group01.target = transitionView.__fromContentItem - group02.target = transitionView.__toContentItem - group03.target = transitionView.__fromContentItem - group04.target = transitionView.__toContentItem - group05.target = transitionView.__fromContentItem - group06.target = transitionView.__toContentItem - if (effect.revealCurrent) - group01.target.z = 1 - } - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "y" - - Keyframe { - frame: 0 - value: 0 - } - - Keyframe { - frame: 1000 - value: -fromItemHeight - easing: effect.easing - } - } - - KeyframeGroup { - id: group02 - - property: "y" - - Keyframe { - frame: 0 - value: effect.revealCurrent ? 0 : effect.transitionView.height - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - - KeyframeGroup { - id: group03 - - property: "scale" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.scale - easing: effect.easing - } - } - - KeyframeGroup { - id: group04 - - property: "scale" - - Keyframe { - frame: 0 - value: effect.scale - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - - KeyframeGroup { - id: group05 - - property: "opacity" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.outOpacity - easing: effect.easing - } - } - - KeyframeGroup { - id: group06 - - property: "opacity" - - Keyframe { - frame: 0 - value: effect.inOpacity - } - - Keyframe { - frame: 1000 - value: 1 - easing: effect.easing - } - } - } -} diff --git a/examples/imports/FlowView/FlowSlideDownEffect.qml b/examples/imports/FlowView/FlowSlideDownEffect.qml deleted file mode 100644 index 88ff610..0000000 --- a/examples/imports/FlowView/FlowSlideDownEffect.qml +++ /dev/null @@ -1,90 +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.10 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - property real itemHeight: transitionView.height - property real outOpacity: 1 - - duration: 250 - onStarted: { - group01.target = transitionView.__toContentItem - group02.target = transitionView.__fromContentItem - group01.target.z = 1 - } - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "y" - - Keyframe { - frame: 0 - value: -effect.itemHeight - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - - KeyframeGroup { - id: group02 - - property: "opacity" - - Keyframe { - frame: 0 - value: 1 - } - - Keyframe { - frame: 1000 - value: effect.outOpacity - easing: effect.easing - } - } - } -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowSlideLeftEffect.qml b/examples/imports/FlowView/FlowSlideLeftEffect.qml deleted file mode 100644 index 21a3027..0000000 --- a/examples/imports/FlowView/FlowSlideLeftEffect.qml +++ /dev/null @@ -1,66 +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.10 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - duration: 250 - onStarted: group01.target = transitionView.__toContentItem - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "x" - - Keyframe { - frame: 0 - value: -transitionView.width - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - } -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowSlideRightEffect.qml b/examples/imports/FlowView/FlowSlideRightEffect.qml deleted file mode 100644 index 12d3262..0000000 --- a/examples/imports/FlowView/FlowSlideRightEffect.qml +++ /dev/null @@ -1,66 +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.10 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - duration: 250 - onStarted: group01.target = transitionView.__toContentItem - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "x" - - Keyframe { - frame: 0 - value:transitionView.width - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - } -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowSlideUpEffect.qml b/examples/imports/FlowView/FlowSlideUpEffect.qml deleted file mode 100644 index aa06c93..0000000 --- a/examples/imports/FlowView/FlowSlideUpEffect.qml +++ /dev/null @@ -1,66 +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.10 -import QtQuick.Timeline 1.0 - -FlowEffect { - id: effect - - duration: 250 - onStarted: group01.target = transitionView.__toContentItem - - timeline: Timeline { - startFrame: 0 - endFrame: 1000 - - KeyframeGroup { - id: group01 - - property: "y" - - Keyframe { - frame: 0 - value: transitionView.height - } - - Keyframe { - frame: 1000 - value: 0 - easing: effect.easing - } - } - } -} - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowTransition.qml b/examples/imports/FlowView/FlowTransition.qml deleted file mode 100644 index cadbe35..0000000 --- a/examples/imports/FlowView/FlowTransition.qml +++ /dev/null @@ -1,112 +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.10 - -QtObject { - id: root - - signal finished - - /* Those should be lists that allow a n*n mappings. */ - //property Item from: null - //property Item to: null - property list<QtObject> from - property list<QtObject> to - property int duration - - property var transitionView: Item {} - - property real progress: effect.progress - - property bool condition: true - - property string question - - function __start() { - print("start " + this) - root.effect.start() - } - - function __enable() { - effect.enable() - } - - function __reset(current, next) { - root.effect.from = current - root.effect.to = next - root.effect.transitionView = root.transitionView - - root.effect.reset() - } - - function __stop(current, next) { - root.effect.stop() - } - - function __checkInclude(list, item) - { - for (var i = 0; i < list.length; ++i) { - if (list[i] === item) - return true - } - return false - } - - function trigger() { - var fromEmpty = root.from.length === 0 - - if (to[0].isFlowDecision === true) - to[0].trigger(); - - if (fromEmpty || __checkInclude(root.from, transitionView.currentItem)) - transitionView.gotoPage(root) - } - - property FlowEffect effect: DefaultFlowEffect { - transitionView: transitionView - - } - - onEffectChanged: { - root.effect.transitionView = root.transitionView - } - - property Connections effectConnection: Connections { - target: root.effect - onFinished: root.finished - } -} - - -/*##^## -Designer { - D{i:0;autoSize:true;height:480;width:640} -} -##^##*/ diff --git a/examples/imports/FlowView/FlowTransitionList.qml b/examples/imports/FlowView/FlowTransitionList.qml deleted file mode 100644 index e2aa4ae..0000000 --- a/examples/imports/FlowView/FlowTransitionList.qml +++ /dev/null @@ -1,101 +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 - -QtObject { - id: list - property Item intialItem - //has next prev and most likely currentIndex, count - property var items - - property Item nextItem - property Item prevItem - - property Item currentItem - - onCurrentItemChanged: { - - var currentIndex = list.__indexForCurrentItem() - - if (currentIndex < (list.items.length - 1)) - list.nextItem = list.items[currentIndex + 1] - if (currentIndex > 0) - list.prevItem = list.items[currentIndex - 1] - - } - - function __indexForCurrentItem() { - var currentIndex = -1 - for (var i = 0; i < list.items.length; ++i) { - var item = list.items[i] - if (item === list.currentItem) - currentIndex = i - } - return currentIndex - } - - property int length: items.length - - function next() { - var currentIndex = list.__indexForCurrentItem() - - list.nextItem = null - - if (currentIndex > -1 && (currentIndex < list.items.length - 1)) { - list.prevItem = list.items[currentIndex] - list.currentItem = list.items[currentIndex + 1] - if (currentIndex + 2 < list.items.length) - list.nextItem = list.items[currentIndex + 2] - } - } - - function prev() { - var currentIndex = list.__indexForCurrentItem() - - list.prevItem = null - - if (currentIndex > 0 && currentIndex < (list.items.length)) { - if (currentIndex - 2 >= 0) - list.prevItem = list.items[currentIndex - 2] - list.currentItem = list.items[currentIndex - 1] - - list.nextItem = list.items[currentIndex] - } - } - - Component.onCompleted: { - list.currentItem = list.intialItem - var currentIndex = list.__indexForCurrentItem() - if (currentIndex < (list.items.length - 1)) - list.nextItem = list.items[currentIndex + 1] - if (currentIndex > 0) - list.prevItem = list.items[currentIndex - 1] - } -} diff --git a/examples/imports/FlowView/FlowView.qml b/examples/imports/FlowView/FlowView.qml deleted file mode 100644 index 775a831..0000000 --- a/examples/imports/FlowView/FlowView.qml +++ /dev/null @@ -1,291 +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.10 - -Item { - id: root - width: 200 - height: 200 - - property FlowTransition defaultTransition - - property FlowTransition currentTransition - - property FlowTransition __forceTransition - - property list<FlowTransition> flowTransitions - property list<FlowDecision> flowDecisions - property list<FlowWildcard> flowWildcards - - property Item interaction: Item { - } - - enum EffectEnum { - Instant, - Dissolve, - Fade, - Pop - } - - property bool __blockHistory: false - - property bool __isFlowView: true - - function goBack() { - if (root.__history.length === 0) - return - - var poppedItem = root.__history.pop() - - root.__blockHistory = true - root.activatedItem = poppedItem - root.__activateItem() - root.__blockHistory = false - - - if (root.__history.length > 0) - root.lastItem = root.__history.slice(-1)[0] - else - root.lastItem = null - } - - function __activateItem() { - if (!__isCompleted) - return - - if (root.activatedItem === root.currentItem) - return; - - if (root.activatedItem === root.nextItem) - return; - - root.nextItem = root.activatedItem - - for (var i = 0; i < root.allChildren.length; ++i) { - if (root.allChildren[i] === root.activatedItem) - root.currentIndex = i - } - - } - - default property alias item: stack.data - - property Item nextItem - - property Item currentItem - property Item activatedItem - property Item lastItem - property int currentIndex: 0 - - //property list<Item> __history - property var __history: [] - - property int maxIndex: 0 - - signal transitionFinished - - property alias __stack: stack - - Item { - id: stack - visible: false - } - - property bool __isCompleted: false - - property real progress: 0 - - property bool __blockSchedule: false - - onActivatedItemChanged: { - root.__activateItem() - } - - function resetCurrentIndex() { - root.__blockSchedule = true - root.lastItem = root.currentItem - root.__history.push(root.lastItem) - - for (var i = 0; i < root.allChildren.length; ++i) { - if (root.allChildren[i] === root.currentItem) - root.currentIndex = i - } - root.__blockSchedule = false - } - - Component.onCompleted: { - root.maxIndex = stack.children.length - 1 - - root.allChildren = [] - - for (var i = 0; i < stack.children.length; ++i) { - root.allChildren.push(stack.children[i]) - } - - /* Assign view to all flowTransitions */ - if (defaultTransition) { - defaultTransition.transitionView = root - } - - for (i = 0; i < root.flowWildcards.length; ++i) { - var w = root.flowWildcards[i] - w.transitionView = root - } - - for (i = 0; i < root.flowTransitions.length; ++i) { - var t = root.flowTransitions[i] - t.transitionView = root - } - - for (i = 0; i < root.flowTransitions.length; ++i) { - var t = root.flowTransitions[i] - if (root.checkInclude(t.from, root)) - root.currentItem = t.to[0] - } - - root.resetCurrentIndex() - - __setupCurrentItem() - __isCompleted = true - } - - function checkInclude(list, item) - { - for (var i = 0; i < list.length; ++i) { - if (list[i] === item) - return true - } - return false - } - - function scheduleTransition() - { - root.progress = 0 - - var pageTransition = null - - /* find correct transition */ - for (var i = 0; i < root.flowTransitions.length; ++i) { - var t = root.flowTransitions[i] - if (checkInclude(t.from, root.currentItem) && checkInclude(t.to, root.nextItem)) { - pageTransition = t - } - } - - if (pageTransition !== null) { - - } else { - pageTransition = root.defaultTransition - } - - if (root.currentTransition) - root.currentTransition.__stop() - - /* If a specific transition is forced then use this one. */ - if (__forceTransition) - pageTransition = __forceTransition - __forceTransition = null - - root.currentTransition = pageTransition - if (root.currentTransition) - root.currentTransition.__reset(root.currentItem, root.nextItem) - - root.progress = Qt.binding(function () { - if (root.currentTransition) - return root.currentTransition.progress - return 0 - }) - } - - onCurrentIndexChanged: { - root.nextItem = root.allChildren[root.currentIndex] - - if (root.nextItem === root.currentItem) - return - - if (root.__blockSchedule) - return - - - scheduleTransition() - - if (!root.__blockHistory) { - root.lastItem = root.currentItem - if (!Array.isArray(root.__history)) - root.__history = [] - - root.__history.push(root.lastItem) - } - - root.currentTransition.__start() - } - - function __setupCurrentItem() { - if (root.currentItem) - root.currentItem.parent = stack - - if (root.nextItem) - root.currentItem = root.nextItem - else - root.currentItem = root.allChildren[root.currentIndex] - - - root.currentItem.parent = root - root.currentTransition = null - transitionFinished() - } - - function gotoPage(transition) { - var page = transition.to[0] - /* There might be another transition that fits. We are forcing this one. */ - __forceTransition = transition - for (var i = 0; i < root.allChildren.length; ++i) { - if (page === root.allChildren[i]) { - root.currentIndex = i - } - } - } - - property var allChildren - - property Item __fromContentItem: Item { - width: root.width - height: root.height - parent: root - } - - property Item __toContentItem: Item { - width: root.width - height: root.height - parent: root - } -} - - diff --git a/examples/imports/FlowView/FlowWildcard.qml b/examples/imports/FlowView/FlowWildcard.qml deleted file mode 100644 index c6300e4..0000000 --- a/examples/imports/FlowView/FlowWildcard.qml +++ /dev/null @@ -1,72 +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.10 -import EventSimulator 1.0 - -QtObject { - id: root - - property list<FlowItem> whitelist - property list<FlowItem> blacklist - - property FlowTransition target - - property var transitionView: Item {} - - function trigger() { - var cItem = root.transitionView.currentItem - - if (cItem === undefined) - return - - if (root.transitionView.checkInclude(root.blacklist, cItem)) - return; - - if (root.whitelist.length !== 0) { - if (!root.transitionView.checkInclude(root.whitelist, cItem)) - return; - } - - root.target.trigger() - } - - property EventListener eventListener: EventListener { - id: eventListener - onTriggered: root.trigger() - } - - property alias eventIds: eventListener.eventIds -} - -/*##^## -Designer { - D{i:0;formeditorZoom:0.8999999761581421} -} -##^##*/ diff --git a/examples/imports/FlowView/SwipeInteraction.qml b/examples/imports/FlowView/SwipeInteraction.qml deleted file mode 100644 index b642c29..0000000 --- a/examples/imports/FlowView/SwipeInteraction.qml +++ /dev/null @@ -1,123 +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 TransitionItem 1.0 -import QtQuick.Controls 2.3 -import QtQuick.Timeline 1.0 - -Item { - id: root - property var transitionView - property var list - parent: transitionView - anchors.fill: parent - z: -1 - - property real threshold: 35 - - property bool horizontal: true - - property Item __activeItem - - property bool __reactToTransition: false - - - Timer { - id: blocker - running: false - interval: 200 - repeat: false - onTriggered: handler.enabled = true - - } - - Connections { - target: transitionView - onTransitionFinished: { - if (!root.__reactToTransition) - return - /* This is a tricky one. We have to also update the list. - The connection could be also done the other way around */ - list.currentItem = root.__activeItem - root.__reactToTransition = false - } - } - - DragHandler { - id: handler - xAxis.enabled: root.horizontal - yAxis.enabled: !root.horizontal - target: null - enabled: true - - function distance() { - if (root.horizontal) - return (centroid.position.x - centroid.pressPosition.x) / transitionView.width - return -(centroid.position.y - centroid.pressPosition.y) / transitionView.height - } - - onActiveChanged: { - if (handler.active) { - if (distance() < 0) - transitionView.nextItem = list.nextItem - else - transitionView.nextItem = list.prevItem - - transitionView.scheduleTransition() - if (transitionView.currentTransition) - transitionView.currentTransition.effect.enable() - } else { - var p = Math.abs(distance()) * 100 - if (transitionView.currentTransition && transitionView.currentTransition.effect.progress > root.threshold) { - root.__activeItem = transitionView.nextItem - root.__reactToTransition = true - transitionView.currentTransition.__start() - } else { /* Drag was released, but threshold was not passed */ - if (transitionView.currentTransition) - transitionView.currentTransition.effect.abort() - } - /* Block for 100ms */ - handler.enabled = false - blocker.start() - } - } - - onCentroidChanged: { - if (!handler.enabled) - return - - var p = Math.abs(distance()) * 100 - - if (transitionView.currentTransition) - transitionView.currentTransition.effect.progress = p * 2 - } - } -} diff --git a/examples/imports/FlowView/designer/FlowActionAreaSpecifics.qml b/examples/imports/FlowView/designer/FlowActionAreaSpecifics.qml deleted file mode 100644 index 791d540..0000000 --- a/examples/imports/FlowView/designer/FlowActionAreaSpecifics.qml +++ /dev/null @@ -1,129 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Outline Color") - - ColorEditor { - backendValue: backendValues.color__AUX - supportGradient: false - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Fill Color") - - ColorEditor { - backendValue: backendValues.fillColor__AUX - supportGradient: false - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("FlowAction Parameters") - SectionLayout { - rows: 2 - columns: 2 - - Label { - text: qsTr("Go Back") - tooltip: qsTr("") - } - CheckBox { - Layout.fillWidth: true - text: backendValues.goBack - backendValue: backendValues.goBack - } - - Label { - text: qsTr("Event Ids") - tooltip: qsTr("") - } - LineEdit { - Layout.fillWidth: true - text: backendValues.goBack - backendValue: backendValues.eventIds - } - - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Transition Parameters") - - SectionLayout { - rows: 4 - columns: 2 - - Label { - text: qsTr("Line Width") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - SpinBox { - backendValue: backendValues.width__AUX - maximumValue: 22 - minimumValue: 1 - } - - Label { - text: qsTr("Dash Line") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - CheckBox { - Layout.fillWidth: true - text: backendValues.dash__AUX.value - backendValue: backendValues.dash__AUX - } - - Label { - text: qsTr("Enabled") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - CheckBox { - Layout.fillWidth: true - text: backendValues.enabled - backendValue: backendValues.enabled - } - - } - } -} diff --git a/examples/imports/FlowView/designer/FlowDecisionSpecifics.qml b/examples/imports/FlowView/designer/FlowDecisionSpecifics.qml deleted file mode 100644 index 0454475..0000000 --- a/examples/imports/FlowView/designer/FlowDecisionSpecifics.qml +++ /dev/null @@ -1,79 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Flow Decision") - - SectionLayout { - rows: 1 - columns: 2 - - Label { - text: qsTr("Dialog title") - tooltip: qsTr("Sets the title of the dialog.") - } - LineEdit { - backendValue: backendValues.dialogTitle - Layout.fillWidth: true - } - - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Outline Color") - - ColorEditor { - backendValue: backendValues.color__AUX - supportGradient: false - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Fill Color") - - ColorEditor { - backendValue: backendValues.fillColor__AUX - supportGradient: false - } - } -} diff --git a/examples/imports/FlowView/designer/FlowEffectSpecifics.qml b/examples/imports/FlowView/designer/FlowEffectSpecifics.qml deleted file mode 100644 index f7b688b..0000000 --- a/examples/imports/FlowView/designer/FlowEffectSpecifics.qml +++ /dev/null @@ -1,105 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 -import QtGraphicalEffects 1.1 -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("Transition Effect") - - SectionLayout { - rows: 2 - columns: 2 - - Label { - text: qsTr("duration") - tooltip: qsTr("Sets the duration of the effect") - } - SpinBox { - backendValue: backendValues.duration - maximumValue: 10000 - minimumValue: 0 - } - Label { - text: "Easing Curve" - } - Item { - height: StudioTheme.Values.squareComponentWidth - width: height * 2 - AbstractButton { - id: button - x: StudioTheme.Values.squareComponentWidth - onClicked: easingCurveEditor.runDialog() - //buttonIcon: ":/timelineplugin/images/curve_editor.png" - tooltip: qsTr("Anchor item to the top.") - - EasingCurveEditor { - id: easingCurveEditor - - modelNodeBackendProperty: modelNodeBackend - } - - Image { - id: mask - source: "qrc:///timelineplugin/images/curve_editor.png" - visible: false - anchors.centerIn: parent - } - - Rectangle { - id: rect - anchors.fill: mask - - visible: false - } - - - Blend { - id: blend - anchors.fill: mask - source: mask - foregroundSource: rect - mode: "negation" - opacity: button.hovered ? 1 : 0.9 - } - - } - } - } - } -} diff --git a/examples/imports/FlowView/designer/FlowItemSpecifics.qml b/examples/imports/FlowView/designer/FlowItemSpecifics.qml deleted file mode 100644 index fc40148..0000000 --- a/examples/imports/FlowView/designer/FlowItemSpecifics.qml +++ /dev/null @@ -1,59 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Flow Item") - - SectionLayout { - rows: 4 - columns: 2 - - Label { - text: qsTr("Join Connections") - tooltip: qsTr("Join connections") - } - CheckBox { - backendValue: backendValues.joinConnection__AUX - Layout.fillWidth: true - text: backendValues.enabled - } - } - - } -} diff --git a/examples/imports/FlowView/designer/FlowTransitionSpecifics.qml b/examples/imports/FlowView/designer/FlowTransitionSpecifics.qml deleted file mode 100644 index 06e683a..0000000 --- a/examples/imports/FlowView/designer/FlowTransitionSpecifics.qml +++ /dev/null @@ -1,137 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Transition Color") - - ColorEditor { - backendValue: backendValues.color__AUX - supportGradient: false - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Transition") - - SectionLayout { - Label { - text: qsTr("Condition") - tooltip: qsTr("Determines whether the transition is active or not.") - } - CheckBox { - Layout.fillWidth: true - text: qsTr("Transtion Active") - backendValue: backendValues.condition - } - - Label { - text: qsTr("Question") - tooltip: qsTr("The transition will pop up dialog with the question") - } - LineEdit { - backendValue: backendValues.question - Layout.fillWidth: true - } - } - } - - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Transition Parameters") - - SectionLayout { - rows: 4 - columns: 2 - - Label { - text: qsTr("Line Width") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - SpinBox { - backendValue: backendValues.width__AUX - maximumValue: 22 - minimumValue: 1 - } - - Label { - text: qsTr("In Offset") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - SpinBox { - backendValue: backendValues.inOffset__AUX - maximumValue: 128 - minimumValue: -128 - } - - Label { - text: qsTr("Out Offset") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - SpinBox { - backendValue: backendValues.outOffset__AUX - maximumValue: 128 - minimumValue: -128 - } - - Label { - text: qsTr("Break Offset") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - SpinBox { - backendValue: backendValues.breakPoint__AUX - maximumValue: 100 - minimumValue: 0 - } - - Label { - text: qsTr("Dash Line") - tooltip: qsTr("Sets the margin, in pixels, around the text in the TextEdit..") - } - CheckBox { - Layout.fillWidth: true - text: backendValues.dash__AUX.value - backendValue: backendValues.dash__AUX - } - - } - } -} diff --git a/examples/imports/FlowView/designer/FlowViewSpecifics.qml b/examples/imports/FlowView/designer/FlowViewSpecifics.qml deleted file mode 100644 index a0f342e..0000000 --- a/examples/imports/FlowView/designer/FlowViewSpecifics.qml +++ /dev/null @@ -1,104 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Flow View Parameters") - - SectionLayout { - rows: 1 - columns: 2 - - Label { - text: qsTr("Current Index") - tooltip: qsTr("Current Index of the FlowView") - } - SpinBox { - backendValue: backendValues.currentIndex__AUX - maximumValue: 22 - minimumValue: 1 - } - - } - } - - Section { - visible: !anchorBackend.hasParent - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Transition Color") - - ColorEditor { - backendValue: backendValues.transitionColor__AUX - supportGradient: false - } - } - Section { - visible: !anchorBackend.hasParent - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Area Outline Color") - - ColorEditor { - backendValue: backendValues.areaColor__AUX - supportGradient: false - } - } - Section { - visible: !anchorBackend.hasParent - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Area Fill Color") - - ColorEditor { - backendValue: backendValues.areaFillColor__AUX - supportGradient: false - } - } - Section { - visible: !anchorBackend.hasParent - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Block Item Color") - - ColorEditor { - backendValue: backendValues.blockColor__AUX - supportGradient: false - } - } -} diff --git a/examples/imports/FlowView/designer/FlowWildcardSpecifics.qml b/examples/imports/FlowView/designer/FlowWildcardSpecifics.qml deleted file mode 100644 index 5f39ad0..0000000 --- a/examples/imports/FlowView/designer/FlowWildcardSpecifics.qml +++ /dev/null @@ -1,112 +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.1 -import HelperWidgets 2.0 -import QtQuick.Layouts 1.0 - -Column { - anchors.left: parent.left - anchors.right: parent.right - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Flow Wildcard") - - SectionLayout { - rows: 3 - columns: 2 - - Label { - text: qsTr("Event Ids") - tooltip: qsTr("") - } - LineEdit { - Layout.fillWidth: true - text: backendValues.goBack - backendValue: backendValues.eventIds - } - - Label { - text: qsTr("Whitelist") - } - SecondColumnLayout { - EditableListView { - id: whitelistView - backendValue: backendValues.whitelist - model: whitelistView.backendValue.expressionAsList - Layout.fillWidth: true - //typeFilter: "FlowView.FlowItem" - - onAdd: function(value) { whitelistView.backendValue.idListAdd(value) } - onRemove: function(idx) { whitelistView.backendValue.idListRemove(idx) } - onReplace: function (idx, value) { whitelistView.backendValue.idListReplace(idx, value) } - } - } - Label { - text: qsTr("Blacklist") - } - SecondColumnLayout { - EditableListView { - id: blackListView - backendValue: backendValues.blacklist - model: blackListView.backendValue.expressionAsList - Layout.fillWidth: true - //typeFilter: "FlowView.FlowItem" - - onAdd: function(value) { blackListView.backendValue.idListAdd(value) } - onRemove: function(idx) { blackListView.backendValue.idListRemove(idx) } - onReplace: function (idx, value) { blackListView.backendValuet.idListReplace(idx, value) } - } - } - } - } - - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Outline Color") - - ColorEditor { - backendValue: backendValues.color__AUX - supportGradient: false - } - } - Section { - anchors.left: parent.left - anchors.right: parent.right - caption: qsTr("Fill Color") - - ColorEditor { - backendValue: backendValues.fillColor__AUX - supportGradient: false - } - } -} diff --git a/examples/imports/FlowView/qmldir b/examples/imports/FlowView/qmldir deleted file mode 100644 index 3762849..0000000 --- a/examples/imports/FlowView/qmldir +++ /dev/null @@ -1,18 +0,0 @@ -DefaultFlowEffect 1.0 DefaultFlowEffect.qml -SwipeInteraction 1.0 SwipeInteraction.qml -FlowEffect 1.0 FlowEffect.qml -FlowFadeEffect 1.0 FlowFadeEffect.qml -FlowPushLeftEffect 1.0 FlowPushLeftEffect.qml -FlowPushRightEffect 1.0 FlowPushRightEffect.qml -FlowSlideDownEffect 1.0 FlowSlideDownEffect.qml -FlowSlideLeftEffect 1.0 FlowSlideLeftEffect.qml -FlowSlideRightEffect 1.0 FlowSlideRightEffect.qml -FlowSlideUpEffect 1.0 FlowSlideUpEffect.qml -FlowTransition 1.0 FlowTransition.qml -FlowTransitionList 1.0 FlowTransitionList.qml -FlowView 1.0 FlowView.qml -FlowPushUpEffect 1.0 FlowPushUpEffect.qml -FlowItem 1.0 FlowItem.qml -FlowDecision 1.0 FlowDecision.qml -FlowWildcard 1.0 FlowWildcard.qml -FlowActionArea 1.0 FlowActionArea.qml |