2023-03-31 11:58:15 +08:00
|
|
|
|
import QtQuick
|
|
|
|
|
import QtQuick.Controls
|
|
|
|
|
import QtQuick.Layouts
|
|
|
|
|
import FluentUI
|
2023-05-19 07:57:23 +08:00
|
|
|
|
import "../component"
|
2023-03-31 11:58:15 +08:00
|
|
|
|
|
2023-05-19 07:57:23 +08:00
|
|
|
|
CustomWindow {
|
2023-03-31 11:58:15 +08:00
|
|
|
|
|
2023-04-22 18:08:11 +08:00
|
|
|
|
title:"视频播放器"
|
2023-03-31 11:58:15 +08:00
|
|
|
|
width: 640
|
|
|
|
|
height: 480
|
|
|
|
|
minimumWidth: 640
|
|
|
|
|
minimumHeight: 480
|
|
|
|
|
|
2023-04-01 21:51:59 +08:00
|
|
|
|
onInitArgument:
|
|
|
|
|
(argument)=>{
|
|
|
|
|
player.source = argument.source
|
|
|
|
|
}
|
2023-03-31 11:58:15 +08:00
|
|
|
|
|
|
|
|
|
FluMediaPlayer{
|
|
|
|
|
id:player
|
|
|
|
|
anchors{
|
|
|
|
|
left: parent.left
|
|
|
|
|
right: parent.right
|
2023-05-12 19:26:49 +08:00
|
|
|
|
top: parent.top
|
2023-03-31 11:58:15 +08:00
|
|
|
|
bottom: parent.bottom
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|