Files
z-bar-qt/Modules/Bar/Border.qml
T
Zacharias-Brohn 6a4479b8a3 new font???
2025-11-25 13:01:27 +01:00

45 lines
832 B
QML

pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Effects
import qs.Modules
import qs.Config
import qs.Components
Item {
id: root
required property Item bar
anchors.fill: parent
CustomRect {
anchors.fill: parent
color: DynamicColors.palette.m3surface
layer.enabled: true
layer.effect: MultiEffect {
maskSource: mask
maskEnabled: true
maskInverted: true
maskThresholdMin: 0.5
maskSpreadAtMin: 1
}
}
Item {
id: mask
anchors.fill: parent
layer.enabled: true
visible: false
Rectangle {
anchors.fill: parent
anchors.topMargin: root.bar.implicitHeight
topLeftRadius: 8
topRightRadius: 8
}
}
}