FileInstancingSection.qml 655 B

123456789101112131415161718192021222324252627
  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. Section {
  7. caption: qsTr("File Instancing")
  8. width: parent.width
  9. SectionLayout {
  10. PropertyLabel {
  11. text: qsTr("Source")
  12. tooltip: qsTr("Sets the location of an XML or binary file containing the instance data.")
  13. }
  14. SecondColumnLayout {
  15. UrlChooser {
  16. backendValue: backendValues.source
  17. filter: "*.xml *.bin"
  18. }
  19. ExpandingSpacer {}
  20. }
  21. }
  22. }