This commit is contained in:
zhuzihcu
2023-03-29 15:43:23 +08:00
parent b70a982586
commit 98f4d970c6
13 changed files with 81 additions and 12 deletions

View File

@ -8,7 +8,7 @@ import FluentUI 1.0
FluWindow {
id:rootwindow
width: 860
width: 1000
height: 640
title: "FluentUI"
minimumWidth: 520
@ -17,11 +17,20 @@ FluWindow {
FluAppBar{
id:appbar
z:10
showDark: true
}
FluObject{
id:original_items
FluPaneItem{
title:"Home"
icon:FluentIcons.Home
onTap:{
nav_view.push("qrc:/T_Home.qml")
}
}
FluPaneItemHeader{
title:"Inputs"
}
@ -245,11 +254,9 @@ FluWindow {
logo: "qrc:/res/image/favicon.ico"
z: 11
Component.onCompleted: {
nav_view.setCurrentIndex(1)
nav_view.push("qrc:/T_Buttons.qml")
nav_view.setCurrentIndex(0)
nav_view.push("qrc:/T_Home.qml")
}
}

View File

@ -47,5 +47,8 @@
<file>T_MediaPlayer.qml</file>
<file>T_TabView.qml</file>
<file>res/image/favicon.ico</file>
<file>T_Home.qml</file>
<file>res/image/bg_home_header.png</file>
<file>res/image/ic_home_github.png</file>
</qresource>
</RCC>