[vlc-devel] [PATCH 15/25] qml: allow changing slider properties in ControlBar

Prince Gupta guptaprince8832 at gmail.com
Thu Mar 11 09:16:23 UTC 2021


---
 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)
 
-- 
2.25.1



More information about the vlc-devel mailing list