29 #ifndef PLAYLISTVIEW_H_
30 #define PLAYLISTVIEW_H_
32 #include "Gui/Utils/SearchableWidget/SearchableView.h"
33 #include "Gui/Utils/Widgets/Dragable.h"
34 #include "Gui/Utils/Widgets/WidgetTemplate.h"
36 #include "Gui/InfoDialog/InfoDialogContainer.h"
38 #include "Utils/Playlist/PlaylistFwd.h"
39 #include "Utils/MetaData/MetaDataFwd.h"
40 #include "Utils/Pimpl.h"
64 void dropEventFromOutside(QDropEvent* event);
65 void removeSelectedRows();
68 void gotoRow(
int row);
73 QWidget* getParentWidget()
override;
75 int mapModelIndexToIndex(
const QModelIndex& idx)
const override;
78 void skinChanged()
override;
85 void dragEnterEvent(QDragEnterEvent* event)
override;
86 void dragMoveEvent(QDragMoveEvent* event)
override;
87 void dropEvent(QDropEvent* event)
override;
88 void mousePressEvent(QMouseEvent* event)
override;
89 void mouseDoubleClickEvent(QMouseEvent* event)
override;
90 void keyPressEvent(QKeyEvent* event)
override;
91 bool viewportEvent(QEvent* event)
override;
92 void contextMenuEvent(QContextMenuEvent* e)
override;
97 void asyncDropFinished();
98 void ratingChanged(Rating rating);
99 void columnsChanged();
100 void showRatingChanged();
101 void findTrackTriggered();
102 void bookmarkTriggered(Seconds timestamp);
103 void moveSelectedRowsUp();
104 void moveSelectedRowsDown();
105 void playSelectedTrack();
106 void jumpToCurrentTrack();
107 void playlistBusyChanged(
bool isBusy);
108 void currentScannedFileChanged(
const QString& currentFile);
109 void currentTrackChanged(
int index);
110 void deleteSelectedTracks();
113 void initContextMenu();
114 void initShortcuts();
115 void handleDrop(QDropEvent* event);
Definition: DynamicPlayback.h:24
The Dragable class.
Definition: Dragable.h:61
An interface used to abstract the usage of the info dialog. An implementing class has to return the i...
Definition: InfoDialogContainer.h:64
Definition: PlaylistInterface.h:56
The PlaylistView class.
Definition: PlaylistView.h:56
void dragLeaveEvent(QDragLeaveEvent *event) override
we start the drag action, all lines has to be cleared
MetaDataList infoDialogData() const override
get the metadata that should be used for the info dialog So for lists, the selected tracks are used h...
MD::Interpretation metadataInterpretation() const override
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums whil...
Definition: typedefs.h:33