16 LineEditCfg(
const std::string& _name,
const std::string& _text);
30 void setReadOnly(
bool _isReadOnly) { m_readOnly = _isReadOnly; };
33 void setText(
const std::string& _text) { m_text = _text; };
34 const std::string&
getText(
void)
const {
return m_text; };
42 std::string m_placeholderText;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition LineEditCfg.h:13
LineEditCfg(LineEditCfg &&)=default
static std::string getLineEditCfgTypeString(void)
Definition LineEditCfg.h:24
LineEditCfg(const LineEditCfg &)=default
virtual std::string getWidgetBaseTypeString(void) const override
Definition LineEditCfg.h:25
const std::string & getText(void) const
Definition LineEditCfg.h:34
const std::string & getPlaceholderText(void) const
Definition LineEditCfg.h:37
void setPlaceholderText(const std::string &_text)
Definition LineEditCfg.h:36
void setText(const std::string &_text)
Definition LineEditCfg.h:33
void setReadOnly(bool _isReadOnly)
Definition LineEditCfg.h:30
bool getReadOnly(void) const
Definition LineEditCfg.h:31
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