[vlc-devel] [PATCH 0/9] Playlist redesing

Pierre Lamot pierre at videolabs.io
Mon Nov 18 18:15:33 CET 2019


the main points of this patchset are:
  * add a toolbar below the playlist (clear, random, sort, shuffle)
  * redesign the contextual menu of the playlist
  * some bugfixes

Pierre Lamot (9):
  qt: add a selectedCount property SelectableListModel to track the
    number of selected items
  qt: add bound checking to selected setters in SelectableListModel
  qml: don't move  selection in the Playlist when no item is selected
  qml: fix playlist drag and drop with recent versions of Qt
  qml: redesign playlist menu
  qml: add a 'clear playlist' icon
  qml: fix SortControl combo box position
  qml: add a signal to notify data changes rather than index change in
    SortControl
  qml: add a toobar below the playlist view

 modules/gui/qt/Makefile.am                    |   1 +
 .../qt/components/playlist/playlist_model.cpp |   2 +
 .../qt/components/selectable_list_model.cpp   |  24 ++
 .../qt/components/selectable_list_model.hpp   |   7 +
 modules/gui/qt/pixmaps/VLCIcons.json          |   1 +
 modules/gui/qt/pixmaps/VLCIcons.ttf           | Bin 25520 -> 25612 bytes
 .../qt/pixmaps/playlist/playlist_clear.svg    | 100 +++++
 modules/gui/qt/qml/BannerSources.qml          |   9 +-
 modules/gui/qt/qml/playlist/PLItemFooter.qml  |  13 +-
 .../gui/qt/qml/playlist/PlaylistListView.qml  | 140 +++++--
 modules/gui/qt/qml/playlist/PlaylistMenu.qml  | 384 ++++++++----------
 .../gui/qt/qml/playlist/PlaylistToolbar.qml   | 126 ++++++
 modules/gui/qt/qml/style/VLCIcons.qml         | 137 +++----
 modules/gui/qt/qml/utils/SortControl.qml      |   7 +-
 modules/gui/qt/vlc.qrc                        |   1 +
 15 files changed, 615 insertions(+), 337 deletions(-)
 create mode 100644 modules/gui/qt/pixmaps/playlist/playlist_clear.svg
 create mode 100644 modules/gui/qt/qml/playlist/PlaylistToolbar.qml

--
2.17.1


More information about the vlc-devel mailing list