mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 15:06:52 +08:00
26 lines
478 B
QML
26 lines
478 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import FluentUI
|
|
import example
|
|
import "../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
|
|
}
|
|
}
|