Files
LAIC/venv/Lib/site-packages/PySide6/qml/QtQuick/Controls/Material/SelectionRectangle.qml
T
2026-04-29 07:19:21 +03:00

35 lines
896 B
QML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
import QtQuick.Controls.impl
import QtQuick.Controls.Material
import QtQuick.Controls.Material.impl
T.SelectionRectangle {
id: control
topLeftHandle: handle
bottomRightHandle: handle
Component {
id: handle
SliderHandle {
palette: SelectionRectangle.control.palette
handlePressed: tapHandler.pressed || SelectionRectangle.dragging
handleHovered: hoverHandler.hovered
visible: SelectionRectangle.control.active
HoverHandler {
id: hoverHandler
}
TapHandler {
id: tapHandler
}
}
}
}