#include "LineEditCfg.h"
◆ LineEditCfg() [1/4]
ot::LineEditCfg::LineEditCfg |
( |
| ) |
|
◆ LineEditCfg() [2/4]
ot::LineEditCfg::LineEditCfg |
( |
const std::string & | _name, |
|
|
const std::string & | _text ) |
◆ LineEditCfg() [3/4]
◆ LineEditCfg() [4/4]
◆ ~LineEditCfg()
ot::LineEditCfg::~LineEditCfg |
( |
| ) |
|
|
virtual |
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference to write the data to. |
_allocator | Allocator. |
Reimplemented from ot::WidgetBaseCfg.
◆ getLineEditCfgTypeString()
static std::string ot::LineEditCfg::getLineEditCfgTypeString |
( |
void | | ) |
|
|
inlinestatic |
◆ getPlaceholderText()
const std::string & ot::LineEditCfg::getPlaceholderText |
( |
void | | ) |
const |
|
inline |
◆ getReadOnly()
bool ot::LineEditCfg::getReadOnly |
( |
void | | ) |
const |
|
inline |
◆ getText()
const std::string & ot::LineEditCfg::getText |
( |
void | | ) |
const |
|
inline |
◆ getWidgetBaseTypeString()
virtual std::string ot::LineEditCfg::getWidgetBaseTypeString |
( |
void | | ) |
const |
|
inlineoverridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setFromJsonObject()
Set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information. |
- Exceptions
-
May | throw an exception if the provided object is not valid (members missing or invalid types). |
Reimplemented from ot::WidgetBaseCfg.
◆ setPlaceholderText()
void ot::LineEditCfg::setPlaceholderText |
( |
const std::string & | _text | ) |
|
|
inline |
◆ setReadOnly()
void ot::LineEditCfg::setReadOnly |
( |
bool | _isReadOnly | ) |
|
|
inline |
◆ setText()
void ot::LineEditCfg::setText |
( |
const std::string & | _text | ) |
|
|
inline |
The documentation for this class was generated from the following files: