ItemDelegateSection.qml 705 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2017 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. // Qt-Security score:significant reason:default
  4. import QtQuick
  5. import HelperWidgets
  6. import QtQuick.Layouts
  7. Section {
  8. id: section
  9. caption: qsTr("ItemDelegate")
  10. SectionLayout {
  11. Label {
  12. text: qsTr("Highlighted")
  13. tooltip: qsTr("Whether the delegate is highlighted.")
  14. }
  15. SecondColumnLayout {
  16. CheckBox {
  17. text: backendValues.highlighted.valueToString
  18. backendValue: backendValues.highlighted
  19. Layout.fillWidth: true
  20. }
  21. }
  22. }
  23. }