23 ItemsDefaultExpanded = 0x01
47 void setRootItems(
const std::list<NavigationTreeItem>& _items) { m_rootItems = _items; };
49 const std::list<NavigationTreeItem>&
rootItems(
void)
const {
return m_rootItems; };
53 void mergeItems(
bool _mergeAllChilds =
true);
56 NavigationTreePackageFlags m_flags;
57 std::list<NavigationTreeItem> m_rootItems;
#define OT_ADD_FLAG_FUNCTIONS(___enumName)
Will add the default bitwise operations for the provided private 32/64 bit bitfield....
Definition Flags.h:129
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The Flags class is a wrapper around a enum that allows bitwise operations (flags)....
Definition Flags.h:214
Definition NavigationTreeItem.h:35
Definition NavigationTreePackage.h:19
NavigationTreePackageFlag
Definition NavigationTreePackage.h:21
void setFlags(NavigationTreePackageFlags _flags)
Definition NavigationTreePackage.h:44
const std::list< NavigationTreeItem > & rootItems(void) const
Definition NavigationTreePackage.h:49
void setRootItems(const std::list< NavigationTreeItem > &_items)
Definition NavigationTreePackage.h:47
NavigationTreePackageFlags flags(void) const
Definition NavigationTreePackage.h:45
void setFlag(NavigationTreePackageFlag _flag, bool _active=true)
Definition NavigationTreePackage.h:43
Flags< NavigationTreePackageFlag > NavigationTreePackageFlags
Definition NavigationTreePackage.h:25
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
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
OT_GUI_API_EXPORT std::string toString(ColorStyleName _colorStyleName)
Definition ColorStyleTypes.cpp:10
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30