|
KSeExpr 4.0.4.0
|
#include <Editable.h>
Public Member Functions | |
| VectorEditable (const std::string &name, int startPos, int endPos, const KSeExpr::Vec3d &val) | |
| bool | parseComment (const std::string &comment) override |
| parses a comment. if false is returned then delete the control from the editable | |
| std::string | str () const override |
| void | appendString (std::stringstream &stream) const override |
| bool | controlsMatch (const Editable &other) const override |
| Public Member Functions inherited from Editable | |
| Editable (const std::string &name, int startPos, int endPos) | |
| Editable & | operator= (const Editable &)=default |
| Editable & | operator= (Editable &&)=default |
| Editable (const Editable &)=default | |
| Editable (Editable &&)=default | |
| void | updatePositions (const Editable &other) |
| virtual | ~Editable ()=default |
Public Attributes | |
| KSeExpr::Vec3d | v |
| double | min |
| double | max |
| bool | isColor |
| Public Attributes inherited from Editable | |
| std::string | name |
| int | startPos |
| int | endPos |
Definition at line 67 of file Editable.h.
| VectorEditable::VectorEditable | ( | const std::string & | name, |
| int | startPos, | ||
| int | endPos, | ||
| const KSeExpr::Vec3d & | val ) |
Definition at line 88 of file Editable.cpp.
References Editable::Editable(), Editable::endPos, isColor, max, min, Editable::name, Editable::startPos, and v.
Referenced by controlsMatch().
|
overridevirtual |
|
overridevirtual |
Implements Editable.
Definition at line 123 of file Editable.cpp.
References Editable::Editable(), max, min, Editable::name, v, and VectorEditable().
|
overridevirtual |
parses a comment. if false is returned then delete the control from the editable
Implements Editable.
Definition at line 97 of file Editable.cpp.
References isColor, max, min, and KSeExpr::Utils::parseRangeComment().
|
overridevirtual |
Reimplemented from Editable.
Definition at line 111 of file Editable.cpp.
References max, min, Editable::name, and v.
| bool VectorEditable::isColor |
Definition at line 72 of file Editable.h.
Referenced by parseComment(), and VectorEditable().
| double VectorEditable::max |
Definition at line 71 of file Editable.h.
Referenced by controlsMatch(), parseComment(), str(), and VectorEditable().
| double VectorEditable::min |
Definition at line 71 of file Editable.h.
Referenced by controlsMatch(), parseComment(), str(), and VectorEditable().
| KSeExpr::Vec3d VectorEditable::v |
Definition at line 70 of file Editable.h.
Referenced by appendString(), controlsMatch(), str(), VectorControl::VectorControl(), and VectorEditable().