#include <CCopasiSelectionDialog.h>
List of all members.
Public Member Functions |
| CCopasiSelectionDialog (QWidget *parent=0, const char *name=0, bool modal=false) |
| ~CCopasiSelectionDialog () |
void | setOutputVector (std::vector< const CCopasiObject * > *outputVector) |
void | setModel (const CModel *model, const CCopasiSimpleSelectionTree::ObjectClasses &classes) |
void | setSingleSelection (bool singleSelectionMode) |
void | enableExpertMode (bool enable) |
Static Public Member Functions |
static const CCopasiObject * | getObjectSingle (QWidget *pParent, const CCopasiSimpleSelectionTree::ObjectClasses &classes, const CCopasiObject *pCurrentObject=NULL) |
static std::vector< const
CCopasiObject * > | getObjectVector (QWidget *pParent, const CCopasiSimpleSelectionTree::ObjectClasses &classes, const std::vector< const CCopasiObject * > *pCurrentSelection=NULL) |
static std::vector< const
CCopasiObject * > | chooseCellMatrix (const CArrayAnnotation *pArrayAnnotation, bool single, bool value, std::string caption="") |
Protected Slots |
void | okButton_clicked () |
void | cancelButton_clicked () |
void | modeButton_toggled (bool checked) |
Protected Attributes |
QPushButton * | mpOKButton |
QPushButton * | mpCancelButton |
QCheckBox * | mpModeCheckBox |
Q3HBoxLayout * | mpButtonBox |
QWidget * | mpMainWidget |
CCopasiSelectionWidget * | mpSelectionWidget |
Q3VBoxLayout * | mpMainLayout |
std::vector< const
CCopasiObject * > * | mpTmpVector |
std::vector< const
CCopasiObject * > * | mpOutputVector |
bool | mExpertMode |
bool | mExpertModeEnabled |
Constructor & Destructor Documentation
CCopasiSelectionDialog::CCopasiSelectionDialog |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false |
|
) |
| |
CCopasiSelectionDialog::~CCopasiSelectionDialog |
( |
| ) |
|
Member Function Documentation
void CCopasiSelectionDialog::cancelButton_clicked |
( |
| ) |
[protected, slot] |
std::vector< const CCopasiObject * > CCopasiSelectionDialog::chooseCellMatrix |
( |
const CArrayAnnotation * |
pArrayAnnotation, |
|
|
bool |
single, |
|
|
bool |
value, |
|
|
std::string |
caption = "" |
|
) |
| [static] |
single=true means only one object can be returned (in the first element of the return vector) when single=true and the dialog is canceled the return vector will have size=1 and contain the NULL pointer. when single=false and the dialog is canceled the return vector will be empty. value=true means only objects that have a value (i.e. arrayElementReferences) are allowed. otherwise also the whole array annotation may be returned.
void CCopasiSelectionDialog::enableExpertMode |
( |
bool |
enable | ) |
|
void CCopasiSelectionDialog::modeButton_toggled |
( |
bool |
checked | ) |
[protected, slot] |
void CCopasiSelectionDialog::okButton_clicked |
( |
| ) |
[protected, slot] |
void CCopasiSelectionDialog::setOutputVector |
( |
std::vector< const CCopasiObject * > * |
outputVector | ) |
|
void CCopasiSelectionDialog::setSingleSelection |
( |
bool |
singleSelectionMode | ) |
|
Member Data Documentation
The documentation for this class was generated from the following files: