2022-06-22 11:37:38 +00:00
|
|
|
// Copyright (C) 2020 The Qt Company Ltd.
|
2024-02-27 07:45:43 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
2020-12-18 07:21:53 +00:00
|
|
|
|
|
|
|
import QtQuick
|
|
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
color: "black"
|
|
|
|
|
|
|
|
RectangularGlow {
|
|
|
|
id: effect
|
|
|
|
anchors.fill: rect
|
|
|
|
glowRadius: 10
|
|
|
|
spread: 0.2
|
|
|
|
color: "white"
|
|
|
|
cornerRadius: rect.radius + glowRadius
|
|
|
|
}
|
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
id: rect
|
|
|
|
color: "black"
|
|
|
|
anchors.centerIn: parent
|
|
|
|
width: Math.round(parent.width / 1.5)
|
|
|
|
height: Math.round(parent.height / 2)
|
|
|
|
radius: 25
|
|
|
|
}
|
|
|
|
}
|