![]() |
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>
Public Member Functions | |
| void | infoDialogClosed () |
| this function should not be called from outside. This function is triggered when the info dialog was closed. | |
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 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, GUI_ControlsBase, Library::ItemView, Playlist::View, and Directory::FileListView.
|
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 Directory::TreeView, GUI_ControlsBase, Playlist::View, Directory::FileListView, Library::CoverView, and Library::ArtistView.
|
protectedvirtual |
Returns a list of paths. This is only used if has_metadata() returns false.
Reimplemented in Directory::TreeView, and Directory::FileListView.
1.8.15