COPASI API
4.16.103
|
#include <CQAutolayoutWizard.h>
Public Member Functions | |
CQSelectionWizardPage (const CModel &model) | |
void | fillContainers (std::set< const CCompartment * > &compartments, std::set< const CReaction * > &reactions, std::set< const CMetab * > &species) const |
Protected Slots | |
void | slotCreateCompartments (int state) |
void | slotItemChanged (QTreeWidgetItem *pItem, int column) |
Protected Member Functions | |
void | fillTree (const CModel &model) |
Protected Attributes | |
bool | mCreateCompartmentElements |
QTreeWidgetItem * | mpCompartmentsItem |
QTreeWidgetItem * | mpReactionsItem |
QTreeWidget * | mpSelectionTree |
This is the first page of the wizard. It displays a tree where the user can select the objects that should be included in the layout.
Definition at line 82 of file CQAutolayoutWizard.h.
CQSelectionWizardPage::CQSelectionWizardPage | ( | const CModel & | model | ) |
Definition at line 91 of file CQAutolayoutWizard.cpp.
References fillTree(), mpCompartmentsItem, mpReactionsItem, mpSelectionTree, slotCreateCompartments(), and slotItemChanged().
void CQSelectionWizardPage::fillContainers | ( | std::set< const CCompartment * > & | compartments, |
std::set< const CReaction * > & | reactions, | ||
std::set< const CMetab * > & | species | ||
) | const |
Checks which elements have been selected in the tree and fills the containers that are passed in with those elements.
Definition at line 495 of file CQAutolayoutWizard.cpp.
References CQModelElementTreeWidgetItem::getObject(), mpCompartmentsItem, and mpReactionsItem.
Definition at line 392 of file CQAutolayoutWizard.cpp.
References CModel::getCompartments(), CModelEntity::getKey(), CReaction::getKey(), CCompartment::getMetabolites(), CModel::getMetabolites(), CReaction::getObjectDisplayName(), CMetab::getObjectDisplayName(), CCopasiObject::getObjectDisplayName(), CModel::getReactions(), mpCompartmentsItem, mpReactionsItem, and CCopasiVector< T >::size().
Referenced by CQSelectionWizardPage().
|
protectedslot |
Definition at line 339 of file CQAutolayoutWizard.cpp.
References mCreateCompartmentElements, mpCompartmentsItem, mpSelectionTree, and slotItemChanged().
Referenced by CQSelectionWizardPage().
|
protectedslot |
Definition at line 119 of file CQAutolayoutWizard.cpp.
References mpCompartmentsItem, mpReactionsItem, mpSelectionTree, and slotItemChanged().
Referenced by CQSelectionWizardPage(), slotCreateCompartments(), and slotItemChanged().
|
protected |
Definition at line 105 of file CQAutolayoutWizard.h.
Referenced by slotCreateCompartments().
|
protected |
Definition at line 112 of file CQAutolayoutWizard.h.
Referenced by CQSelectionWizardPage(), fillContainers(), fillTree(), slotCreateCompartments(), and slotItemChanged().
|
protected |
Definition at line 115 of file CQAutolayoutWizard.h.
Referenced by CQSelectionWizardPage(), fillContainers(), fillTree(), and slotItemChanged().
|
protected |
Definition at line 109 of file CQAutolayoutWizard.h.
Referenced by CQSelectionWizardPage(), slotCreateCompartments(), and slotItemChanged().