[vlc-devel] [PATCH 00/18] qml, qt: Services and URL tab
Prince Gupta
guptaprince8832 at gmail.com
Wed Sep 23 19:39:58 CEST 2020
This patchset adds Services and URL tab under Discover main group in GUI
Changes are based on Pierre Lamot's work on native menus
Pierre Lamot (2):
contrib: qt: link QtQuick.Shapes plugin
qt: add url context menu
Prince Gupta (16):
qt: allow selective source name in NetworkDeviceModel
qt: add NetworkSourcesModel
qt: add ServicesDiscoveryModel
qml: allow overlay on covers in GridItem
qml: add busy indicator to TabButtonExt
qml: add 'discover' and 'history' icons to VLCIcons
qml: allow using different model in NetworkBrowseDisplay
qml: add Services tab under Discover group
qml: don't use 'state.when' for transitioning between states in
GridItem
qml: refactor NetworkList view's custom thumbnail into separate Widget
qml: remove reduntant signal handler
qml: use GridItem.pictureOverlay property for custom covers in
NetworkGridItem
qml: use GridItem.pictureOverlay property for custom covers in Genre
view's grid items
medialibrary: add function to get stream history count
qt: add MLUrlModel
qml: add URL tab under Discover group
contrib/src/qtdeclarative/rules.mak | 4 +-
include/vlc_media_library.h | 10 +
modules/gui/qt/Makefile.am | 13 +
modules/gui/qt/maininterface/mainui.cpp | 7 +
modules/gui/qt/medialibrary/mlurlmodel.cpp | 149 +++++++
modules/gui/qt/medialibrary/mlurlmodel.hpp | 79 ++++
.../gui/qt/medialibrary/qml/MainDisplay.qml | 6 +
.../gui/qt/medialibrary/qml/MusicGenres.qml | 41 +-
.../qt/medialibrary/qml/UrlListDisplay.qml | 163 ++++++++
modules/gui/qt/menus/qml_menu_wrapper.cpp | 11 +
modules/gui/qt/menus/qml_menu_wrapper.hpp | 9 +
modules/gui/qt/network/networkdevicemodel.cpp | 21 +-
modules/gui/qt/network/networkdevicemodel.hpp | 9 +
.../gui/qt/network/networksourcesmodel.cpp | 151 +++++++
.../gui/qt/network/networksourcesmodel.hpp | 95 +++++
.../gui/qt/network/qml/DiscoverDisplay.qml | 100 +++++
.../qt/network/qml/NetworkBrowseDisplay.qml | 105 +----
modules/gui/qt/network/qml/NetworkDisplay.qml | 14 +-
.../gui/qt/network/qml/NetworkGridItem.qml | 63 +--
.../network/qml/NetworkHomeDeviceListView.qml | 2 +
.../qt/network/qml/NetworkThumbnailItem.qml | 112 ++++++
.../qt/network/qml/ServicesHomeDisplay.qml | 372 ++++++++++++++++++
.../gui/qt/network/servicesdiscoverymodel.cpp | 264 +++++++++++++
.../gui/qt/network/servicesdiscoverymodel.hpp | 124 ++++++
modules/gui/qt/pixmaps/VLCIcons.json | 4 +-
modules/gui/qt/pixmaps/VLCIcons.ttf | Bin 27796 -> 28804 bytes
modules/gui/qt/pixmaps/history.svg | 1 +
modules/gui/qt/pixmaps/topbar/discover.svg | 1 +
modules/gui/qt/qt.cpp | 1 +
modules/gui/qt/style/VLCIcons.qml | 24 +-
modules/gui/qt/vlc.qrc | 4 +
modules/gui/qt/widgets/qml/GridItem.qml | 4 +-
modules/gui/qt/widgets/qml/MediaCover.qml | 7 +
modules/gui/qt/widgets/qml/TabButtonExt.qml | 7 +
modules/misc/medialibrary/medialib.cpp | 18 +-
35 files changed, 1825 insertions(+), 170 deletions(-)
create mode 100644 modules/gui/qt/medialibrary/mlurlmodel.cpp
create mode 100644 modules/gui/qt/medialibrary/mlurlmodel.hpp
create mode 100644 modules/gui/qt/medialibrary/qml/UrlListDisplay.qml
create mode 100644 modules/gui/qt/network/networksourcesmodel.cpp
create mode 100644 modules/gui/qt/network/networksourcesmodel.hpp
create mode 100644 modules/gui/qt/network/qml/DiscoverDisplay.qml
create mode 100644 modules/gui/qt/network/qml/NetworkThumbnailItem.qml
create mode 100644 modules/gui/qt/network/qml/ServicesHomeDisplay.qml
create mode 100644 modules/gui/qt/network/servicesdiscoverymodel.cpp
create mode 100644 modules/gui/qt/network/servicesdiscoverymodel.hpp
create mode 100644 modules/gui/qt/pixmaps/history.svg
create mode 100755 modules/gui/qt/pixmaps/topbar/discover.svg
--
2.25.1
More information about the vlc-devel
mailing list