|
KSeExpr 6.0.0.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.
|
overridevirtual |
|
overridevirtual |
Implements Editable.
Definition at line 123 of file Editable.cpp.
References max, min, Editable::name, and v.
|
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(), VectorControl::sliderChanged(), VectorControl::updateControl(), and VectorControl::VectorControl().
| double VectorEditable::max |
Definition at line 71 of file Editable.h.
Referenced by controlsMatch(), parseComment(), VectorControl::sliderChanged(), str(), and VectorControl::updateControl().
| double VectorEditable::min |
Definition at line 71 of file Editable.h.
Referenced by controlsMatch(), parseComment(), VectorControl::sliderChanged(), str(), and VectorControl::updateControl().
| KSeExpr::Vec3d VectorEditable::v |
Definition at line 70 of file Editable.h.
Referenced by appendString(), controlsMatch(), VectorControl::getColor(), VectorControl::setValue(), str(), VectorControl::updateControl(), and VectorControl::VectorControl().