COPASI API
4.16.103
|
#include <CCopasiSelectionWidget.h>
Public Member Functions | |
CCopasiSelectionWidget (QWidget *parent=0) | |
void | commit () |
bool | expertMode () const |
bool | isSingleSelection () const |
void | populateTree (const CModel *model, const CQSimpleSelectionTree::ObjectClasses &classes) |
void | setExpertMode (bool expertMode) |
void | setOutputVector (std::vector< const CCopasiObject * > *outputVector) |
void | setSingleSelection (bool singleSelection) |
~CCopasiSelectionWidget () | |
Protected Attributes | |
bool | mExpertMode |
ObjectBrowserWidget * | mpObjectBrowser |
std::vector< const CCopasiObject * > * | mpOutputVector |
CQSimpleSelectionTree * | mpSimpleTree |
bool | mSingleSelect |
Definition at line 28 of file CCopasiSelectionWidget.h.
CCopasiSelectionWidget::CCopasiSelectionWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 31 of file CCopasiSelectionWidget.cpp.
References mpSimpleTree, setExpertMode(), and setSingleSelection().
CCopasiSelectionWidget::~CCopasiSelectionWidget | ( | ) |
Definition at line 45 of file CCopasiSelectionWidget.cpp.
References mpObjectBrowser, mpSimpleTree, and pdelete.
void CCopasiSelectionWidget::commit | ( | ) |
Definition at line 151 of file CCopasiSelectionWidget.cpp.
References CQSimpleSelectionTree::commitClicked(), ObjectBrowserWidget::commitClicked(), mExpertMode, mpObjectBrowser, mpOutputVector, mpSimpleTree, and mSingleSelect.
Referenced by CCopasiSelectionDialog::okButton_clicked(), and CCopasiPlotSelectionDialog::slotOKButtonClicked().
bool CCopasiSelectionWidget::expertMode | ( | ) | const |
Definition at line 146 of file CCopasiSelectionWidget.cpp.
References mExpertMode.
Referenced by setExpertMode().
bool CCopasiSelectionWidget::isSingleSelection | ( | ) | const |
void CCopasiSelectionWidget::populateTree | ( | const CModel * | model, |
const CQSimpleSelectionTree::ObjectClasses & | classes | ||
) |
Definition at line 51 of file CCopasiSelectionWidget.cpp.
References mpSimpleTree, and CQSimpleSelectionTree::populateTree().
Referenced by CCopasiPlotSelectionDialog::setModel(), and CCopasiSelectionDialog::setModel().
void CCopasiSelectionWidget::setExpertMode | ( | bool | expertMode | ) |
Definition at line 111 of file CCopasiSelectionWidget.cpp.
References CQSimpleSelectionTree::commitClicked(), ObjectBrowserWidget::commitClicked(), expertMode(), mExpertMode, mpObjectBrowser, mpOutputVector, mpSimpleTree, CQSimpleSelectionTree::setOutputVector(), and ObjectBrowserWidget::setOutputVector().
Referenced by CCopasiSelectionWidget(), CCopasiSelectionDialog::modeButton_toggled(), and CCopasiPlotSelectionDialog::slotExpertCheckBoxToggled().
void CCopasiSelectionWidget::setOutputVector | ( | std::vector< const CCopasiObject * > * | outputVector | ) |
Definition at line 57 of file CCopasiSelectionWidget.cpp.
References mExpertMode, mpObjectBrowser, mpOutputVector, mpSimpleTree, CQSimpleSelectionTree::setOutputVector(), and ObjectBrowserWidget::setOutputVector().
Referenced by CCopasiPlotSelectionDialog::CCopasiPlotSelectionDialog(), CCopasiSelectionDialog::CCopasiSelectionDialog(), CCopasiSelectionDialog::setOutputVector(), and CCopasiPlotSelectionDialog::setOutputVectors().
void CCopasiSelectionWidget::setSingleSelection | ( | bool | singleSelection | ) |
Definition at line 71 of file CCopasiSelectionWidget.cpp.
References mpObjectBrowser, mpSimpleTree, and mSingleSelect.
Referenced by CCopasiPlotSelectionDialog::CCopasiPlotSelectionDialog(), CCopasiSelectionWidget(), and CCopasiSelectionDialog::setSingleSelection().
|
protected |
Definition at line 50 of file CCopasiSelectionWidget.h.
Referenced by commit(), expertMode(), setExpertMode(), and setOutputVector().
|
protected |
Definition at line 47 of file CCopasiSelectionWidget.h.
Referenced by commit(), setExpertMode(), setOutputVector(), setSingleSelection(), and ~CCopasiSelectionWidget().
|
protected |
Definition at line 48 of file CCopasiSelectionWidget.h.
Referenced by commit(), setExpertMode(), and setOutputVector().
|
protected |
Definition at line 46 of file CCopasiSelectionWidget.h.
Referenced by CCopasiSelectionWidget(), commit(), populateTree(), setExpertMode(), setOutputVector(), setSingleSelection(), and ~CCopasiSelectionWidget().
|
protected |
Definition at line 49 of file CCopasiSelectionWidget.h.
Referenced by commit(), isSingleSelection(), and setSingleSelection().