31 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
35 void addStrech(
int _stretch = 1);
36 const std::list<itemStrechPair_t>&
items(
void)
const {
return m_items; };
46 void clearItems(
void);
49 std::list<itemStrechPair_t> m_items;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition GraphicsBoxLayoutItemCfg.h:14
std::pair< GraphicsItemCfg *, int > itemStrechPair_t
Holds the item and its strech factor in the box If no item is set then its a stretch only.
Definition GraphicsBoxLayoutItemCfg.h:18
const std::list< itemStrechPair_t > & items(void) const
Definition GraphicsBoxLayoutItemCfg.h:36
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
Definition GraphicsLayoutItemCfg.h:19
Orientation
Orientation.
Definition GuiTypes.h:35
@ Horizontal
Definition GuiTypes.h:36
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