25 #ifndef GUI_INFODIALOG_H_ 26 #define GUI_INFODIALOG_H_ 28 #include "GUI/Helper/SayonaraWidget/SayonaraDialog.h" 29 #include "Helper/MetaData/MetaDataList.h" 30 #include "Components/Covers/CoverLocation.h" 32 #include "GUI/InfoDialog/ui_GUI_InfoDialog.h" 34 #include <QCloseEvent> 55 enum class Tab : quint8 {
64 void set_metadata(
const MetaDataList& vd, MetaDataList::Interpretation interpretation);
65 bool has_metadata()
const;
66 void show(GUI_InfoDialog::Tab tab);
70 void lyrics_fetched();
71 void lyric_server_changed(
int idx);
73 void tab_index_changed_int(
int idx);
74 void tab_index_changed(GUI_InfoDialog::Tab idx);
76 void skin_changed()
override;
77 void language_changed()
override;
86 MetaDataList::Interpretation _md_interpretation;
88 QString _cover_artist;
101 void prepare_lyrics();
102 void prepare_info(MetaDataList::Interpretation mode);
104 void closeEvent(QCloseEvent *e)
override;
105 void showEvent(QShowEvent *e)
override;
The GUI_InfoDialog class.
Definition: GUI_InfoDialog.h:46
An interface used to abstract the usage of the info dialog. An implementing class has to return the i...
Definition: InfoDialogContainer.h:38
Definition: GUI_TagEdit.h:45
The LyricLookupThread class.
Definition: LyricLookup.h:48
The CoverLocation class.
Definition: CoverLocation.h:38
Definition: ui_GUI_InfoDialog.h:345
Dialog with Settings connection. Also contains triggers for language_changed() and skin_changed()...
Definition: SayonaraDialog.h:38