KSeExpr 6.0.0.0
|
#include <Editable.h>
Public Member Functions | |
StringEditable (int startPos, int endPos, const std::string &val) | |
bool | parseComment (const std::string &comment) override |
parses a comment. if false is returned then delete the control from the editable | |
void | appendString (std::stringstream &stream) const override |
std::string | str () const override |
bool | controlsMatch (const Editable &other) const override |
![]() | |
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 | |
std::string | v |
std::string | type |
![]() | |
std::string | name |
int | startPos |
int | endPos |
Definition at line 81 of file Editable.h.
StringEditable::StringEditable | ( | int | startPos, |
int | endPos, | ||
const std::string & | val | ||
) |
Definition at line 131 of file Editable.cpp.
|
overridevirtual |
|
overridevirtual |
Implements Editable.
Definition at line 164 of file Editable.cpp.
References Editable::name, type, and v.
|
overridevirtual |
parses a comment. if false is returned then delete the control from the editable
Implements Editable.
Definition at line 137 of file Editable.cpp.
References Editable::name, KSeExpr::Utils::parseTypeNameComment(), and type.
|
overridevirtual |
Reimplemented from Editable.
Definition at line 157 of file Editable.cpp.
References Editable::name, type, and v.
std::string StringEditable::type |
Definition at line 85 of file Editable.h.
Referenced by controlsMatch(), parseComment(), str(), and StringControl::StringControl().
std::string StringEditable::v |
Definition at line 84 of file Editable.h.
Referenced by appendString(), controlsMatch(), str(), StringControl::textChanged(), and StringControl::updateControl().