[vlc-commits] qml: allow changing slider properties in ControlBar

Prince Gupta git at videolan.org
Mon Mar 15 10:33:02 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Feb  9 19:21:32 2021 +0530| [5695d297379afcf41204fb54d2eafcb85b31774c] | committer: Pierre Lamot

qml: allow changing slider properties in ControlBar

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/gui/qt/player/qml/ControlBar.qml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/qt/player/qml/ControlBar.qml b/modules/gui/qt/player/qml/ControlBar.qml
index 98b6b6704e..bbc650e63d 100644
--- a/modules/gui/qt/player/qml/ControlBar.qml
+++ b/modules/gui/qt/player/qml/ControlBar.qml
@@ -43,6 +43,9 @@ Widgets.NavigableFocusScope {
     property int textPosition: ControlBar.TimeTextPosition.AboveSlider
     property VLCColors colors: VLCStyle.nightColors
     property var configs: ["MainPlayerToolbar-left", "MainPlayerToolbar-center", "MainPlayerToolbar-right"]
+    property alias sliderHeight: trackPositionSlider.barHeight
+    property alias sliderBackgroundColor: trackPositionSlider.backgroundColor
+    property alias sliderProgressColor: trackPositionSlider.progressBarColor
 
     signal requestLockUnlockAutoHide(bool lock, var source)
 



More information about the vlc-commits mailing list