27 virtual std::string
getPropertyType(
void)
const override {
return PropertyString::propertyTypeString(); };
29 virtual Property* createCopy(
void)
const override;
31 void setValue(
const std::string& _value) { m_value = _value; };
32 const std::string&
getValue(
void)
const {
return m_value; };
54 std::string m_placeholderText;
55 unsigned int m_maxLength;
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The PropertyBase class is used to hold general Property information.
Definition PropertyBase.h:25
The Property class is used as a base class for all Properties that can be displayed and modified in t...
Definition Property.h:21
Definition PropertyString.h:16
void setMaxLength(int _length)
Definition PropertyString.h:37
void setValue(const std::string &_value)
Definition PropertyString.h:31
const std::string & getValue(void) const
Definition PropertyString.h:32
int getMaxLength(void) const
Definition PropertyString.h:38
const std::string & getPlaceholderText(void) const
Definition PropertyString.h:35
virtual std::string getPropertyType(void) const override
Definition PropertyString.h:27
virtual ~PropertyString()
Definition PropertyString.h:24
static std::string propertyTypeString(void)
Definition PropertyString.h:26
void setPlaceholderText(const std::string &_text)
Definition PropertyString.h:34
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30