mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-01 08:31:33 +08:00
30 lines
495 B
QML
30 lines
495 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import FluentUI
|
|
|
|
FluWindow {
|
|
|
|
title:"视频播放器"
|
|
width: 640
|
|
height: 480
|
|
minimumWidth: 640
|
|
minimumHeight: 480
|
|
|
|
onInitArgument:
|
|
(argument)=>{
|
|
player.source = argument.source
|
|
}
|
|
|
|
FluMediaPlayer{
|
|
id:player
|
|
anchors{
|
|
left: parent.left
|
|
right: parent.right
|
|
top: parent.top
|
|
bottom: parent.bottom
|
|
}
|
|
}
|
|
|
|
}
|