copasi API  0.1
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
FunctionWidget1 Class Reference

A widget class for Functions branch. More...

#include <FunctionWidget1.h>

Inheritance diagram for FunctionWidget1:
CopasiWidget

List of all members.

Public Member Functions

 FunctionWidget1 (QWidget *parent, const char *name=0, Qt::WFlags f=0)
virtual ~FunctionWidget1 ()
 Destructor.
virtual bool update (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
virtual bool leave ()

Protected Slots

virtual void slotCancelButtonClicked ()
 Slot for being activated wehenver Cancel button is clicked.
virtual void slotCommitButtonClicked ()
 Slot for being activated wehenver Commit button is clicked.
virtual void slotNewButtonClicked ()
 Slot for being activated wehenver New button is clicked.
virtual void slotDeleteButtonClicked ()
 Slot for being activated whenever Delete button is clicked.
virtual void slotFcnDescriptionChanged (bool)
 Slot for changing the function description.
virtual void slotReversibilityChanged ()
 Slot for changing the reversibility of the function.
void slotTableValueChanged (const QString &)
 Slot for changing the table value.

Protected Member Functions

virtual bool enterProtected ()
bool loadFromFunction (const CFunction *=NULL)
bool loadParameterTable ()
bool loadUsageTable ()
 Function to generate the text representation of the usage restrictions.
bool loadReversibility (TriLogic rev)
void updateApplication ()
bool saveToFunction ()
bool copyFunctionContentsToFunction (const CFunction *src, CFunction *target)
bool functionParametersChanged ()

Protected Attributes

bool flagChanged
bool isValid
bool mIgnoreFcnDescriptionChange
CFunctionmpFunction

Detailed Description

A widget class for Functions branch.

This widget shows detailed description of an individual function


Constructor & Destructor Documentation

FunctionWidget1::FunctionWidget1 ( QWidget *  parent,
const char *  name = 0,
Qt::WFlags  f = 0 
)
FunctionWidget1::~FunctionWidget1 ( ) [virtual]

Destructor.


Member Function Documentation

bool FunctionWidget1::copyFunctionContentsToFunction ( const CFunction src,
CFunction target 
) [protected]
bool FunctionWidget1::enterProtected ( ) [protected, virtual]

Reimplemented from CopasiWidget.

bool FunctionWidget1::functionParametersChanged ( ) [protected]
bool FunctionWidget1::leave ( ) [virtual]

Reimplemented from CopasiWidget.

bool FunctionWidget1::loadFromFunction ( const CFunction func = NULL) [protected]
bool FunctionWidget1::loadParameterTable ( ) [protected]
bool FunctionWidget1::loadReversibility ( TriLogic  rev) [protected]
bool FunctionWidget1::loadUsageTable ( ) [protected]

Function to generate the text representation of the usage restrictions.

bool FunctionWidget1::saveToFunction ( ) [protected]
void FunctionWidget1::slotCancelButtonClicked ( ) [protected, virtual, slot]

Slot for being activated wehenver Cancel button is clicked.

void FunctionWidget1::slotCommitButtonClicked ( ) [protected, virtual, slot]

Slot for being activated wehenver Commit button is clicked.

void FunctionWidget1::slotDeleteButtonClicked ( ) [protected, virtual, slot]

Slot for being activated whenever Delete button is clicked.

void FunctionWidget1::slotFcnDescriptionChanged ( bool  valid) [protected, virtual, slot]

Slot for changing the function description.

This slot function is called whenever the function description is changed.

void FunctionWidget1::slotNewButtonClicked ( ) [protected, virtual, slot]

Slot for being activated wehenver New button is clicked.

void FunctionWidget1::slotReversibilityChanged ( ) [protected, virtual, slot]

Slot for changing the reversibility of the function.

void FunctionWidget1::slotTableValueChanged ( const QString &  string) [protected, slot]

Slot for changing the table value.

virtual bool FunctionWidget1::update ( ListViews::ObjectType  objectType,
ListViews::Action  action,
const std::string &  key 
) [virtual]

Reimplemented from CopasiWidget.

void FunctionWidget1::updateApplication ( ) [protected]

Member Data Documentation

bool FunctionWidget1::flagChanged [protected]
bool FunctionWidget1::isValid [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines