2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
2023-01-04 08:52:22 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2020-02-13 16:11:36 +01:00
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
import QtQuick 2.15
|
2020-02-13 16:11:36 +01:00
|
|
|
import HelperWidgets 2.0
|
2021-06-21 16:48:19 +02:00
|
|
|
import QtQuick.Layouts 1.15
|
|
|
|
|
import StudioControls 1.0 as StudioControls
|
|
|
|
|
import StudioTheme 1.0 as StudioTheme
|
|
|
|
|
|
2020-02-13 16:11:36 +01:00
|
|
|
Section {
|
|
|
|
|
id: section
|
|
|
|
|
caption: qsTr("Animation Targets")
|
2021-06-21 16:48:19 +02:00
|
|
|
|
2020-02-13 16:11:36 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
|
anchors.right: parent.right
|
|
|
|
|
|
|
|
|
|
SectionLayout {
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2020-02-13 16:11:36 +01:00
|
|
|
text: qsTr("Target")
|
2020-07-01 16:33:23 +02:00
|
|
|
tooltip: qsTr("Target to animate the properties of.")
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
2020-02-13 16:11:36 +01:00
|
|
|
SecondColumnLayout {
|
|
|
|
|
ItemFilterComboBox {
|
|
|
|
|
typeFilter: "QtQuick.QtObject"
|
|
|
|
|
backendValue: backendValues.target
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.singleControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
ExpandingSpacer {}
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2020-02-13 16:11:36 +01:00
|
|
|
text: qsTr("Property")
|
2020-07-01 16:33:23 +02:00
|
|
|
tooltip: qsTr("Property to animate.")
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
LineEdit {
|
|
|
|
|
backendValue: backendValues.property
|
|
|
|
|
showTranslateCheckBox: false
|
|
|
|
|
implicitWidth: StudioTheme.Values.singleControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
PropertyLabel {
|
2020-02-13 16:11:36 +01:00
|
|
|
text: qsTr("Properties")
|
2020-07-01 16:33:23 +02:00
|
|
|
tooltip: qsTr("Properties to animate.")
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
SecondColumnLayout {
|
|
|
|
|
LineEdit {
|
|
|
|
|
backendValue: backendValues.properties
|
|
|
|
|
showTranslateCheckBox: false
|
|
|
|
|
implicitWidth: StudioTheme.Values.singleControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
|
|
|
|
}
|
2020-02-13 16:11:36 +01:00
|
|
|
}
|
|
|
|
|
}
|