[vlc-devel] [PATCH 00/21] qml: update visual aspect of the player

Pierre Lamot pierre at videolabs.io
Wed Aug 7 15:52:06 CEST 2019


this patchset consists mostly of cosmetics changes to the player view.

main changes are:

  - replace the solid backgound of the player toolbars  by a black to
    transparent gradient. This makes it less intrusive.

  - force the colors of buttons and widgets to be white over dark in the player,
    Using user theme often look bad here or have poor readability

  - when displaying the cover, replace the solid background of the window by
    a darkened blurred version of the cover.

Pierre Lamot (21):
  qt: provide validity attribute on VLCTicks for QML
  qt: add representation for invalid VLCTicks
  qt: expose showRemainingTime configuration option to QML
  qt: use showRemainingTime attribute from MainInterface in TimeLabel
  qt: expose remaining time in player controller
  qml: allow forcing colors of IconToolButton widget
  qml: allow forcing colors of Combobox widget
  qml: allow forcing colors of Teletext widget
  qml: allow forcing colors of SpinBox widget
  qml: allow forcing colors of VolumeWidget widget
  qml: ensure sibiling widget exist before navigating to them in
    VolumeWidget
  qml: defines colors of the player controller
  qml: make the seekbar background semi-transparent
  qml: change player controlbar background to a semi-transparent
    gradient
  qml: remove time text bellow the seekbar
  qml: add text above the seekbar in the fullplayer
  qml: add margin to the player controlbar
  qml: force the color of the widget in the controlbar
  qml: use the source image aspect ration for the player cover size
  qml: replace player solid background color with a blurred version of
    the cover
  qml: use player foreground colors for texts in the Player cover mode

 .../gui/qt/components/interface_widgets.cpp   |  8 +---
 .../gui/qt/components/player_controller.cpp   | 12 ++++++
 .../gui/qt/components/player_controller.hpp   |  5 ++-
 .../gui/qt/components/player_controller_p.hpp |  1 +
 modules/gui/qt/main_interface.cpp             |  8 ++++
 modules/gui/qt/main_interface.hpp             |  5 +++
 modules/gui/qt/qml/player/ControlBar.qml      | 42 ++++++++++++++++++-
 modules/gui/qt/qml/player/Player.qml          | 32 ++++++++++++--
 modules/gui/qt/qml/player/SliderBar.qml       | 31 ++------------
 modules/gui/qt/qml/player/TeletextWidget.qml  | 20 +++++++--
 modules/gui/qt/qml/player/TopBar.qml          |  8 ++++
 modules/gui/qt/qml/player/TrackSelector.qml   |  4 +-
 modules/gui/qt/qml/player/VolumeWidget.qml    | 13 +++---
 modules/gui/qt/qml/style/VLCColors.qml        |  4 ++
 modules/gui/qt/qml/utils/ComboBoxExt.qml      | 18 ++++----
 modules/gui/qt/qml/utils/IconToolButton.qml   |  7 ++--
 modules/gui/qt/qml/utils/SpinBoxExt.qml       | 23 ++++++----
 modules/gui/qt/util/vlctick.cpp               | 10 ++++-
 modules/gui/qt/util/vlctick.hpp               |  3 ++
 19 files changed, 182 insertions(+), 72 deletions(-)

--
2.17.1


More information about the vlc-devel mailing list