#include <tablemodel.h>
Liste de tous les membres
Fonctions membres publiques |
| | TableModel (int n, const Datas &titels, QList< Datas > *tableData, QObject *parent=0) |
| | ~TableModel () |
| int | rowCount (const QModelIndex &parent) const |
| int | columnCount (const QModelIndex &parent) const |
| QVariant | data (const QModelIndex &index, int role) const |
| int | dataId (const QModelIndex &index, int role) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
| bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
| QList< Datas > | getList () |
Attributs privés |
| QList< Datas > * | m_tableData |
| Datas | m_titels |
| int | m_dim |
Documentation des constructeurs et destructeur
| TableModel::TableModel |
( |
int |
n, |
|
|
const Datas & |
titels, |
|
|
QList< Datas > * |
tableData, |
|
|
QObject * |
parent = 0 | |
|
) |
| | [explicit] |
| TableModel::~TableModel |
( |
|
) |
|
Documentation des fonctions membres
| int TableModel::columnCount |
( |
const QModelIndex & |
parent |
) |
const |
| QVariant TableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role | |
|
) |
| | const |
| int TableModel::dataId |
( |
const QModelIndex & |
index, |
|
|
int |
role | |
|
) |
| | const |
| Qt::ItemFlags TableModel::flags |
( |
const QModelIndex & |
index |
) |
const |
| QList< Datas > TableModel::getList |
( |
|
) |
|
| QVariant TableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role | |
|
) |
| | const |
| bool TableModel::insertRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() | |
|
) |
| | |
| bool TableModel::removeRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() | |
|
) |
| | |
| int TableModel::rowCount |
( |
const QModelIndex & |
parent |
) |
const |
| bool TableModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole | |
|
) |
| | |
Documentation des données membres
La documentation de cette classe a été générée à partir des fichiers suivants :