![]() |
Sayonara Player
|
The PlaylistView class. More...
#include <PlaylistView.h>
Public Slots | |
void | gotoRow (int row) |
Public Member Functions | |
View (PlaylistCreator *playlistCreator, PlaylistPtr playlist, DynamicPlaybackChecker *dynamicPlaybackChecker, QWidget *parent=nullptr) | |
void | dropEventFromOutside (QDropEvent *event) |
void | removeSelectedRows () |
virtual void | showEvent (QShowEvent *e) override |
Protected Types | |
enum | EditTab { TabText, TabCover, TabTagsFromPath } |
Protected Member Functions | |
MD::Interpretation | metadataInterpretation () const override |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks More... | |
MetaDataList | infoDialogData () const override |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here More... | |
QWidget * | getParentWidget () override |
int | mapModelIndexToIndex (const QModelIndex &idx) const override |
ModelIndexRange | mapIndexToModelIndexes (int idx) const override |
void | skinChanged () override |
void | dragLeaveEvent (QDragLeaveEvent *event) override |
we start the drag action, all lines has to be cleared More... | |
void | dragEnterEvent (QDragEnterEvent *event) override |
void | dragMoveEvent (QDragMoveEvent *event) override |
void | dropEvent (QDropEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseDoubleClickEvent (QMouseEvent *event) override |
void | keyPressEvent (QKeyEvent *event) override |
bool | viewportEvent (QEvent *event) override |
void | contextMenuEvent (QContextMenuEvent *e) override |
virtual void | languageChanged () |
virtual bool | hasMetadata () const |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist More... | |
virtual QStringList | pathlist () const |
Returns a list of paths. This is only used if has_metadata() returns false. More... | |
virtual void | showInfo () |
Show the Info dialogs' info tab. | |
virtual void | showLyrics () |
Show the Info dialogs' lyrics tab. | |
virtual void | showEdit () |
Show the tag editor. | |
virtual void | showCoverEdit () |
Show the cover tab withing the tag editor. | |
The PlaylistView class.
|
overrideprotected |
we start the drag action, all lines has to be cleared
the | event |
|
protectedvirtualinherited |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
Reimplemented in Directory::FileListView, and Directory::TreeView.
|
overrideprotectedvirtual |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
Implements InfoDialogContainer.
|
overrideprotectedvirtual |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks
Implements InfoDialogContainer.
|
protectedvirtualinherited |
Returns a list of paths. This is only used if has_metadata() returns false.
Reimplemented in Directory::FileListView, and Directory::TreeView.