[vlc-devel] [PATCH 0/8] GridItem improvements

Prince Gupta guptaprince8832 at gmail.com
Wed Apr 21 10:11:56 UTC 2021


Move some componenets out of GridItem, to make it thinner
Delay loading components which are not immediately required to speedup initialzation
Add new roundimage implementation to further improve loading time and general responsiveness

Prince Gupta (8):
  qml: make GridItem.highlighted property public
  qml: reuse VideoGridItem in VideoDisplayRecentVideos
  qml: move new indicator out of GridItem
  qml: move progressbar from Griditem
  qml: move out VideoQualityLabels from MediaCover widget
  qml: defer GridItem.selectedUnderlay loading until visible
  qml: defer loading play cover of Media cover until required
  qt, qml: provide RoundImage implementation from cpp

 modules/gui/qt/Makefile.am                    |   5 +-
 modules/gui/qt/maininterface/mainui.cpp       |   5 +
 .../qt/medialibrary/qml/ArtistTopBanner.qml   |   4 +-
 .../gui/qt/medialibrary/qml/AudioGridItem.qml |   2 +-
 .../qt/medialibrary/qml/MediaGroupList.qml    |   6 +
 .../qml/MusicAlbumsGridExpandDelegate.qml     |   5 +-
 .../gui/qt/medialibrary/qml/MusicArtist.qml   |   2 +-
 .../medialibrary/qml/MusicArtistsAlbums.qml   |   4 +-
 .../medialibrary/qml/MusicArtistsDisplay.qml  |   2 +-
 .../gui/qt/medialibrary/qml/MusicGenres.qml   |   2 +-
 .../qt/medialibrary/qml/PlaylistMediaList.qml |   2 +-
 modules/gui/qt/medialibrary/qml/VideoAll.qml  |   6 +
 .../qml/VideoDisplayRecentVideos.qml          |  23 +-
 .../gui/qt/medialibrary/qml/VideoGridItem.qml |  75 +++-
 .../medialibrary/qml/VideoInfoExpandPanel.qml |   5 +-
 .../gui/qt/network/qml/NetworkGridItem.qml    |   2 +-
 .../qt/network/qml/ServicesHomeDisplay.qml    |   2 +-
 modules/gui/qt/style/VLCStyle.qml             |   1 +
 modules/gui/qt/vlc.qrc                        |   3 +-
 modules/gui/qt/widgets/native/roundimage.cpp  | 324 ++++++++++++++++++
 modules/gui/qt/widgets/native/roundimage.hpp  | 139 ++++++++
 modules/gui/qt/widgets/qml/GridItem.qml       |  83 ++---
 modules/gui/qt/widgets/qml/MediaCover.qml     |  74 ++--
 modules/gui/qt/widgets/qml/RoundImage.qml     |  56 ---
 modules/gui/qt/widgets/qml/TableColumns.qml   |  19 +-
 ...ualityLabel.qml => VideoQualityLabels.qml} |  43 ++-
 26 files changed, 658 insertions(+), 236 deletions(-)
 create mode 100644 modules/gui/qt/widgets/native/roundimage.cpp
 create mode 100644 modules/gui/qt/widgets/native/roundimage.hpp
 delete mode 100644 modules/gui/qt/widgets/qml/RoundImage.qml
 rename modules/gui/qt/widgets/qml/{VideoQualityLabel.qml => VideoQualityLabels.qml} (56%)

-- 
2.27.0



More information about the vlc-devel mailing list