![]() |
Miam-Player
0.8.0
A nice music player
|
The FileSystemTreeView class is displaying a standard file-system in a tree. More...
#include <filesystemtreeview.h>
Public Slots | |
void | reloadWithNewPath (const QDir &path) |
![]() | |
void | appendToPlaylist () |
void | openTagEditor () |
Signals | |
void | aboutToAddMusicLocations (const QList< QDir > &) |
void | folderChanged (const QString &) |
![]() | |
void | aboutToInsertToPlaylist (int rowIndex, const QList< QUrl > &tracks) |
void | aboutToSendToTagEditor (const QList< QUrl > &tracks) |
Public Member Functions | |
FileSystemTreeView (QWidget *parent=nullptr) | |
virtual void | findAll (const QModelIndex &index, QList< QUrl > *tracks) const override |
virtual void | updateSelectedTracks () override |
![]() | |
TreeView (QWidget *parent=nullptr) | |
virtual | ~TreeView () |
virtual QList< QUrl > | selectedTracks () override |
![]() | |
virtual | ~SelectedTracksModel () |
Protected Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) override |
virtual int | countAll (const QModelIndexList &indexes) const override |
virtual void | keyPressEvent (QKeyEvent *event) override |
![]() | |
virtual bool | eventFilter (QObject *obj, QEvent *event) override |
virtual void | startDrag (Qt::DropActions supportedActions) override |
The FileSystemTreeView class is displaying a standard file-system in a tree.
This view allows one to browse folders and files from a standard file-system. Non playable files are disabled, excepted for covers. One can send files, folders, and both to playlist or tag editor.
|
explicit |
|
signal |
Append the selected folder to the existing music locations.
|
overrideprotectedvirtual |
Reimplemented to display up to 3 actions.
|
overrideprotectedvirtual |
Reimplemented with a QDirIterator to quick count tracks.
Implements TreeView.
|
overridevirtual |
Reimplemented with a QDirIterator to gather informations about tracks.
Implements TreeView.
|
signal |
|
overrideprotectedvirtual |
|
slot |
Reload tree when the path has changed in the address bar.
|
overridevirtual |
Implements SelectedTracksModel.