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