|
Sayonara Player
|
The FileListView class. More...
#include <FileListView.h>
Public Types | |
| enum class | SelectionType { Rows = 0 , Items } |
Public Member Functions | |
| FileListView (QWidget *parent=nullptr) | |
| void | init (Library::InfoAccessor *libraryInfoAccessor, const Library::Info &info) |
| QStringList | selectedPaths () const |
| void | setParentDirectory (const QString &dir) |
| QString | parentDirectory () const |
| virtual void | showEvent (QShowEvent *e) override |
| virtual void | showEvent (QShowEvent *e) override |
| virtual void | setSearchableModel (Model *model) |
| int | rowCount () const |
| QAbstractItemView * | view () const |
| virtual int | viewportHeight () const |
| virtual int | viewportWidth () const |
| int | setSearchstring (const QString &str) |
| void | selectNextMatch (const QString &str) |
| void | selectPreviousMatch (const QString &str) |
| virtual void | searchDone () |
| virtual IndexSet | selectedItems () const |
Protected Types | |
| enum class | SearchDirection : unsigned char { First , Next , Prev } |
| 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 |
| MetaDataList | infoDialogData () const override |
| bool | hasMetadata () const override |
| QStringList | pathlist () const override |
| QWidget * | getParentWidget () override |
| void | keyPressEvent (QKeyEvent *e) override |
| virtual QModelIndex | matchIndex (const QString &str, SearchDirection direction) const |
| virtual void | selectMatch (const QString &str, SearchDirection direction) |
| bool | handleKeyPress (QKeyEvent *e) override |
| void | selectRows (const IndexSet &rows, int minimumColumn=-1, int maximumColumn=-1) |
| void | selectItems (const IndexSet &indexes) |
| void | selectAll () |
| virtual SelectionViewInterface::SelectionType | selectionType () const |
| virtual void | languageChanged () |
| virtual void | showInfo () |
| virtual void | showLyrics () |
| virtual void | showEdit () |
| virtual void | showCoverEdit () |
The FileListView class.
|
overrideprotectedvirtual |
Implements InfoDialogContainer.
|
overrideprotectedvirtualinherited |
Reimplemented from SelectionViewInterface.
|
overrideprotectedvirtual |
Reimplemented from InfoDialogContainer.
|
overrideprotectedvirtual |
Implements InfoDialogContainer.
|
overrideprotectedvirtual |
Implements SelectionViewInterface.
|
overrideprotectedvirtual |
Implements SelectionViewInterface.
|
overrideprotectedvirtual |
Implements InfoDialogContainer.
|
overrideprotectedvirtual |
Reimplemented from InfoDialogContainer.
|
overrideprotectedvirtual |
Reimplemented from Gui::WidgetTemplateParent.