|
Sayonara Player
|
#include <TrackView.h>
Signals | |
| void | sigDeleteClicked () |
| void | sigPlayClicked () |
| void | sigPlayNextClicked () |
| void | sigPlayNewTabClicked () |
| void | sigAppendClicked () |
| void | sigRefreshClicked () |
| void | sigReloadClicked () |
| void | sigImportFiles (const QStringList &files) |
| void | sigSelectionChanged (const IndexSet &indexes) |
Public Member Functions | |
| TrackView (QWidget *parent=nullptr) | |
| virtual void | init (AbstractLibrary *library) |
| void | setItemModel (ItemModel *model) |
| void | showClearButton (bool visible) |
| void | useClearButton (bool yesno) |
| bool | isValidDragPosition (const QPoint &p) const override |
| virtual void | showEvent (QShowEvent *e) override |
Protected Types | |
| enum | EditTab { TabText , TabCover , TabTagsFromPath } |
| enum class | ReleaseReason : char { Dropped , Destroyed } |
Protected Member Functions | |
| void | setupColumnNames () |
| the column names are reloaded and updated with their corresponding texts | |
| void | languageChanged () override |
| int | mapModelIndexToIndex (const QModelIndex &idx) const override |
| ModelIndexRange | mapIndexToModelIndexes (int idx) const 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 | resizeEvent (QResizeEvent *event) override |
| virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
| Library::ContextMenu * | contextMenu () const |
| virtual void | initContextMenu () |
| virtual void | initCustomContextMenu (Library::ContextMenu *menu) |
| ItemModel * | itemModel () const |
| MetaDataList | infoDialogData () const override |
| QWidget * | getParentWidget () override |
| virtual void | importRequested (const QStringList &files) |
| virtual void | runMergeOperation (const Library::MergeData &md) |
| 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 |
The TrackView class.
|
overrideprotectedvirtualinherited |
Implements InfoDialogContainer.
|
overrideprotectedvirtualinherited |
Implements InfoDialogContainer.
|
overridevirtualinherited |
Dragable
Reimplemented from Gui::Dragable.
|
overrideprotectedvirtualinherited |
Reimplemented from Gui::WidgetTemplateParent.