Warning, /multimedia/plasmatube/src/ui/videoplayer/VideoData.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2020 Carson Black <uhhadd@gmail.com>
0002 // SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
0003 // SPDX-License-Identifier: GPL-3.0-or-later
0004
0005 import QtQuick
0006 import QtQuick.Layouts
0007
0008 import org.kde.kirigami as Kirigami
0009
0010 Item {
0011 required property string title
0012 signal toggleDrawer()
0013
0014 anchors.fill: parent
0015 Rectangle {
0016 height: parent.children[1].height * 3
0017 anchors {
0018 left: parent.left
0019 right: parent.right
0020 top: parent.top
0021 }
0022
0023 gradient: Gradient {
0024 GradientStop { position: 1.0; color: Qt.rgba(18/255, 18/255, 18/255, 0.0) }
0025 GradientStop { position: 0.0; color: Qt.rgba(18/255, 18/255, 10/255, 0.8) }
0026 }
0027 }
0028 ColumnLayout {
0029 Kirigami.Theme.inherit: false
0030 Kirigami.Theme.colorSet: Kirigami.Theme.Window
0031 Kirigami.Theme.textColor: "white"
0032 Kirigami.Theme.disabledTextColor: Qt.rgba(200/255, 200/255, 200/255, 0.8)
0033 anchors {
0034 top: parent.top
0035 left: parent.left
0036 leftMargin: Kirigami.Units.largeSpacing
0037 right: parent.right
0038 rightMargin: Kirigami.Units.largeSpacing
0039 }
0040 Item { height: Kirigami.Units.largeSpacing }
0041 Item {
0042 Layout.fillWidth: true
0043 implicitHeight: childrenRect.height
0044 Kirigami.Heading {
0045 anchors.horizontalCenter: parent.horizontalCenter
0046 text: title // todo also handle metadata title
0047 level: 3
0048 }
0049 }
0050 }
0051 }
0052