2023-02-28 18:29:00 +08:00
|
|
|
|
import QtQuick 2.15
|
2023-03-03 18:19:48 +08:00
|
|
|
|
import QtQuick.Layouts 1.15
|
2023-02-28 18:29:00 +08:00
|
|
|
|
import FluentUI 1.0
|
|
|
|
|
|
|
|
|
|
FluWindow {
|
|
|
|
|
|
|
|
|
|
width: 500
|
2023-03-02 23:58:50 +08:00
|
|
|
|
height: 600
|
2023-03-09 11:50:40 +08:00
|
|
|
|
minimumWidth: 500
|
|
|
|
|
minimumHeight: 600
|
|
|
|
|
maximumWidth: 500
|
|
|
|
|
maximumHeight: 600
|
|
|
|
|
|
2023-02-28 18:29:00 +08:00
|
|
|
|
title:"关于"
|
|
|
|
|
|
|
|
|
|
FluAppBar{
|
|
|
|
|
id:appbar
|
2023-03-02 23:58:50 +08:00
|
|
|
|
title:"关于"
|
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"
|
|
|
|
|
fontStyle: FluText.Title
|
|
|
|
|
}
|
|
|
|
|
FluText{
|
2023-03-21 18:19:46 +08:00
|
|
|
|
text:"v1.1.2"
|
2023-03-03 18:19:48 +08:00
|
|
|
|
fontStyle: FluText.Body
|
|
|
|
|
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.topMargin: 20
|
|
|
|
|
Layout.leftMargin: 15
|
|
|
|
|
FluText{
|
|
|
|
|
text:"GitHub:"
|
|
|
|
|
}
|
|
|
|
|
FluTextButton{
|
|
|
|
|
id:text_hublink
|
|
|
|
|
text:"https://github.com/zhuzichu520/FluentUI"
|
|
|
|
|
Layout.alignment: Qt.AlignBottom
|
|
|
|
|
onClicked: {
|
|
|
|
|
Qt.openUrlExternally(text_hublink.text)
|
|
|
|
|
}
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-12 22:43:13 +08:00
|
|
|
|
RowLayout{
|
|
|
|
|
spacing: 14
|
|
|
|
|
Layout.topMargin: 20
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-03-03 18:19:48 +08:00
|
|
|
|
|
|
|
|
|
|
2023-02-28 18:29:00 +08:00
|
|
|
|
}
|