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 isRunning()
const;
50 void scannerFinished();
80 void checkInfoDialog();
81 bool initDialog(OpenMode open_mode);
120 virtual QStringList
pathlist()
const;
The GUI_InfoDialog class.
Definition: GUI_InfoDialog.h:45
An interface used to abstract the usage of the info dialog. An implementing class has to return the i...
Definition: InfoDialogContainer.h:61
virtual void showCoverEdit()
Show the cover tab withing the tag editor.
Definition: InfoDialogContainer.h:35
virtual void showInfo()
Show the Info dialogs' info tab.
virtual void showEdit()
Show the tag editor.
void infoDialogClosed()
this function should not be called from outside. This function is triggered when the info dialog was ...
virtual bool hasMetadata() const
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
virtual MetaDataList infoDialogData() const =0
get the metadata that should be used for the info dialog So for lists, the selected tracks are used h...
virtual void showLyrics()
Show the Info dialogs' lyrics tab.
virtual QStringList pathlist() const
Returns a list of paths. This is only used if has_metadata() returns false.
virtual MD::Interpretation metadataInterpretation() const =0
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums whil...