2023-08-24 15:50:37 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
import FluentUI
|
2024-01-25 17:26:50 +08:00
|
|
|
|
import "../component"
|
2023-08-24 15:50:37 +08:00
|
|
|
|
|
2023-10-08 18:19:08 +08:00
|
|
|
|
FluWindow {
|
2023-08-24 15:50:37 +08:00
|
|
|
|
|
|
|
|
|
id:window
|
|
|
|
|
title:"关于"
|
|
|
|
|
width: 600
|
2023-12-29 23:09:46 +08:00
|
|
|
|
height: 580
|
2023-08-24 15:50:37 +08:00
|
|
|
|
fixSize: true
|
|
|
|
|
launchMode: FluWindowType.SingleTask
|
|
|
|
|
|
|
|
|
|
ColumnLayout{
|
|
|
|
|
anchors{
|
|
|
|
|
top: parent.top
|
|
|
|
|
left: parent.left
|
|
|
|
|
right: parent.right
|
|
|
|
|
}
|
2024-03-11 22:24:47 +08:00
|
|
|
|
spacing: 5
|
2023-08-24 15:50:37 +08:00
|
|
|
|
|
|
|
|
|
RowLayout{
|
2024-03-11 22:24:47 +08:00
|
|
|
|
Layout.topMargin: 15
|
2023-08-24 15:50:37 +08:00
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
spacing: 14
|
|
|
|
|
FluText{
|
|
|
|
|
text:"FluentUI"
|
|
|
|
|
font: FluTextStyle.Title
|
|
|
|
|
MouseArea{
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
onClicked: {
|
|
|
|
|
FluApp.navigate("/")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
2023-09-17 20:36:33 +08:00
|
|
|
|
text:"v%1".arg(AppInfo.version)
|
2023-08-24 15:50:37 +08:00
|
|
|
|
font: FluTextStyle.Body
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"作者:"
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
|
|
|
|
text:"朱子楚"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-11 22:24:47 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"微信号:"
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
|
|
|
|
text:"FluentUI"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
|
|
|
|
text:"(有啥问题可能不会马上回,但发了红包必须立马回......)"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-24 15:50:37 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"GitHub:"
|
|
|
|
|
}
|
|
|
|
|
FluTextButton{
|
|
|
|
|
id:text_hublink
|
|
|
|
|
topPadding:0
|
|
|
|
|
bottomPadding:0
|
|
|
|
|
text:"https://github.com/zhuzichu520/FluentUI"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
onClicked: {
|
|
|
|
|
Qt.openUrlExternally(text_hublink.text)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"B站:"
|
|
|
|
|
}
|
|
|
|
|
FluTextButton{
|
|
|
|
|
topPadding:0
|
|
|
|
|
bottomPadding:0
|
|
|
|
|
text:"https://www.bilibili.com/video/BV1mg4y1M71w/"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
onClicked: {
|
|
|
|
|
Qt.openUrlExternally(text)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
id:text_info
|
|
|
|
|
text:"如果该项目对你有作用,就请点击上方链接给一个免费的star,或者一键三连,谢谢!"
|
|
|
|
|
ColorAnimation {
|
|
|
|
|
id: animation
|
|
|
|
|
target: text_info
|
|
|
|
|
property: "color"
|
|
|
|
|
from: "red"
|
|
|
|
|
to: "blue"
|
|
|
|
|
duration: 1000
|
|
|
|
|
running: true
|
|
|
|
|
loops: Animation.Infinite
|
|
|
|
|
easing.type: Easing.InOutQuad
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"捐赠:"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Item{
|
|
|
|
|
Layout.preferredWidth: parent.width
|
|
|
|
|
Layout.preferredHeight: 252
|
|
|
|
|
Row{
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
|
spacing: 30
|
|
|
|
|
Image{
|
|
|
|
|
width: 250
|
|
|
|
|
height: 250
|
|
|
|
|
source: "qrc:/example/res/image/qrcode_wx.jpg"
|
|
|
|
|
}
|
|
|
|
|
Image{
|
|
|
|
|
width: 250
|
|
|
|
|
height: 250
|
|
|
|
|
source: "qrc:/example/res/image/qrcode_zfb.jpg"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
FluText{
|
|
|
|
|
id:text_desc
|
|
|
|
|
text:"个人开发,维护不易,你们的捐赠就是我继续更新的动力!\n有什么问题提Issues,只要时间充足我就会解决的!!"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|