ModelParticle3DSection.qml 865 B

123456789101112131415161718192021222324252627282930
  1. // Copyright (C) 2021 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. Section {
  8. caption: qsTr("Model Particle")
  9. width: parent.width
  10. SectionLayout {
  11. PropertyLabel {
  12. text: qsTr("Delegate")
  13. tooltip: qsTr("The delegate provides a template defining each object instantiated by the particle.")
  14. }
  15. SecondColumnLayout {
  16. ItemFilterComboBox {
  17. typeFilter: "Component"
  18. backendValue: backendValues.delegate
  19. implicitWidth: StudioTheme.Values.singleControlColumnWidth
  20. + StudioTheme.Values.actionIndicatorWidth
  21. }
  22. ExpandingSpacer {}
  23. }
  24. }
  25. }