26 #define COL_NAME_SPECIES 1
27 #define COL_COMPARTMENT 2
28 #define COL_TYPE_SPECIES 3
29 #define COL_ICONCENTRATION 4
31 #define COL_CONCENTRATION 6
35 #define COL_IEXPRESSION_SPECIES 10
36 #define COL_EXPRESSION_SPECIES 11
37 #define TOTAL_COLS_SPECIES 12
45 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
46 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
47 Qt::ItemFlags
flags(
const QModelIndex &index)
const;
48 QVariant
data(
const QModelIndex &index,
int role)
const;
49 QVariant
headerData(
int section, Qt::Orientation orientation,
50 int role = Qt::DisplayRole)
const;
51 bool setData(
const QModelIndex &index,
const QVariant &value,
52 int role = Qt::EditRole);
56 bool removeRows(QModelIndexList rows,
const QModelIndex &index = QModelIndex());
74 bool insertRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
75 bool removeRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
void setFlagConc(bool flag)
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
CQSpecieDM(QObject *parent=0)
Qt::ItemFlags flags(const QModelIndex &index) const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
const QStringList & getTypes()
QVariant data(const QModelIndex &index, int role) const
bool insertRows(int position, int rows, const QModelIndex &index=QModelIndex())
bool removeRows(QModelIndexList rows, const QModelIndex &index=QModelIndex())
const std::vector< unsigned C_INT32 > & getItemToType()
std::vector< unsigned C_INT32 > mItemToType