yxdy ff15075c79
Some checks are pending
Gallery App Build / macOS (push) Waiting to run
Gallery App Build / Windows (push) Waiting to run
Gallery App Build / Ubuntu (push) Waiting to run
修改样式
2025-03-07 16:23:09 +08:00

148 lines
4.3 KiB
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI.Controls
import FluentUI.impl
Rectangle{
width: 26
height: 26
color: "transparent"
anchors.verticalCenter: parent.verticalCenter
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 0
anchors.topMargin: 0
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 0
anchors.topMargin: 10
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 0
anchors.topMargin: 20
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 10
anchors.topMargin: 0
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 10
anchors.topMargin: 10
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 10
anchors.topMargin: 20
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 20
anchors.topMargin: 0
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 20
anchors.topMargin: 10
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
Rectangle{
anchors.left: parent.left
anchors.top: parent.top
anchors.leftMargin: 20
anchors.topMargin: 20
width: 5
height: 5
color: Qt.rgba(216/255,216/255,216/255, 0.2)
MouseArea{
anchors.fill: parent
hoverEnabled: true
onEntered: parent.color = "#ffffff"
onExited: parent.color = Qt.rgba(216/255,216/255,216/255, 0.2)
}
}
}