24 #include "Gui/Library/ItemView.h" 25 #include "Gui/Library/Header/ActionPair.h" 26 #include "Utils/Library/Sortorder.h" 47 explicit CoverView(QWidget* parent=
nullptr);
54 QStyleOptionViewItem viewOptions()
const override;
57 int index_by_model_index(
const QModelIndex& idx)
const override;
60 void change_zoom(
int zoom=-1);
64 static QStringList zoom_actions();
72 void init_context_menu()
override;
74 void language_changed()
override;
75 void wheelEvent(QWheelEvent* e)
override;
76 void resizeEvent(QResizeEvent* e)
override;
77 void hideEvent(QHideEvent* e)
override;
83 int sizeHintForColumn(
int)
const override;
86 void resize_sections();
89 void play_clicked()
override;
90 void play_new_tab_clicked()
override;
91 void play_next_clicked()
override;
92 void append_clicked()
override;
93 void selection_changed(
const IndexSet& indexes)
override;
94 void refresh_clicked()
override;
SortOrder
The SortOrder enum.
Definition: Sortorder.h:31
Changes all metadata containing one of the source ids and replaces it with the target id...
Definition: MergeData.h:38
Definition: AbstractLibrary.h:41
Definition: LocalLibrary.h:35
MD::Interpretation metadata_interpretation() const override
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums whil...
Definition: typedefs.h:32
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition: Set.h:35
bool is_mergeable() const override
indicates if multiple ids can be merged into one. For example if the same artist is written in three ...
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
The CoverView class.
Definition: CoverView.h:40
The main task of the ItemView is to display a context menu for various selections. It also handles drag and drop events with a cover. It supports merging and imports.
Definition: ItemView.h:54
Definition: EngineUtils.h:33