2023-03-30 21:52:55 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
import FluentUI
|
2023-02-28 18:29:00 +08:00
|
|
|
|
|
|
|
|
|
FluWindow {
|
|
|
|
|
|
2023-04-11 23:12:31 +08:00
|
|
|
|
id:window
|
2023-04-22 18:08:11 +08:00
|
|
|
|
title:"关于"
|
2023-04-19 10:14:35 +08:00
|
|
|
|
width: 600
|
2023-03-02 23:58:50 +08:00
|
|
|
|
height: 600
|
2023-04-19 10:14:35 +08:00
|
|
|
|
minimumWidth: 600
|
2023-03-09 11:50:40 +08:00
|
|
|
|
minimumHeight: 600
|
2023-04-19 10:14:35 +08:00
|
|
|
|
maximumWidth: 600
|
2023-03-09 11:50:40 +08:00
|
|
|
|
maximumHeight: 600
|
2023-04-13 17:41:34 +08:00
|
|
|
|
launchMode: FluWindow.SingleTask
|
2023-03-09 11:50:40 +08:00
|
|
|
|
|
2023-02-28 18:29:00 +08:00
|
|
|
|
FluAppBar{
|
|
|
|
|
id:appbar
|
2023-03-02 23:58:50 +08:00
|
|
|
|
title:"关于"
|
2023-03-30 21:52:55 +08:00
|
|
|
|
width:parent.width
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-03 18:19:48 +08:00
|
|
|
|
ColumnLayout{
|
|
|
|
|
anchors{
|
|
|
|
|
top: appbar.bottom
|
|
|
|
|
left: parent.left
|
|
|
|
|
right: parent.right
|
|
|
|
|
}
|
2023-02-28 18:29:00 +08:00
|
|
|
|
|
2023-03-03 18:19:48 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
spacing: 14
|
|
|
|
|
FluText{
|
|
|
|
|
text:"FluentUI"
|
2023-05-10 00:27:53 +08:00
|
|
|
|
font: FluTextStyle.Title
|
2023-05-10 10:32:37 +08:00
|
|
|
|
MouseArea{
|
|
|
|
|
anchors.fill: parent
|
|
|
|
|
onClicked: {
|
|
|
|
|
FluApp.navigate("/")
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-03-03 18:19:48 +08:00
|
|
|
|
}
|
|
|
|
|
FluText{
|
2023-04-11 23:12:31 +08:00
|
|
|
|
text:"v%1".arg(appInfo.version)
|
2023-05-10 00:27:53 +08:00
|
|
|
|
font: FluTextStyle.Body
|
2023-03-03 18:19:48 +08:00
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-02-28 18:29:00 +08:00
|
|
|
|
|
2023-03-03 18:19:48 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"作者:"
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
|
|
|
|
text:"朱子楚"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"GitHub:"
|
|
|
|
|
}
|
|
|
|
|
FluTextButton{
|
|
|
|
|
id:text_hublink
|
2023-04-19 16:58:54 +08:00
|
|
|
|
topPadding:0
|
|
|
|
|
bottomPadding:0
|
2023-03-03 18:19:48 +08:00
|
|
|
|
text:"https://github.com/zhuzichu520/FluentUI"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
onClicked: {
|
2023-04-11 23:39:20 +08:00
|
|
|
|
Qt.openUrlExternally(text_hublink.text)
|
2023-03-03 18:19:48 +08:00
|
|
|
|
}
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2023-04-19 10:14:35 +08:00
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"B站:"
|
|
|
|
|
}
|
|
|
|
|
FluTextButton{
|
2023-04-19 16:58:54 +08:00
|
|
|
|
topPadding:0
|
|
|
|
|
bottomPadding:0
|
2023-04-19 10:14:35 +08:00
|
|
|
|
text:"https://www.bilibili.com/video/BV1mg4y1M71w/"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
onClicked: {
|
|
|
|
|
Qt.openUrlExternally(text)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-12 22:43:13 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
id:text_info
|
2023-04-19 10:14:35 +08:00
|
|
|
|
text:"如果该项目对你有作用,就请点击上方链接给一个免费的star,或者一键三连,谢谢!"
|
2023-03-12 22:43:13 +08:00
|
|
|
|
ColorAnimation {
|
2023-03-22 11:54:19 +08:00
|
|
|
|
id: animation
|
|
|
|
|
target: text_info
|
|
|
|
|
property: "color"
|
|
|
|
|
from: "red"
|
|
|
|
|
to: "blue"
|
|
|
|
|
duration: 1000
|
|
|
|
|
running: true
|
|
|
|
|
loops: Animation.Infinite
|
|
|
|
|
easing.type: Easing.InOutQuad
|
|
|
|
|
}
|
2023-03-12 22:43:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2023-04-19 10:14:35 +08:00
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"捐赠:"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Item{
|
|
|
|
|
Layout.preferredWidth: parent.width
|
|
|
|
|
Layout.preferredHeight: 252
|
|
|
|
|
Row{
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2023-05-09 17:17:57 +08:00
|
|
|
|
spacing: 30
|
2023-04-19 10:14:35 +08:00
|
|
|
|
Image{
|
2023-05-09 17:17:57 +08:00
|
|
|
|
width: 250
|
|
|
|
|
height: 250
|
2023-04-27 09:38:57 +08:00
|
|
|
|
source: "qrc:/example/res/image/qrcode_wx.jpg"
|
2023-04-19 10:14:35 +08:00
|
|
|
|
}
|
|
|
|
|
Image{
|
2023-05-09 17:17:57 +08:00
|
|
|
|
width: 250
|
|
|
|
|
height: 250
|
2023-04-27 09:38:57 +08:00
|
|
|
|
source: "qrc:/example/res/image/qrcode_zfb.jpg"
|
2023-04-19 10:14:35 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
id:text_desc
|
|
|
|
|
text:"个人开发,维护不易,你们的捐赠就是我继续更新的动力!\n有什么问题提Issues,只要时间充足我就会解决的!!"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
}
|