[vlc-devel] [PATCH 04/23] qml: add header to the playlist

Fatih Uzunoglu fuzun54 at outlook.com
Thu Jul 2 15:21:49 CEST 2020


---
 .../gui/qt/playlist/qml/PlaylistListView.qml    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index a3bb1186c8..b6d9d30748 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -116,6 +116,23 @@ Widgets.NavigableFocusScope {
     ColumnLayout {
         anchors.fill: parent
 
+    Row {
+        width: root.width
+        leftPadding: VLCStyle.margin_normal
+        topPadding: VLCStyle.margin_normal
+        bottomPadding: VLCStyle.margin_large
+
+        ColumnLayout {
+            Widgets.SubtitleLabel {
+                text: i18n.qtr("Playqueue")
+            }
+
+            Widgets.CaptionLabel {
+                anchors.topMargin: VLCStyle.margin_small
+                text: root.plmodel.count + " " + i18n.qtr("elements") + ", " + root.plmodel.duration.toMinutes() + " " + i18n.qtr("min")
+            }
+        }
+    }
 
     Widgets.KeyNavigableListView {
         id: view
-- 
2.25.1



More information about the vlc-devel mailing list