COPASI API
4.16.103
|
#include <CQEFMReactionDM.h>
Public Member Functions | |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
CQEFMReactionDM (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 |
std::vector< const CReaction * > ::const_iterator | mBeginReactions |
size_t | mModesSize |
const CEFMTask * | mpTask |
size_t | mReactionsSize |
Additional Inherited Members | |
![]() | |
void | notifyGUI (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="") |
Definition at line 30 of file CQEFMReactionDM.h.
CQEFMReactionDM::CQEFMReactionDM | ( | QObject * | parent = 0 | ) |
Definition at line 27 of file CQEFMReactionDM.cpp.
|
virtual |
|
virtual |
Implements CQBaseDataModel.
Definition at line 60 of file CQEFMReactionDM.cpp.
References COL_ROW_NUMBER, mBeginModes, and rowCount().
|
virtual |
Reimplemented from CQBaseDataModel.
Definition at line 52 of file CQEFMReactionDM.cpp.
|
virtual |
Implements CQBaseDataModel.
Definition at line 86 of file CQEFMReactionDM.cpp.
References COL_ROW_NUMBER, FROM_UTF8, and mBeginReactions.
|
protectedvirtual |
Implements CQBaseDataModel.
Definition at line 135 of file CQEFMReactionDM.cpp.
|
virtual |
Reimplemented from CQBaseDataModel.
Definition at line 147 of file CQEFMReactionDM.cpp.
|
protectedvirtual |
Implements CQBaseDataModel.
Definition at line 141 of file CQEFMReactionDM.cpp.
|
virtual |
Definition at line 36 of file CQEFMReactionDM.cpp.
References mModesSize, and mpTask.
Referenced by data().
|
virtual |
Implements CQBaseDataModel.
Definition at line 129 of file CQEFMReactionDM.cpp.
Definition at line 110 of file CQEFMReactionDM.cpp.
References CEFMTask::getFluxModes(), CCopasiTask::getProblem(), mBeginModes, mBeginReactions, mModesSize, mpTask, mReactionsSize, pTask, and CCopasiParameterGroup::size().
Referenced by CQEFMResultWidget::loadResult().
|
private |
Definition at line 57 of file CQEFMReactionDM.h.
|
private |
Definition at line 60 of file CQEFMReactionDM.h.
Referenced by headerData(), and setTask().
|
private |
Definition at line 58 of file CQEFMReactionDM.h.
Referenced by rowCount(), and setTask().
|
private |
Definition at line 55 of file CQEFMReactionDM.h.
Referenced by columnCount(), rowCount(), and setTask().
|
private |
Definition at line 61 of file CQEFMReactionDM.h.
Referenced by columnCount(), and setTask().