#include <CQGlobalQuantityDM.h>
List of all members.
Public Member Functions |
| CQGlobalQuantityDM (QObject *parent=0) |
const QStringList & | getTypes () |
const std::vector< unsigned
C_INT32 > & | getItemToType () |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | data (const QModelIndex &index, int role) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
bool | removeRows (QModelIndexList rows, const QModelIndex &index=QModelIndex()) |
Protected Member Functions |
bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
Protected Attributes |
QStringList | mTypes |
std::vector< unsigned C_INT32 > | mItemToType |
Constructor & Destructor Documentation
CQGlobalQuantityDM::CQGlobalQuantityDM |
( |
QObject * |
parent = 0 | ) |
|
Member Function Documentation
int CQGlobalQuantityDM::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
QVariant CQGlobalQuantityDM::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const [virtual] |
Qt::ItemFlags CQGlobalQuantityDM::flags |
( |
const QModelIndex & |
index | ) |
const [virtual] |
const std::vector< unsigned C_INT32 > & CQGlobalQuantityDM::getItemToType |
( |
| ) |
|
const QStringList & CQGlobalQuantityDM::getTypes |
( |
| ) |
|
QVariant CQGlobalQuantityDM::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const [virtual] |
bool CQGlobalQuantityDM::insertRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() |
|
) |
| [protected, virtual] |
bool CQGlobalQuantityDM::removeRows |
( |
QModelIndexList |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() |
|
) |
| |
bool CQGlobalQuantityDM::removeRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index = QModelIndex() |
|
) |
| [protected, virtual] |
int CQGlobalQuantityDM::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
bool CQGlobalQuantityDM::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| [virtual] |
Member Data Documentation
A vector mapping the item index to a model valu type
The documentation for this class was generated from the following files: