#include <SeExprEdEditable.h>
Public Member Functions | |
SeExprEdNumberEditable (const std::string &name, int startPos, int endPos, double val) | |
bool | parseComment (const std::string &comment) |
parses a comment. if false is returned then delete the control from the editable | |
std::string | str () const |
void | appendString (std::stringstream &stream) const |
virtual bool | controlsMatch (const SeExprEdEditable &other) const |
Public Attributes | |
double | v |
double | min |
double | max |
bool | isInt |
Definition at line 56 of file SeExprEdEditable.h.
SeExprEdNumberEditable::SeExprEdNumberEditable | ( | const std::string & | name, | |
int | startPos, | |||
int | endPos, | |||
double | val | |||
) | [inline] |
Definition at line 61 of file SeExprEdEditable.h.
void SeExprEdNumberEditable::appendString | ( | std::stringstream & | stream | ) | const [inline, virtual] |
virtual bool SeExprEdNumberEditable::controlsMatch | ( | const SeExprEdEditable & | other | ) | const [inline, virtual] |
Definition at line 94 of file SeExprEdEditable.h.
References isInt, max, min, SeExprEdEditable::name, and v.
bool SeExprEdNumberEditable::parseComment | ( | const std::string & | comment | ) | [inline, virtual] |
parses a comment. if false is returned then delete the control from the editable
Implements SeExprEdEditable.
Definition at line 65 of file SeExprEdEditable.h.
std::string SeExprEdNumberEditable::str | ( | ) | const [inline, virtual] |
Reimplemented from SeExprEdEditable.
Definition at line 87 of file SeExprEdEditable.h.
References isInt, max, min, SeExprEdEditable::name, and v.
Definition at line 60 of file SeExprEdEditable.h.
Referenced by controlsMatch(), parseComment(), SeExprEdNumberControl::SeExprEdNumberControl(), SeExprEdNumberControl::sliderChanged(), str(), and SeExprEdNumberControl::updateControl().
double SeExprEdNumberEditable::max |
Definition at line 59 of file SeExprEdEditable.h.
Referenced by controlsMatch(), parseComment(), SeExprEdNumberControl::SeExprEdNumberControl(), and str().
double SeExprEdNumberEditable::min |
Definition at line 59 of file SeExprEdEditable.h.
Referenced by controlsMatch(), parseComment(), SeExprEdNumberControl::SeExprEdNumberControl(), and str().
double SeExprEdNumberEditable::v |
Definition at line 58 of file SeExprEdEditable.h.
Referenced by appendString(), controlsMatch(), SeExprEdNumberControl::setValue(), str(), and SeExprEdNumberControl::updateControl().