mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
51 lines
1.2 KiB
QML
51 lines
1.2 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Window 2.15
|
|
import FluentUI 1.0
|
|
|
|
FluWindow {
|
|
width: 640
|
|
height: 480
|
|
minimumWidth: 320
|
|
minimumHeight: 240
|
|
title: qsTr("%1")
|
|
|
|
Column{
|
|
anchors.centerIn: parent
|
|
spacing: 15
|
|
Image{
|
|
width: 60
|
|
height: 60
|
|
source: "qrc:/logo.ico"
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
}
|
|
FluText{
|
|
text: qsTr("Welcome to FluentUI")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
font: FluTextStyle.Title
|
|
}
|
|
FluFilledButton{
|
|
text: qsTr("Learn FluentUI")
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
onClicked: {
|
|
Qt.openUrlExternally("https://space.bilibili.com/275661059")
|
|
}
|
|
}
|
|
}
|
|
|
|
Row{
|
|
anchors{
|
|
bottom: parent.bottom
|
|
bottomMargin: 14
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
FluText{
|
|
text: qsTr("Author's WeChat ID: ")
|
|
}
|
|
FluText{
|
|
text: "FluentUI"
|
|
color: FluTheme.fontSecondaryColor
|
|
}
|
|
}
|
|
|
|
}
|