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/CoverLookup/CoverLocation.h" 32 #include "GUI/InfoDialog/ui_GUI_InfoDialog.h" 34 #include <QCloseEvent> 50 enum class Mode : quint8 {
67 void set_metadata(
const MetaDataList& vd, GUI_InfoDialog::Mode mode);
68 void show(GUI_InfoDialog::TabIndex tab);
72 void lyrics_fetched();
73 void lyric_server_changed(
int idx);
75 void tab_index_changed_int(
int idx);
76 void tab_index_changed(GUI_InfoDialog::TabIndex idx);
81 void skin_changed()
override;
82 void language_changed()
override;
94 GUI_InfoDialog::Mode _cur_mode;
96 QString _cover_artist;
101 bool _is_initialized;
109 void prepare_lyrics();
110 void prepare_info(GUI_InfoDialog::Mode mode);
112 void closeEvent(QCloseEvent *e)
override;
113 void showEvent(QShowEvent *e)
override;
Definition: GUI_InfoDialog.h:41
The GUI_TagEdit class.
Definition: GUI_TagEdit.h:42
The LyricLookupThread class.
Definition: LyricLookup.h:48
The CoverLocation class.
Definition: CoverLocation.h:37
Definition: GUI_AlternativeCovers.h:46
Definition: ui_GUI_InfoDialog.h:339
Dialog with Settings connection. Also contains triggers for language_changed() and skin_changed()...
Definition: SayonaraDialog.h:38
The CoverLookup class.
Definition: CoverLookup.h:65