35 lines
785 B
QML
35 lines
785 B
QML
import QtQuick 2.0
|
|
import QtQuick.Layouts 1.3
|
|
|
|
Rectangle {
|
|
id: container
|
|
property var model
|
|
property int margins
|
|
|
|
color: "#99ffffff"
|
|
height: content.height + 2* margins //StyleSizes.playerControlPanelHeight
|
|
|
|
|
|
ColumnLayout{
|
|
id: content
|
|
spacing: StyleSpacings.smallSpacing
|
|
anchors.margins: container.margins
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
MediaProgress{
|
|
id: progress
|
|
|
|
model: container.model
|
|
}
|
|
|
|
PlayerButtons{
|
|
id: buttons
|
|
Layout.alignment: Qt.AlignHCenter
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
model: container.model
|
|
spacing: StyleSpacings.defaultSpacing
|
|
}
|
|
}
|
|
}
|