|
Sayonara Player
|
The FileListView class. More...
#include <FileListView.h>
Public Member Functions | |
| FileListView (QWidget *parent=nullptr) | |
| void | init (LibraryInfoAccessor *libraryInfoAccessor, const Library::Info &info) |
| QStringList | selectedPaths () const |
| void | setParentDirectory (const QString &dir) |
| QString | parentDirectory () const |
| virtual void | showEvent (QShowEvent *e) override |
Protected Types | |
| enum | EditTab { TabText , TabCover , TabTagsFromPath } |
Protected Member Functions | |
| void | contextMenuEvent (QContextMenuEvent *event) override |
| void | dragEnterEvent (QDragEnterEvent *event) override |
| void | dragMoveEvent (QDragMoveEvent *event) override |
| void | dropEvent (QDropEvent *event) override |
| void | skinChanged () override |
| int | mapModelIndexToIndex (const QModelIndex &idx) const override |
| ModelIndexRange | mapIndexToModelIndexes (int idx) const override |
| 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... | |
| bool | hasMetadata () const override |
| returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist More... | |
| QStringList | pathlist () const override |
| Returns a list of paths. This is only used if has_metadata() returns false. More... | |
| QWidget * | getParentWidget () override |
| virtual void | languageChanged () |
| 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 FileListView class.
|
overrideprotectedvirtual |
Implements InfoDialogContainer.
|
overrideprotectedvirtual |
returns, if the widget can provide metadata instantly If false, the info dialog will the pathlist
Reimplemented from InfoDialogContainer.
|
overrideprotectedvirtual |
get the metadata that should be used for the info dialog So for lists, the selected tracks are used here
Implements InfoDialogContainer.
|
protectedvirtualinherited |
Reimplemented in Preferences::Base.
|
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.
|
overrideprotectedvirtual |
Returns a list of paths. This is only used if has_metadata() returns false.
Reimplemented from InfoDialogContainer.
|
inlineoverridevirtualinherited |
Reimplemented in Preferences::Base.
|
overrideprotectedvirtual |
Reimplemented from Gui::WidgetTemplateParent.