]> git.sesse.net Git - vlc/commit
Qt: create a CoverArtLabel
authorJean-Philippe Andre <jpeg@via.ecp.fr>
Thu, 4 Sep 2008 03:58:06 +0000 (23:58 -0400)
committerJean-Philippe Andre <jpeg@via.ecp.fr>
Thu, 4 Sep 2008 04:46:31 +0000 (00:46 -0400)
commit4dd472bb412a29deef6d5a5424aaa081d27a5faf
treed7cb0cb9947152ddc35d51b0e2d5a15e52c31fd1
parent355d80f1b4ea7a7ed66de7706ad624b609135497
Qt: create a CoverArtLabel

This Widget (base QLabel) is designed to show the cover art. It handles right-click, and show a context menu that has only one entry:

- Download cover art

When the user clicks it, vlc downloads the cover art (or finds it in the cache), and displays it when downloaded
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.hpp