[vlc-commits] qml: add header to the playlist

Fatih Uzunoglu git at videolan.org
Fri Jul 3 14:59:03 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Sat Jun 20 00:49:11 2020 +0300| [6e0d363028e2200f8311cf9e1ca099b0a8dbe153] | committer: Pierre Lamot

qml: add header to the playlist

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e0d363028e2200f8311cf9e1ca099b0a8dbe153
---

 modules/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..0a748c84eb 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: i18n.qtr("%1 elements, %2 min").arg(root.plmodel.count).arg(plmodel.duration.toMinutes())
+            }
+        }
+    }
 
     Widgets.KeyNavigableListView {
         id: view



More information about the vlc-commits mailing list