#include "PropertyDialogCfg.h"
Public Member Functions | |
| PropertyDialogCfg () | |
| PropertyDialogCfg (const PropertyDialogCfg &_other) | |
| virtual | ~PropertyDialogCfg () |
| PropertyDialogCfg & | operator= (const PropertyDialogCfg &_other) |
| virtual void | addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override |
| Add the object contents to the provided JSON object. | |
| virtual void | setFromJsonObject (const ot::ConstJsonObject &_object) override |
| Will set the object contents from the provided JSON object. | |
| void | setGridConfig (const PropertyGridCfg &_config) |
| const PropertyGridCfg & | getGridConfig (void) const |
| void | setRootGroups (const std::list< PropertyGroup * > &_groups) |
| void | addRootGroup (PropertyGroup *_group) |
| const std::list< PropertyGroup * > & | getRootGroups (void) const |
Public Member Functions inherited from ot::DialogCfg | |
| DialogCfg (DialogFlags _flags=DialogFlags(NoFlags)) | |
| DialogCfg (const std::string &_title, DialogFlags _flags=DialogFlags(NoFlags)) | |
| DialogCfg (const DialogCfg &_other) | |
| virtual | ~DialogCfg () |
| DialogCfg & | operator= (const DialogCfg &_other) |
| void | setName (const std::string &_name) |
| const std::string & | getName (void) const |
| void | setTitle (const std::string &_title) |
| const std::string & | getTitle (void) const |
| void | setFlag (DialogFlag _flag, bool _active=true) |
| void | setFlags (DialogFlags _flags) |
| DialogFlags | getFlags (void) const |
| void | setMinSize (int _width, int _height) |
| void | setMinSize (const ot::Size2D &_size) |
| const ot::Size2D & | getMinSize (void) const |
| void | setMaxSize (int _width, int _height) |
| void | setMaxSize (const ot::Size2D &_size) |
| const ot::Size2D & | getMaxSize (void) const |
Public Member Functions inherited from ot::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
Additional Inherited Members | |
Public Types inherited from ot::DialogCfg | |
| enum | DialogFlag { NoFlags = 0x00 , CancelOnNoChange = 0x01 , MoveGrabAnywhere = 0x02 , RecenterOnF11 = 0x04 } |
| typedef Flags< DialogFlag > | DialogFlags |
Static Public Member Functions inherited from ot::DialogCfg | |
| static std::string | toString (DialogFlag _flag) |
| static DialogFlag | stringToFlag (const std::string &_flag) |
| static std::list< std::string > | toStringList (DialogFlags _flags) |
| static DialogFlags | stringListToFlags (const std::list< std::string > &_flags) |
| ot::PropertyDialogCfg::PropertyDialogCfg | ( | ) |
| ot::PropertyDialogCfg::PropertyDialogCfg | ( | const PropertyDialogCfg & | _other | ) |
|
virtual |
|
inline |
|
overridevirtual |
Add the object contents to the provided JSON object.
| _object | Json object reference |
| _allocator | Allocator |
Reimplemented from ot::DialogCfg.
|
inline |
|
inline |
| ot::PropertyDialogCfg & ot::PropertyDialogCfg::operator= | ( | const PropertyDialogCfg & | _other | ) |
|
overridevirtual |
Will set the object contents from the provided JSON object.
| _object | The JSON object containing the information |
| Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Reimplemented from ot::DialogCfg.
|
inline |
|
inline |