added component for player control pannel

This commit is contained in:
Anika Raemer 2018-12-07 11:23:59 +01:00
parent 78aec2acf8
commit 892d033931
3 changed files with 45 additions and 34 deletions

View file

@ -0,0 +1,31 @@
import QtQuick 2.0
Rectangle {
id: container
property var model
property int margins
color: "#99ffffff"
height: 140
MediaProgress{
id: progress
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.margins: container.margins
model: container.model
}
PlayerButtons{
id: buttons
anchors.left: parent.left
anchors.right: parent.right
anchors.top: progress.bottom
anchors.bottom: parent.bottom
model: container.model
spacing: 20
}
}