#include <lazyloadingmodel.h>
|
| | LazyLoadingModel (QObject *parent=nullptr) |
| |
| 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 |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| |
| void | addRow (const TTSRow &row) |
| |
| void | insertRow (int row) |
| |
| bool | removeRow (int row, const QModelIndex &parent=QModelIndex()) |
| |
| void | clear () |
| |
| const QVector< TTSRow > & | rows () const |
| |
| void | setHorizontalHeaderLabels (const QStringList &labels) |
| |
◆ LazyLoadingModel()
| LazyLoadingModel::LazyLoadingModel |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ addRow()
| void LazyLoadingModel::addRow |
( |
const TTSRow & | row | ) |
|
◆ clear()
| void LazyLoadingModel::clear |
( |
| ) |
|
◆ columnCount()
| int LazyLoadingModel::columnCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ data()
| QVariant LazyLoadingModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ flags()
| Qt::ItemFlags LazyLoadingModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ headerData()
| QVariant LazyLoadingModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ insertRow()
| void LazyLoadingModel::insertRow |
( |
int | row | ) |
|
◆ removeRow()
| bool LazyLoadingModel::removeRow |
( |
int | row, |
|
|
const QModelIndex & | parent = QModelIndex() ) |
◆ rowCount()
| int LazyLoadingModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ rows()
| const QVector< TTSRow > & LazyLoadingModel::rows |
( |
| ) |
const |
◆ setData()
| bool LazyLoadingModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role = Qt::EditRole ) |
|
override |
◆ setHorizontalHeaderLabels()
| void LazyLoadingModel::setHorizontalHeaderLabels |
( |
const QStringList & | labels | ) |
|
◆ m_horizontalHeaderLabels
| QStringList LazyLoadingModel::m_horizontalHeaderLabels |
|
private |
◆ m_rows
| QVector<TTSRow> LazyLoadingModel::m_rows |
|
private |
The documentation for this class was generated from the following files: