mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 19:58:13 +08:00
9a9fc9c105
杀光侧栏 只留战报一个 Qml标记,以及一个割圆demo 自由选将增加搜索功能 room:setBanner,相当于公共标记了,客户端可以Fk:currentRoom():getBanner拿(当然服务端也可) 改掉两个很蠢的命名
40 lines
697 B
QML
40 lines
697 B
QML
import QtQuick
|
|
import Qt5Compat.GraphicalEffects
|
|
|
|
Item {
|
|
property alias text: pileName.text
|
|
GlowText {
|
|
id: pileName
|
|
horizontalAlignment: Text.AlignHCenter
|
|
width: parent.width
|
|
font.family: fontLibian.name
|
|
color: "#E4D5A0"
|
|
font.pixelSize: 30
|
|
font.weight: Font.Medium
|
|
glow.color: "black"
|
|
glow.spread: 0.3
|
|
glow.radius: 5
|
|
}
|
|
|
|
LinearGradient {
|
|
anchors.fill: pileName
|
|
source: pileName
|
|
gradient: Gradient {
|
|
GradientStop {
|
|
position: 0
|
|
color: "#FEF7C2"
|
|
}
|
|
|
|
GradientStop {
|
|
position: 0.5
|
|
color: "#D2AD4A"
|
|
}
|
|
|
|
GradientStop {
|
|
position: 1
|
|
color: "#BE9878"
|
|
}
|
|
}
|
|
}
|
|
}
|