The PlaylistView class.
More...
#include <PlaylistView.h>
|
|
| View (PlaylistCreator *playlistCreator, PlaylistPtr playlist, DynamicPlaybackChecker *dynamicPlaybackChecker, QWidget *parent=nullptr) |
| |
|
void | dropEventFromOutside (QDropEvent *event) |
| |
|
void | removeSelectedRows () |
| |
| virtual void | showEvent (QShowEvent *e) override |
| |
|
| enum | EditTab {
TabText
,
TabCover
,
TabTagsFromPath
} |
| |
|
| 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.
|
| |
◆ dragLeaveEvent()
| void Playlist::View::dragLeaveEvent |
( |
QDragLeaveEvent * |
event | ) |
|
|
overrideprotected |
we start the drag action, all lines has to be cleared
- Parameters
-
◆ getParentWidget()
| QWidget * Playlist::View::getParentWidget |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ hasMetadata()
| virtual bool InfoDialogContainer::hasMetadata |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ infoDialogData()
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
- Returns
- MetaDataList
Implements InfoDialogContainer.
◆ languageChanged()
| virtual void Gui::WidgetTemplateParent::languageChanged |
( |
| ) |
|
|
protectedvirtualinherited |
◆ metadataInterpretation()
| MD::Interpretation Playlist::View::metadataInterpretation |
( |
| ) |
const |
|
overrideprotectedvirtual |
get the interpretation for the metadata. Maybe a list of metadata should be intrepeted as albums while others should be considered as tracks
- Returns
- interpretation of metadata
Implements InfoDialogContainer.
◆ pathlist()
| virtual QStringList InfoDialogContainer::pathlist |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ showEvent()
template<typename T >
|
|
inlineoverridevirtualinherited |
◆ skinChanged()
| void Playlist::View::skinChanged |
( |
| ) |
|
|
overrideprotectedvirtual |