[vlc-devel] [PATCH 00/49] QML UI update

Pierre Lamot pierre at videolabs.io
Fri Oct 11 15:17:24 CEST 2019


Hi,

this patchset contains mostly code factorisation and bug fixes

Amongst the mains changes:
 * rework the network view, indexation is now proposed as an action in the
   control bar
 * remove the play/enqueue overlay over Grid items
 * when embedded, the playlist is no longer displayed over the the view but
   aside
 * redesign the track/subtitle menu which had accessibility issues
 * provide key navigation for the video info pannel 
 * improve key navigation mechanism
 * faster view change with partial reload

Pierre Lamot (49):
  qml: pass modifiers along with key for hotkeys
  qml: change the enabled indicator from blue background to a dot for
    buttons
  qml: allow to underline item in IconToolButton
  qml: update style of ScanProgressBar
  qml: disable animations in the toolbar editor
  qml: invert mrl and name for files in network view
  qml: add VLC branding icon
  qml: remove the overlay above grid items
  qml: unify in context buttons with other actions buttons in ListItem
  qml: reindent ListItem.qml
  qml: don't display the progres bar in video view when the progress is
    0
  qml: update layouting and navigation of the video information pannel
  qml: allow to set position of SortControl popup
  qml: factorize generic tab button
  qml: add navigable row layout
  qml: add navigable column layout
  qml: refactorize navigation and layouting of BannerSource
  qml: allow to define extra buttons specific to the current view in the
    banner source
  qml: allow to set a default navigation target in NavigableFocusScope
  qml: use navigationXXXItem navigation style
  qml: unify list views in network
  qml: fix node traversal in network view
  qml: update Network contextual actions
  qt: remove extraneous assertion in NetworkModel
  qt: allow accessing properties of the current tree node in
    MLNetworkModel
  qml: provide direct access to the indexation functionnality while
    browsing network
  qml: display the current folder name on top of the network view
  qml: revert list items to have solid background instead of a glowing
    frame
  qml: revert  grid items to use a solid background instead of a glowing
    frame
  qml: revert table view to use solid background instead of a glowing
    frame
  qml: display contextual menu on Menu Key press for List/Grid items
  qml: navigate back in history on cancel action in network view
  qml: fix hardcoded size in NetworkDisplay home page
  qml: split Network view in Home and Browse views
  qml: no longer show the playlist as an overlay in the ML views, but
    aside
  qml: only show the playlist on demand within the player view
  qml: show menu on common cancel keys in the player
  qml: stop media when leaving the player view if the media is paused
  qt: reset chapter state when titles changes
  qml: add chapter next/previous player button
  qml: forward key events from the VideoSurface as hotkeys
  qml: add a modal menu usable in the player.
  qml: replace the inline track/subtitle selection with a menu in the
    player
  qml: avoid reloading pages completely when possible
  qml: allow items loaded in StackViewExt to provide a dismiss function
    for cleanup before unloading
  qml: fix items wrongly highlited when scrolling the ExpandGridView
  qml: expose getNbItemsPerRow and getItemPos methods from
    ExpandGridView
  qml: remove unused expanderItem in ExpandGridView
  qml: fix ExpandGridView repositionning when expanding

 modules/gui/qt/Makefile.am                    |  13 +-
 .../components/mediacenter/mlnetworkmodel.cpp |  36 +-
 .../components/mediacenter/mlnetworkmodel.hpp |  35 +-
 .../gui/qt/components/player_controller.cpp   |   5 +
 .../qt/components/playercontrolbarmodel.hpp   |   2 +
 modules/gui/qt/main_interface.cpp             |   4 +-
 modules/gui/qt/main_interface.hpp             |   2 +-
 modules/gui/qt/pixmaps/VLCIcons.json          |   1 +
 modules/gui/qt/pixmaps/VLCIcons.ttf           | Bin 25420 -> 25520 bytes
 modules/gui/qt/pixmaps/cone.svg               |  73 +++
 .../qt/pixmaps/playlist/active_indicator.svg  |  78 +++
 modules/gui/qt/qml/BannerSources.qml          | 464 +++++++-----------
 modules/gui/qt/qml/dialogs/EditorDNDView.qml  |   6 +-
 .../qml/dialogs/ToolbarEditorButtonList.qml   |   2 +
 .../gui/qt/qml/mediacenter/AudioGridItem.qml  |   3 +-
 .../gui/qt/qml/mediacenter/MCMainDisplay.qml  | 176 +++----
 .../gui/qt/qml/mediacenter/MCMusicDisplay.qml |  45 +-
 .../mediacenter/MCNetworkBrowseDisplay.qml    | 246 ++++++++++
 .../qt/qml/mediacenter/MCNetworkDisplay.qml   | 277 +----------
 .../qml/mediacenter/MCNetworkHomeDisplay.qml  | 141 ++++++
 .../MCNetworksSectionSelectableDM.qml         | 102 +++-
 .../gui/qt/qml/mediacenter/MCVideoDisplay.qml |  20 +-
 .../qt/qml/mediacenter/MCVideoListDisplay.qml |   3 +-
 .../qt/qml/mediacenter/MusicAlbumsDisplay.qml |   2 -
 .../qt/qml/mediacenter/MusicGenresDisplay.qml |   2 -
 .../qml/mediacenter/NetworkDriveDisplay.qml   |  67 ---
 .../qt/qml/mediacenter/NetworkFileDisplay.qml |  67 ---
 .../mediacenter/NetworkFileDisplayGrid.qml    |  62 ---
 ...iveDisplayGrid.qml => NetworkGridItem.qml} |  33 +-
 .../qt/qml/mediacenter/NetworkListItem.qml    |  93 ++--
 .../qml/mediacenter/VideoExpandableGrid.qml   | 367 +++++++-------
 .../gui/qt/qml/mediacenter/VideoGridItem.qml  |   4 +-
 modules/gui/qt/qml/player/ControlButtons.qml  | 115 ++++-
 modules/gui/qt/qml/player/MiniPlayer.qml      |   4 +-
 modules/gui/qt/qml/player/Player.qml          |  73 ++-
 modules/gui/qt/qml/player/PlayerMenu.qml      |  92 ++++
 modules/gui/qt/qml/player/PlayerMenuItem.qml  | 130 +++++
 modules/gui/qt/qml/player/TopBar.qml          |  16 +-
 modules/gui/qt/qml/style/VLCColors.qml        |   1 +
 modules/gui/qt/qml/style/VLCIcons.qml         | 115 ++---
 modules/gui/qt/qml/style/VLCStyle.qml         |   9 +
 modules/gui/qt/qml/utils/ExpandGridView.qml   |  90 ++--
 modules/gui/qt/qml/utils/GridItem.qml         | 170 +------
 modules/gui/qt/qml/utils/IconToolButton.qml   |  21 +-
 .../qt/qml/utils/KeyNavigableTableView.qml    |  23 +-
 modules/gui/qt/qml/utils/ListItem.qml         | 237 ++++-----
 modules/gui/qt/qml/utils/NavigableCol.qml     | 117 +++++
 .../gui/qt/qml/utils/NavigableFocusScope.qml  |  59 ++-
 modules/gui/qt/qml/utils/NavigableRow.qml     | 117 +++++
 modules/gui/qt/qml/utils/ScanProgressBar.qml  |  62 ++-
 modules/gui/qt/qml/utils/SortControl.qml      |  13 +-
 modules/gui/qt/qml/utils/StackViewExt.qml     |  20 +
 modules/gui/qt/qml/utils/TabButtonExt.qml     |  95 ++++
 modules/gui/qt/vlc.qrc                        |  13 +-
 54 files changed, 2364 insertions(+), 1659 deletions(-)
 create mode 100644 modules/gui/qt/pixmaps/cone.svg
 create mode 100644 modules/gui/qt/pixmaps/playlist/active_indicator.svg
 create mode 100644 modules/gui/qt/qml/mediacenter/MCNetworkBrowseDisplay.qml
 create mode 100644 modules/gui/qt/qml/mediacenter/MCNetworkHomeDisplay.qml
 delete mode 100644 modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
 delete mode 100644 modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml
 delete mode 100644 modules/gui/qt/qml/mediacenter/NetworkFileDisplayGrid.qml
 rename modules/gui/qt/qml/mediacenter/{NetworkDriveDisplayGrid.qml => NetworkGridItem.qml} (70%)
 create mode 100644 modules/gui/qt/qml/player/PlayerMenu.qml
 create mode 100644 modules/gui/qt/qml/player/PlayerMenuItem.qml
 create mode 100644 modules/gui/qt/qml/utils/NavigableCol.qml
 create mode 100644 modules/gui/qt/qml/utils/NavigableRow.qml
 create mode 100644 modules/gui/qt/qml/utils/TabButtonExt.qml

-- 
2.20.1



More information about the vlc-devel mailing list