 |
Sayonara Player
|
21 #ifndef INFO_DIALOG_CONTAINER_H_
22 #define INFO_DIALOG_CONTAINER_H_
24 #include "Utils/Pimpl.h"
27 enum class OpenMode : uint8_t
29 Info, Edit, Lyrics, Cover
47 bool is_running()
const;
50 void scanner_finished();
80 void check_info_dialog();
81 bool init_dialog(OpenMode open_mode);
120 virtual QStringList
pathlist()
const;
138 virtual void show_cover_edit();
virtual QStringList pathlist() const
Returns a list of paths. This is only used if has_metadata() returns false.
Definition: InfoDialogContainer.h:35
virtual void show_lyrics()
Show the Info dialogs' lyrics tab.
The GUI_InfoDialog class.
Definition: GUI_InfoDialog.h:46
void info_dialog_closed()
this function should not be called from outside. This function is triggered when the info dialog was ...
virtual bool has_metadata() const
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
virtual void show_info()
Show the Info dialogs' info tab.
virtual MetaDataList info_dialog_data() const =0
get the metadata that should be used for the info dialog So for lists, the selected tracks are used h...
An interface used to abstract the usage of the info dialog. An implementing class has to return the i...
Definition: InfoDialogContainer.h:61
virtual MD::Interpretation metadata_interpretation() const =0
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums whil...
virtual void show_edit()
Show the tag editor.