FluentUI/example/qml-Qt6/window/PageWindow.qml
朱子楚\zhuzi fa77ed6163 update
2023-11-02 23:02:08 +08:00

26 lines
494 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI
import example
import "qrc:///example/qml/component"
FluWindow {
id:window
width: 800
height: 600
minimumWidth: 520
minimumHeight: 200
launchMode: FluWindowType.SingleInstance
onInitArgument:
(arg)=>{
window.title = arg.title
loader.setSource( arg.url,{animDisabled:true})
}
FluLoader{
id: loader
anchors.fill: parent
}
}