COPASI API
4.16.103
|
#include <CQEFMNetReactionDM.h>
Public Member Functions | |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
CQEFMNetReactionDM (QObject *parent=0) | |
QVariant | data (const QModelIndex &index, int role) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
virtual bool | isDefaultRow (const QModelIndex &i) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
void | setTask (const CEFMTask *pTask) |
![]() | |
virtual bool | clear () |
CQBaseDataModel (QObject *parent=0) | |
QString | createNewName (const QString name, const int nameCol) |
bool | insertRow () |
bool | removeRow (int position) |
Protected Member Functions | |
virtual bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
virtual bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
Private Attributes | |
std::vector< CFluxMode > ::const_iterator | mBeginModes |
size_t | mModesSize |
const CEFMTask * | mpTask |
Additional Inherited Members | |
![]() | |
void | notifyGUI (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="") |
Definition at line 34 of file CQEFMNetReactionDM.h.
CQEFMNetReactionDM::CQEFMNetReactionDM | ( | QObject * | parent = 0 | ) |
Definition at line 28 of file CQEFMNetReactionDM.cpp.
|
virtual |
|
virtual |
Implements CQBaseDataModel.
Definition at line 56 of file CQEFMNetReactionDM.cpp.
References COL_MODIFIER, COL_REACTION, COL_ROW_NUMBER, FROM_UTF8, CEFMTask::getInternalSpecies(), CEFMTask::getNetReaction(), mBeginModes, mpTask, and rowCount().
|
virtual |
Reimplemented from CQBaseDataModel.
Definition at line 48 of file CQEFMNetReactionDM.cpp.
|
virtual |
Implements CQBaseDataModel.
Definition at line 87 of file CQEFMNetReactionDM.cpp.
References COL_MODIFIER, COL_REACTION, and COL_ROW_NUMBER.
|
protectedvirtual |
Implements CQBaseDataModel.
Definition at line 135 of file CQEFMNetReactionDM.cpp.
|
virtual |
Reimplemented from CQBaseDataModel.
Definition at line 147 of file CQEFMNetReactionDM.cpp.
|
protectedvirtual |
Implements CQBaseDataModel.
Definition at line 141 of file CQEFMNetReactionDM.cpp.
|
virtual |
Definition at line 35 of file CQEFMNetReactionDM.cpp.
References mModesSize, and mpTask.
Referenced by data().
|
virtual |
Implements CQBaseDataModel.
Definition at line 129 of file CQEFMNetReactionDM.cpp.
Definition at line 114 of file CQEFMNetReactionDM.cpp.
References CEFMTask::getFluxModes(), mBeginModes, mModesSize, mpTask, and pTask.
Referenced by CQEFMResultWidget::loadResult().
|
private |
Definition at line 61 of file CQEFMNetReactionDM.h.
|
private |
Definition at line 62 of file CQEFMNetReactionDM.h.
Referenced by rowCount(), and setTask().
|
private |
Definition at line 59 of file CQEFMNetReactionDM.h.
Referenced by data(), rowCount(), and setTask().