FluentUI/example/qml-Qt6/window/PageWindow.qml

26 lines
491 B
QML
Raw Normal View History

2023-08-26 17:20:30 +08:00
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI
import example
import "qrc:///example/qml/component"
2023-10-08 18:19:08 +08:00
FluWindow {
2023-08-26 17:20:30 +08:00
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})
}
Loader{
id: loader
anchors.fill: parent
}
}