|
copasi API
0.1
|
#include <CQExpressionWidget.h>
Public Member Functions | |
| CQValidatorExpression (QTextEdit *parent, const char *name=0, bool isBoolean=false) | |
| virtual State | validate (QString &input, int &pos) const |
| virtual CExpression * | getExpression () |
| void | setBooleanRequired (bool booleanRequired) |
Protected Attributes | |
| CExpression | mExpression |
The class for checking the validity of a given mathematical expression
| CQValidatorExpression::CQValidatorExpression | ( | QTextEdit * | parent, |
| const char * | name = 0, |
||
| bool | isBoolean = false |
||
| ) |
| CExpression * CQValidatorExpression::getExpression | ( | ) | [virtual] |
Function to get CExpression object
| void CQValidatorExpression::setBooleanRequired | ( | bool | booleanRequired | ) |
Function to set whether boolean is required
| QValidator::State CQValidatorExpression::validate | ( | QString & | input, |
| int & | pos | ||
| ) | const [virtual] |
Function to validate a string input
This function ensures that any characters on Expression Widget are validated to go to further processes.
Reimplemented from CQValidator< QTextEdit >.
CExpression CQValidatorExpression::mExpression [protected] |
1.7.5.1