Sayonara Player
|
An interface used to abstract the usage of the info dialog. An implementing class has to return the interpretation of a MetaDataList and the MetaDataList itself. The implementing class may call the show functions to open the info dialog at its specific tab. More...
#include <InfoDialogContainer.h>
Protected Types | |
enum | EditTab { TabText , TabCover , TabTagsFromPath } |
Protected Member Functions | |
virtual MD::Interpretation | metadataInterpretation () const =0 |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks More... | |
virtual MetaDataList | infoDialogData () const =0 |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More... | |
virtual QWidget * | getParentWidget ()=0 |
virtual bool | hasMetadata () const |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist More... | |
virtual QStringList | pathlist () const |
Returns a list of paths. This is only used if has_metadata() returns false. More... | |
virtual void | showInfo () |
Show the Info dialogs' info tab. | |
virtual void | showLyrics () |
Show the Info dialogs' lyrics tab. | |
virtual void | showEdit () |
Show the tag editor. | |
virtual void | showCoverEdit () |
Show the cover tab withing the tag editor. | |
Friends | |
class | InfoDialogContainerAsyncHandler |
class | GUI_InfoDialog |
An interface used to abstract the usage of the info dialog. An implementing class has to return the interpretation of a MetaDataList and the MetaDataList itself. The implementing class may call the show functions to open the info dialog at its specific tab.
|
protectedvirtual |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
Reimplemented in Directory::TreeView, and Directory::FileListView.
|
protectedpure virtual |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
Implemented in Directory::TreeView, Directory::FileListView, Library::ItemView, GUI_ControlsBase, and Playlist::View.
|
protectedpure virtual |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks
Implemented in Library::CoverView, Directory::TreeView, Directory::FileListView, Library::ArtistView, GUI_ControlsBase, and Playlist::View.
|
protectedvirtual |
Returns a list of paths. This is only used if has_metadata() returns false.
Reimplemented in Directory::TreeView, and Directory::FileListView.