mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
36 lines
847 B
QML
36 lines
847 B
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")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|