COPASI API
4.16.103
|
#include <CQTabWidget.h>
Signals | |
void | copyClicked () |
void | deleteClicked () |
void | newClicked () |
Public Member Functions | |
CQTabWidget (const ListViews::ObjectType &objectType, CopasiWidget *pCopasiWidget, QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual bool | leave () |
void | selectTab (int index) const |
virtual bool | update (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key) |
virtual | ~CQTabWidget () |
![]() | |
CopasiWidget (QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
bool | enter (const std::string &key) |
CCopasiDataModel * | getDataModel () |
bool | getIgnoreUpdates () |
virtual void | setFramework (int framework) |
void | setIgnoreUpdates (bool v) |
Protected Member Functions | |
virtual bool | enterProtected () |
void | load () |
bool | save () |
Private Slots | |
void | slotBtnCommit () |
void | slotBtnCopy () |
void | slotBtnDelete () |
void | slotBtnNew () |
void | slotBtnRevert () |
Private Attributes | |
bool | mIgnoreLeave |
ListViews::ObjectType | mObjectType |
std::vector< CopasiWidget * > | mPages |
Additional Inherited Members | |
![]() | |
virtual bool | protectedNotify (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="") |
![]() | |
int | mFramework |
bool | mIgnoreUpdates |
std::string | mKey |
CCopasiDataModel * | mpDataModel |
ListViews * | mpListView |
CCopasiObject * | mpObject |
Definition at line 22 of file CQTabWidget.h.
CQTabWidget::CQTabWidget | ( | const ListViews::ObjectType & | objectType, |
CopasiWidget * | pCopasiWidget, | ||
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 24 of file CQTabWidget.cpp.
References copyClicked(), deleteClicked(), FROM_UTF8, mObjectType, ListViews::MODEL, ListViews::MODELPARAMETERSET, mPages, newClicked(), ListViews::ObjectTypeName, slotBtnCopy(), slotBtnDelete(), and slotBtnNew().
|
virtual |
Definition at line 74 of file CQTabWidget.cpp.
|
signal |
Referenced by CQTabWidget(), and slotBtnCopy().
|
signal |
Referenced by CQTabWidget(), and slotBtnDelete().
|
protectedvirtual |
Reimplemented from CopasiWidget.
Definition at line 94 of file CQTabWidget.cpp.
References load(), CopasiWidget::mKey, and mPages.
Referenced by slotBtnCommit(), and slotBtnRevert().
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 79 of file CQTabWidget.cpp.
References mIgnoreLeave, mPages, and save().
Referenced by slotBtnCommit(), slotBtnCopy(), and slotBtnNew().
|
protected |
Definition at line 138 of file CQTabWidget.cpp.
References FROM_UTF8, ListViews::FUNCTION, CKeyFactory::get(), CCopasiRootContainer::getKeyFactory(), CCopasiObject::getObjectName(), CEvaluationTree::getType(), CEvaluationTree::MassAction, CopasiWidget::mKey, mObjectType, CopasiWidget::mpObject, and CEvaluationTree::PreDefined.
Referenced by enterProtected(), and update().
|
signal |
Referenced by CQTabWidget(), slotBtnCopy(), and slotBtnNew().
|
protected |
Definition at line 167 of file CQTabWidget.cpp.
References CCopasiDataModel::changed(), FROM_UTF8, CKeyFactory::get(), CCopasiRootContainer::getKeyFactory(), CCopasiObject::getObjectName(), CQMessageBox::information(), CopasiWidget::mKey, mObjectType, mPages, CopasiWidget::mpDataModel, CopasiWidget::mpObject, ListViews::ObjectTypeName, CopasiWidget::protectedNotify(), ListViews::RENAME, CCopasiObject::setObjectName(), and TO_UTF8.
Referenced by leave().
void CQTabWidget::selectTab | ( | int | index | ) | const |
Definition at line 133 of file CQTabWidget.cpp.
Referenced by CopasiUI3Window::newDoc(), CopasiUI3Window::slotFileOpenFinished(), CopasiUI3Window::slotImportSBMLFinished(), and CopasiUI3Window::slotImportSBMLFromStringFinished().
|
privateslot |
|
privateslot |
Definition at line 248 of file CQTabWidget.cpp.
References CQSpeciesDetail::copy(), CQCompartment::copy(), ReactionsWidget1::copy(), copyClicked(), leave(), mIgnoreLeave, mPages, and newClicked().
Referenced by CQTabWidget().
|
privateslot |
Definition at line 230 of file CQTabWidget.cpp.
References deleteClicked(), and mIgnoreLeave.
Referenced by CQTabWidget().
|
privateslot |
Definition at line 237 of file CQTabWidget.cpp.
References leave(), mIgnoreLeave, and newClicked().
Referenced by CQTabWidget().
|
privateslot |
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 107 of file CQTabWidget.cpp.
References ListViews::DELETE, load(), CopasiWidget::mIgnoreUpdates, CopasiWidget::mKey, mObjectType, CopasiWidget::mpObject, and ListViews::RENAME.
|
private |
Definition at line 58 of file CQTabWidget.h.
Referenced by leave(), slotBtnCopy(), slotBtnDelete(), and slotBtnNew().
|
private |
Definition at line 57 of file CQTabWidget.h.
Referenced by CQTabWidget(), load(), save(), and update().
|
private |
Definition at line 56 of file CQTabWidget.h.
Referenced by CQTabWidget(), enterProtected(), leave(), save(), and slotBtnCopy().