SelectionRectangle.qml 963 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright (C) 2021 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 QtQuick.Templates as T
  6. import QtQuick.Shapes
  7. T.SelectionRectangle {
  8. id: control
  9. readonly property bool __notCustomizable: true
  10. topLeftHandle: Item {
  11. width: 20
  12. height: 20
  13. visible: SelectionRectangle.control.active
  14. // This item is deliberately empty. Selection handles don't feel at home
  15. // for this style. But we provide an invisible handle that the user can
  16. // drag on.
  17. }
  18. bottomRightHandle: Item {
  19. width: 20
  20. height: 20
  21. visible: SelectionRectangle.control.active
  22. // This item is deliberately empty. Selection handles don't feel at home
  23. // for this style. But we provide an invisible handle that the user can
  24. // drag on.
  25. }
  26. }