This commit is contained in:
zhuzichu 2023-04-22 18:08:11 +08:00
parent a4398d1a2f
commit 9e0050be63
8 changed files with 9 additions and 19 deletions

View File

@ -6,7 +6,7 @@ import FluentUI
FluWindow { FluWindow {
id:window id:window
title:"关于"
width: 600 width: 600
height: 600 height: 600
minimumWidth: 600 minimumWidth: 600
@ -15,8 +15,6 @@ FluWindow {
maximumHeight: 600 maximumHeight: 600
launchMode: FluWindow.SingleTask launchMode: FluWindow.SingleTask
title:"关于"
FluAppBar{ FluAppBar{
id:appbar id:appbar
title:"关于" title:"关于"

View File

@ -7,13 +7,12 @@ import QtQuick.Dialogs
FluWindow { FluWindow {
title:"ChatGPT"
width: 680 width: 680
height: 600 height: 600
minimumWidth: 500 minimumWidth: 500
minimumHeight: 600 minimumHeight: 600
title:"ChatGPT"
onInitArgument: onInitArgument:
(argument)=>{ (argument)=>{
scrollview.focus = true scrollview.focus = true

View File

@ -6,13 +6,13 @@ import FluentUI
FluWindow { FluWindow {
id:window id:window
title:"登录"
width: 400 width: 400
height: 400 height: 400
minimumWidth: 400 minimumWidth: 400
minimumHeight: 400 minimumHeight: 400
maximumWidth: 400 maximumWidth: 400
maximumHeight: 400 maximumHeight: 400
title:"登录"
onInitArgument: onInitArgument:
(argument)=>{ (argument)=>{

View File

@ -7,10 +7,11 @@ import FluentUI
import "qrc:///qml/global/" import "qrc:///qml/global/"
FluWindow { FluWindow {
id:window id:window
title: "FluentUI"
width: 1000 width: 1000
height: 640 height: 640
title: "FluentUI"
closeDestory:false closeDestory:false
minimumWidth: 520 minimumWidth: 520
minimumHeight: 460 minimumHeight: 460

View File

@ -5,13 +5,12 @@ import FluentUI
FluWindow { FluWindow {
title:"视频播放器"
width: 640 width: 640
height: 480 height: 480
minimumWidth: 640 minimumWidth: 640
minimumHeight: 480 minimumHeight: 480
title:"视频播放器"
onInitArgument: onInitArgument:
(argument)=>{ (argument)=>{
player.source = argument.source player.source = argument.source
@ -23,7 +22,6 @@ FluWindow {
width:parent.width width:parent.width
} }
FluMediaPlayer{ FluMediaPlayer{
id:player id:player
anchors{ anchors{

View File

@ -6,7 +6,7 @@ import FluentUI
FluWindow { FluWindow {
id:window id:window
title:"SingleInstance"
width: 500 width: 500
height: 600 height: 600
minimumWidth: 500 minimumWidth: 500
@ -15,8 +15,6 @@ FluWindow {
maximumHeight: 600 maximumHeight: 600
launchMode: FluWindow.SingleInstance launchMode: FluWindow.SingleInstance
title:"SingleInstance"
FluAppBar{ FluAppBar{
id:appbar id:appbar
title:"SingleInstance" title:"SingleInstance"

View File

@ -6,7 +6,7 @@ import FluentUI
FluWindow { FluWindow {
id:window id:window
title:"SingleTask"
width: 500 width: 500
height: 600 height: 600
minimumWidth: 500 minimumWidth: 500
@ -15,8 +15,6 @@ FluWindow {
maximumHeight: 600 maximumHeight: 600
launchMode: FluWindow.SingleTask launchMode: FluWindow.SingleTask
title:"SingleTask"
FluAppBar{ FluAppBar{
id:appbar id:appbar
title:"SingleTask" title:"SingleTask"

View File

@ -6,7 +6,7 @@ import FluentUI
FluWindow { FluWindow {
id:window id:window
title:"Standard"
width: 500 width: 500
height: 600 height: 600
minimumWidth: 500 minimumWidth: 500
@ -15,8 +15,6 @@ FluWindow {
maximumHeight: 600 maximumHeight: 600
launchMode: FluWindow.Standard launchMode: FluWindow.Standard
title:"Standard"
FluAppBar{ FluAppBar{
id:appbar id:appbar
title:"Standard" title:"Standard"