#include <csvtablemodel.h>
|
| CsvTableModel (std::shared_ptr< QList< QStringList > > data, QObject *parent=0) |
|
int | rowCount (const QModelIndex &) const |
|
int | columnCount (const QModelIndex &) const |
|
QVariant | data (const QModelIndex &index, int role) const |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
bool | insertRows (int row, int count, const QModelIndex &parent) |
|
bool | removeRows (int row, int count, const QModelIndex &parent) |
|
void | setSource (std::shared_ptr< QList< QStringList > > data) |
|
void | setFirstLineHeaders (bool x) |
|
const QList< QStringList > & | rawData () const |
|
◆ CsvTableModel()
CsvTableModel::CsvTableModel |
( |
std::shared_ptr< QList< QStringList > > |
data, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
◆ columnCount()
int CsvTableModel::columnCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
◆ data()
QVariant CsvTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
◆ flags()
Qt::ItemFlags CsvTableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ headerData()
QVariant CsvTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
◆ insertRows()
bool CsvTableModel::insertRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent |
|
) |
| |
◆ rawData()
const QList<QStringList>& CsvTableModel::rawData |
( |
| ) |
const |
|
inline |
◆ removeRows()
bool CsvTableModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent |
|
) |
| |
◆ rowCount()
int CsvTableModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
inline |
◆ setData()
bool CsvTableModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
◆ setFirstLineHeaders()
void CsvTableModel::setFirstLineHeaders |
( |
bool |
x | ) |
|
◆ setSource()
void CsvTableModel::setSource |
( |
std::shared_ptr< QList< QStringList > > |
data | ) |
|
The documentation for this class was generated from the following files: