|
|
| ArtistView (QWidget *parent=nullptr) |
| |
|
virtual void | init (AbstractLibrary *library) |
| |
|
void | setItemModel (ItemModel *model) |
| |
|
void | showClearButton (bool visible) |
| |
|
void | useClearButton (bool yesno) |
| |
|
virtual Library::ContextMenu::Entries | contextMenuEntries () const |
| |
| bool | isValidDragPosition (const QPoint &p) const override |
| |
|
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 | viewportWidth () const |
| |
|
int | setSearchstring (const QString &str) |
| |
|
void | selectNextMatch (const QString &str) |
| |
|
void | selectPreviousMatch (const QString &str) |
| |
|
virtual void | searchDone () |
| |
|
virtual IndexSet | selectedItems () const |
| |
|
|
void | headerColumnsChanged (int oldCount, int newCount) |
| |
|
void | sortorderChanged (int index, Qt::SortOrder sortorder) |
| |
|
void | sectionResized (int logicalIndex, int oldSize, int newSize) |
| |
|
void | sectionMoved (int logicalIndex, int old_visualIndex, int newVisualIndex) |
| |
|
void | autoResizeTriggered (bool b) |
| |
|
virtual void | showContextMenu (const QPoint &) |
| |
|
virtual void | mergeActionTriggered () |
| |
|
virtual void | deleteClicked () |
| |
|
virtual void | reloadClicked () |
| |
|
virtual void | albumArtistsToggled () |
| |
|
virtual void | filterExtensionsTriggered (const QString &extension, bool b) |
| |
|
virtual void | fill () |
| |
|
| AbstractLibrary * | library () const override |
| |
| void | selectedItemsChanged (const IndexSet &indexes) override |
| |
| void | playNextClicked () override |
| |
| void | appendClicked () override |
| |
| void | refreshClicked () override |
| |
| void | playClicked () override |
| |
| void | playNewTabClicked () override |
| |
| void | runMergeOperation (const Library::MergeData &mergedata) override |
| |
| void | initView (AbstractLibrary *library) override |
| | here, the model and delegate should be instantiated as well as connections and setting listeners
|
| |
| void | initContextMenu () override |
| |
| ColumnHeaderList | columnHeaders () const override |
| | returns a list of ColumnHeader objects containing name, sortorder. Everytime when the language is changed, this method is fetched as well when the UI is instantiated
|
| |
| QByteArray | columnHeaderState () const override |
| | This method returns the SAVED column header sizes as they were remembered since the last time sayonara was running. Also see save_column_header_sizes()
|
| |
| void | saveColumnHeaderState (const QByteArray &state) override |
| | Here, the column headers sizes should be saved somewhere.
|
| |
| VariableSortorder | sortorder () const override |
| | returns the current sortorder for the table view
|
| |
| void | applySortorder (VariableSortorder s) override |
| | saves the current sortorder
|
| |
| bool | autoResizeState () const override |
| |
| void | saveAutoResizeState (bool b) override |
| |
| bool | isMergeable () const override |
| | indicates if multiple ids can be merged into one. For example if the same artist is written in three different ways, they can be merged to one. On the other hand, for tracks that does not make sense
|
| |
| MD::Interpretation | metadataInterpretation () const override |
| |
| void | languageChanged () override |
| |
|
void | setupColumnNames () |
| | the column names are reloaded and updated with their corresponding texts
|
| |
| int | mapModelIndexToIndex (const QModelIndex &idx) const override |
| |
| ModelIndexRange | mapIndexToModelIndexes (int idx) const override |
| |
|
virtual void | mousePressEvent (QMouseEvent *event) override |
| |
|
virtual void | contextMenuEvent (QContextMenuEvent *event) override |
| |
|
virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| |
|
virtual void | dragMoveEvent (QDragMoveEvent *event) override |
| |
|
virtual void | dropEvent (QDropEvent *event) override |
| |
|
virtual void | resizeEvent (QResizeEvent *event) override |
| |
|
virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
| |
|
Library::ContextMenu * | contextMenu () const |
| |
|
virtual void | initCustomContextMenu (Library::ContextMenu *menu) |
| |
|
ItemModel * | itemModel () const |
| |
| MetaDataList | infoDialogData () const override |
| |
| QWidget * | getParentWidget () override |
| |
|
virtual void | importRequested (const QStringList &files) |
| |
| int | viewportHeight () const 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 | skinChanged () |
| |
|
virtual void | skinChanged () |
| |
|
virtual bool | hasMetadata () const |
| |
|
virtual QStringList | pathlist () const |
| |
|
virtual void | showInfo () |
| |
|
virtual void | showLyrics () |
| |
|
virtual void | showEdit () |
| |
|
virtual void | showCoverEdit () |
| |
|
virtual bool | hasDragLabel () const |
| |
|
virtual QString | dragLabel () const |
| |