18#pragma warning(disable:4251)
31 ViewIsCloseable = 0x01,
32 ViewDefaultCloseHandling = 0x02,
33 ViewIsPinnable = 0x04,
64 static std::string
toString(ViewFlag _flag);
68 static ViewFlag stringToViewFlag(
const std::string& _flag);
72 static std::list<std::string>
toStringList(ViewFlags _flags);
76 static ViewFlags stringListToViewFlags(
const std::list<std::string>& _flags);
80 static std::string
toString(ViewDockLocation _dockLocation);
84 static ViewDockLocation stringToDockLocation(
const std::string& _dockLocation);
87 static std::string
toString(ViewType _type);
90 static ViewType stringToViewType(
const std::string& _type);
95 WidgetViewBase(
const std::string& _entityName,
const std::string& _title, ViewType _type, ViewFlags _flags = ViewFlags());
96 WidgetViewBase(
const std::string& _entityName,
const std::string& _title, ViewDockLocation _dockLocation, ViewType _type, ViewFlags _flags = ViewFlags());
120 void setTitle(
const std::string& _title) { m_title = _title; };
121 const std::string&
getTitle(
void)
const {
return m_title; };
151 ViewDockLocation m_dockLocation;
#define OT_ADD_FLAG_FUNCTIONS(___enumName)
Will add the default bitwise operations for the provided private 32/64 bit bitfield....
Definition Flags.h:129
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#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
OT_GUI_API_EXPORT std::list< std::string > toStringList(const LockTypeFlags &_flags)
Definition GuiTypes.cpp:426
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