LookAtNodeSection.qml 930 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (C) 2022 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
  3. import QtQuick 2.15
  4. import QtQuick.Layouts 1.15
  5. import HelperWidgets 2.0
  6. import StudioTheme 1.0 as StudioTheme
  7. Column {
  8. width: parent.width
  9. Section {
  10. width: parent.width
  11. caption: qsTr("Look-at Node")
  12. SectionLayout {
  13. PropertyLabel {
  14. text: qsTr("Target Node")
  15. tooltip: qsTr("Sets the target node to look at.")
  16. }
  17. SecondColumnLayout {
  18. ItemFilterComboBox {
  19. typeFilter: "QtQuick3D.Node"
  20. backendValue: backendValues.target
  21. implicitWidth: StudioTheme.Values.singleControlColumnWidth
  22. + StudioTheme.Values.actionIndicatorWidth
  23. }
  24. ExpandingSpacer {}
  25. }
  26. }
  27. }
  28. }