#include "ToolButtonCfg.h"
◆ ToolButtonCfg() [1/4]
ot::ToolButtonCfg::ToolButtonCfg |
( |
| ) |
|
◆ ToolButtonCfg() [2/4]
ot::ToolButtonCfg::ToolButtonCfg |
( |
const std::string & | _name, |
|
|
const std::string & | _text, |
|
|
const std::string & | _relativeIconPath = std::string(), |
|
|
const MenuCfg & | _menu = MenuCfg() ) |
◆ ToolButtonCfg() [3/4]
◆ ToolButtonCfg() [4/4]
◆ ~ToolButtonCfg()
ot::ToolButtonCfg::~ToolButtonCfg |
( |
| ) |
|
|
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.
◆ getIconPath()
const std::string & ot::ToolButtonCfg::getIconPath |
( |
void | | ) |
const |
|
inline |
◆ getText()
const std::string & ot::ToolButtonCfg::getText |
( |
void | | ) |
const |
|
inline |
◆ getToolButtonCfgTypeString()
static std::string ot::ToolButtonCfg::getToolButtonCfgTypeString |
( |
void | | ) |
|
|
inlinestatic |
◆ getWidgetBaseTypeString()
virtual std::string ot::ToolButtonCfg::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.
◆ setIconPath()
void ot::ToolButtonCfg::setIconPath |
( |
const std::string & | _relativeIconPath | ) |
|
|
inline |
◆ setText()
void ot::ToolButtonCfg::setText |
( |
const std::string & | _text | ) |
|
|
inline |
The documentation for this class was generated from the following files: