![]() |
Sayonara Player
|
#include <AlternativeCoverItemModel.h>
The AlternativeCoverItemModel class.
Public Member Functions | |
| AlternativeCoverItemModel (QObject *parent) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| bool | set_cover (int row, int column, const QString &cover) |
| void | reset () |
| bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
| bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
| bool | is_valid (int row, int col) |
| QSize | get_cover_size (const QModelIndex &idx) const |
| RowColumn | cvt_2_row_col (int idx) const |
| int | cvt_2_idx (int row, int col) const |
1.8.13