The CoverView class.
More...
#include <CoverView.h>
|
void | reload () |
|
void | clearCache () |
|
|
void | sigDeleteClicked () |
|
void | sigPlayClicked () |
|
void | sigPlayNextClicked () |
|
void | sigPlayNewTabClicked () |
|
void | sigAppendClicked () |
|
void | sigRefreshClicked () |
|
void | sigReloadClicked () |
|
void | sigImportFiles (const QStringList &files) |
|
void | sigSelectionChanged (const IndexSet &indexes) |
|
|
| CoverView (QWidget *parent=nullptr) |
|
void | init (LocalLibrary *library) |
|
AbstractLibrary * | library () const override |
|
QStyleOptionViewItem | viewOptions () const override |
|
int | mapModelIndexToIndex (const QModelIndex &idx) const override |
|
ModelIndexRange | mapIndexToModelIndexes (int idx) const override |
|
SelectionViewInterface::SelectionType | selectionType () const override |
|
int | zoom () const |
|
void | changeZoom (int zoom=-1) |
|
void | changeSortorder (SortOrder so) |
|
void | setItemModel (ItemModel *model) |
|
void | showClearButton (bool visible) |
|
void | useClearButton (bool yesno) |
|
virtual Library::ContextMenu::Entries | contextMenuEntries () const |
|
bool | isValidDragPosition (const QPoint &p) const override |
|
virtual void | showEvent (QShowEvent *e) override |
|
|
enum | EditTab {
TabText
,
TabCover
,
TabTagsFromPath
} |
|
enum class | ReleaseReason : char {
Dropped
,
Destroyed
} |
|
|
virtual void | showContextMenu (const QPoint &) |
|
virtual void | mergeActionTriggered () |
|
virtual void | deleteClicked () |
|
virtual void | reloadClicked () |
|
virtual void | albumArtistsToggled () |
|
virtual void | filterExtensionsTriggered (const QString &extension, bool b) |
|
|
void | fill () override |
|
void | initContextMenu () override |
|
void | languageChanged () override |
|
bool | isMergeable () const override |
| indicates if multiple ids can be merged into one. For example if the same artist is written in three different ways, they can be merged to one. On the other hand, for tracks that does not make sense
|
|
MD::Interpretation | metadataInterpretation () const override |
|
int | sizeHintForColumn (int) const override |
|
void | wheelEvent (QWheelEvent *e) override |
|
void | resizeEvent (QResizeEvent *e) override |
|
void | hideEvent (QHideEvent *e) override |
|
virtual void | mousePressEvent (QMouseEvent *event) override |
|
virtual void | contextMenuEvent (QContextMenuEvent *event) override |
|
virtual void | dragEnterEvent (QDragEnterEvent *event) override |
|
virtual void | dragMoveEvent (QDragMoveEvent *event) override |
|
virtual void | dropEvent (QDropEvent *event) override |
|
virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
|
Library::ContextMenu * | contextMenu () const |
|
virtual void | initCustomContextMenu (Library::ContextMenu *menu) |
|
ItemModel * | itemModel () const |
|
MetaDataList | infoDialogData () const override |
|
QWidget * | getParentWidget () override |
|
virtual void | importRequested (const QStringList &files) |
|
int | viewportHeight () const override |
|
virtual void | skinChanged () |
|
virtual bool | hasMetadata () const |
|
virtual QStringList | pathlist () const |
|
virtual void | showInfo () |
|
virtual void | showLyrics () |
|
virtual void | showEdit () |
|
virtual void | showCoverEdit () |
|
virtual bool | hasDragLabel () const |
|
virtual QString | dragLabel () const |
|
◆ fill()
void Library::CoverView::fill |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ getParentWidget()
QWidget * Library::ItemView::getParentWidget |
( |
| ) |
|
|
overrideprotectedvirtualinherited |
◆ infoDialogData()
|
overrideprotectedvirtualinherited |
◆ initContextMenu()
void Library::CoverView::initContextMenu |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ isMergeable()
bool Library::CoverView::isMergeable |
( |
| ) |
const |
|
overrideprotectedvirtual |
indicates if multiple ids can be merged into one. For example if the same artist is written in three different ways, they can be merged to one. On the other hand, for tracks that does not make sense
- Returns
Implements Library::ItemView.
◆ isValidDragPosition()
bool Library::ItemView::isValidDragPosition |
( |
const QPoint & |
p | ) |
const |
|
overridevirtualinherited |
◆ languageChanged()
void Library::CoverView::languageChanged |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ library()
◆ metadataInterpretation()
MD::Interpretation Library::CoverView::metadataInterpretation |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ resizeEvent()
void Library::CoverView::resizeEvent |
( |
QResizeEvent * |
e | ) |
|
|
overrideprotectedvirtual |