#include <RecordListModel.hpp>
|
| | RecordListModel (QObject *parent=nullptr) |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| |
| int | rowCount (const QModelIndex &index=QModelIndex()) const override |
| |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| |
| void | refreshOnFuture (QPersistentModelIndex index, QFuture< QPixmap >) |
| |
| void | killLoaders () |
| |
◆ RecordListModelRoles
| Enumerator |
|---|
| Raw | |
| NormalBanner | |
| WideBanner | |
| LogoBanner | |
| CoverBanner | |
◆ RecordListModel()
| RecordListModel::RecordListModel |
( |
QObject * | parent = nullptr | ) |
|
|
inline |
◆ addRecord
- Parameters
-
| record | |
| place_at | where to place in the list (place_at > m_records.size()) will place at the end |
◆ data()
| QVariant RecordListModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ emitReloadRecord
| void RecordListModel::emitReloadRecord |
( |
QPersistentModelIndex | index | ) |
|
|
signal |
◆ headerData()
| QVariant RecordListModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role ) const |
|
override |
◆ killLoaders()
| void RecordListModel::killLoaders |
( |
| ) |
|
◆ recordsChanged
◆ refreshOnFuture()
| void RecordListModel::refreshOnFuture |
( |
QPersistentModelIndex | index, |
|
|
QFuture< QPixmap > | future ) |
◆ reloadRecord
| void RecordListModel::reloadRecord |
( |
QPersistentModelIndex | index | ) |
|
|
slot |
◆ removeRecord
| void RecordListModel::removeRecord |
( |
QPersistentModelIndex | index | ) |
|
|
slot |
◆ rowCount()
| int RecordListModel::rowCount |
( |
const QModelIndex & | index = QModelIndex() | ) |
const |
|
override |
◆ setRecords
◆ loaders
◆ loading_thread
| QThread RecordListModel::loading_thread {} |
|
private |
◆ m_records
The documentation for this class was generated from the following files: