From 9e0050be6348e46b0e4a7bc73affc06a477a4d91 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Sat, 22 Apr 2023 18:08:11 +0800 Subject: [PATCH] update --- example/qml/window/AboutWindow.qml | 4 +--- example/qml/window/ChatWindow.qml | 3 +-- example/qml/window/LoginWindow.qml | 2 +- example/qml/window/MainWindow.qml | 3 ++- example/qml/window/MediaWindow.qml | 4 +--- example/qml/window/SingleInstanceWindow.qml | 4 +--- example/qml/window/SingleTaskWindow.qml | 4 +--- example/qml/window/StandardWindow.qml | 4 +--- 8 files changed, 9 insertions(+), 19 deletions(-) diff --git a/example/qml/window/AboutWindow.qml b/example/qml/window/AboutWindow.qml index c19e106..f326978 100644 --- a/example/qml/window/AboutWindow.qml +++ b/example/qml/window/AboutWindow.qml @@ -6,7 +6,7 @@ import FluentUI FluWindow { id:window - + title:"关于" width: 600 height: 600 minimumWidth: 600 @@ -15,8 +15,6 @@ FluWindow { maximumHeight: 600 launchMode: FluWindow.SingleTask - title:"关于" - FluAppBar{ id:appbar title:"关于" diff --git a/example/qml/window/ChatWindow.qml b/example/qml/window/ChatWindow.qml index 0bcbf02..9424c33 100644 --- a/example/qml/window/ChatWindow.qml +++ b/example/qml/window/ChatWindow.qml @@ -7,13 +7,12 @@ import QtQuick.Dialogs FluWindow { + title:"ChatGPT" width: 680 height: 600 minimumWidth: 500 minimumHeight: 600 - title:"ChatGPT" - onInitArgument: (argument)=>{ scrollview.focus = true diff --git a/example/qml/window/LoginWindow.qml b/example/qml/window/LoginWindow.qml index 951120e..84d8274 100644 --- a/example/qml/window/LoginWindow.qml +++ b/example/qml/window/LoginWindow.qml @@ -6,13 +6,13 @@ import FluentUI FluWindow { id:window + title:"登录" width: 400 height: 400 minimumWidth: 400 minimumHeight: 400 maximumWidth: 400 maximumHeight: 400 - title:"登录" onInitArgument: (argument)=>{ diff --git a/example/qml/window/MainWindow.qml b/example/qml/window/MainWindow.qml index f2e28c0..1ed287c 100644 --- a/example/qml/window/MainWindow.qml +++ b/example/qml/window/MainWindow.qml @@ -7,10 +7,11 @@ import FluentUI import "qrc:///qml/global/" FluWindow { + id:window + title: "FluentUI" width: 1000 height: 640 - title: "FluentUI" closeDestory:false minimumWidth: 520 minimumHeight: 460 diff --git a/example/qml/window/MediaWindow.qml b/example/qml/window/MediaWindow.qml index cd14b88..3f57288 100644 --- a/example/qml/window/MediaWindow.qml +++ b/example/qml/window/MediaWindow.qml @@ -5,13 +5,12 @@ import FluentUI FluWindow { + title:"视频播放器" width: 640 height: 480 minimumWidth: 640 minimumHeight: 480 - title:"视频播放器" - onInitArgument: (argument)=>{ player.source = argument.source @@ -23,7 +22,6 @@ FluWindow { width:parent.width } - FluMediaPlayer{ id:player anchors{ diff --git a/example/qml/window/SingleInstanceWindow.qml b/example/qml/window/SingleInstanceWindow.qml index 1ea9f4d..caae291 100644 --- a/example/qml/window/SingleInstanceWindow.qml +++ b/example/qml/window/SingleInstanceWindow.qml @@ -6,7 +6,7 @@ import FluentUI FluWindow { id:window - + title:"SingleInstance" width: 500 height: 600 minimumWidth: 500 @@ -15,8 +15,6 @@ FluWindow { maximumHeight: 600 launchMode: FluWindow.SingleInstance - title:"SingleInstance" - FluAppBar{ id:appbar title:"SingleInstance" diff --git a/example/qml/window/SingleTaskWindow.qml b/example/qml/window/SingleTaskWindow.qml index 6b3642c..70bfa90 100644 --- a/example/qml/window/SingleTaskWindow.qml +++ b/example/qml/window/SingleTaskWindow.qml @@ -6,7 +6,7 @@ import FluentUI FluWindow { id:window - + title:"SingleTask" width: 500 height: 600 minimumWidth: 500 @@ -15,8 +15,6 @@ FluWindow { maximumHeight: 600 launchMode: FluWindow.SingleTask - title:"SingleTask" - FluAppBar{ id:appbar title:"SingleTask" diff --git a/example/qml/window/StandardWindow.qml b/example/qml/window/StandardWindow.qml index 7a006cc..f5f3508 100644 --- a/example/qml/window/StandardWindow.qml +++ b/example/qml/window/StandardWindow.qml @@ -6,7 +6,7 @@ import FluentUI FluWindow { id:window - + title:"Standard" width: 500 height: 600 minimumWidth: 500 @@ -15,8 +15,6 @@ FluWindow { maximumHeight: 600 launchMode: FluWindow.Standard - title:"Standard" - FluAppBar{ id:appbar title:"Standard"