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"
62 void dropEventFromOutside(QDropEvent* event);
63 void removeSelectedRows();
68 QWidget* getParentWidget()
override;
70 int mapModelIndexToIndex(
const QModelIndex& idx)
const override;
73 void skinChanged()
override;
75 void dragLeaveEvent(QDragLeaveEvent* event)
override;
76 void dragEnterEvent(QDragEnterEvent* event)
override;
77 void dragMoveEvent(QDragMoveEvent* event)
override;
78 void dropEvent(QDropEvent* event)
override;
79 void mouseDoubleClickEvent(QMouseEvent* event)
override;
80 void keyPressEvent(QKeyEvent* event)
override;
81 bool viewportEvent(QEvent* event)
override;
82 void contextMenuEvent(QContextMenuEvent* e)
override;
84 void searchDone()
override;
89 void asyncDropFinished();
91 void columnsChanged();
92 void showRatingChanged();
93 void bookmarkTriggered(Seconds timestamp);
94 void moveSelectedRowsUp();
95 void moveSelectedRowsDown();
96 void playSelectedTrack();
97 void jumpToCurrentTrack();
98 void playlistBusyChanged(
bool isBusy);
99 void currentScannedFileChanged(
const QString& currentFile);
100 void currentTrackChanged(
int index);
101 void deleteSelectedTracks();
104 void gotoRow(
int row);
105 void initContextMenu();
106 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
Definition: PlaylistView.h:53
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