#include <DocumentModel.h>
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
| DocumentModel (QObject *parent) |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
|
QModelIndex | parent (const QModelIndex &index) const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
bool | setData (const QModelIndex &idx, const QVariant &value, int role) |
|
bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &value, int role=Qt::EditRole) |
|
virtual | ~DocumentModel () |
|
◆ DocumentModel()
DocumentModel::DocumentModel |
( |
QObject * |
parent | ) |
|
◆ ~DocumentModel()
DocumentModel::~DocumentModel |
( |
| ) |
|
|
virtual |
◆ columnCount()
int DocumentModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ data()
QVariant DocumentModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ flags()
Qt::ItemFlags DocumentModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ headerData()
QVariant DocumentModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ index()
QModelIndex DocumentModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
◆ parent()
QModelIndex DocumentModel::parent |
( |
const QModelIndex & |
index | ) |
const |
◆ rowCount()
int DocumentModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ setData()
bool DocumentModel::setData |
( |
const QModelIndex & |
idx, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
◆ setHeaderData()
bool DocumentModel::setHeaderData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
The documentation for this class was generated from the following files:
- src/Gui/DocumentModel.h
- src/Gui/DocumentModel.cpp