FluentUI/example/T_MediaPlayer.qml

33 lines
578 B
QML
Raw Normal View History

2023-03-25 12:41:56 +08:00
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtQuick.Window
2023-03-24 20:44:38 +08:00
import Qt5Compat.GraphicalEffects
2023-03-25 12:41:56 +08:00
import FluentUI
2023-03-24 15:21:47 +08:00
FluScrollablePage{
2023-03-24 18:25:13 +08:00
title:"MediaPlayer"
2023-03-24 15:21:47 +08:00
FluArea{
width: parent.width
2023-03-24 18:25:13 +08:00
height: 320
2023-03-24 15:21:47 +08:00
Layout.topMargin: 20
paddings: 10
ColumnLayout{
anchors{
verticalCenter: parent.verticalCenter
left:parent.left
}
FluMediaPlayer{
2023-03-24 20:44:38 +08:00
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
2023-03-24 15:21:47 +08:00
}
}
}
}