FluentUI/example/qml/window/MediaWindow.qml

38 lines
599 B
QML
Raw Normal View History

2023-03-31 11:58:15 +08:00
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import FluentUI
FluWindow {
width: 640
height: 480
minimumWidth: 640
minimumHeight: 480
title:"视频播放器"
2023-04-01 21:51:59 +08:00
onInitArgument:
(argument)=>{
player.source = argument.source
}
2023-03-31 11:58:15 +08:00
FluAppBar{
id:appbar
title:"视频播放器"
width:parent.width
}
FluMediaPlayer{
id:player
anchors{
left: parent.left
right: parent.right
top: appbar.bottom
bottom: parent.bottom
}
}
}