| 
    KiCad PCB EDA Suite
    
   | 
 
#include <magic_enum.hpp>#include <json_common.h>#include <tool/action_toolbar.h>#include <tool/ui/toolbar_configuration.h>Go to the source code of this file.
Functions | |
| void | to_json (nlohmann::json &aJson, const TOOLBAR_ITEM &aItem) | 
| void | from_json (const nlohmann::json &aJson, TOOLBAR_ITEM &aItem) | 
| void | to_json (nlohmann::json &aJson, const TOOLBAR_CONFIGURATION &aConfig) | 
| void | from_json (const nlohmann::json &aJson, TOOLBAR_CONFIGURATION &aConfig) | 
Variables | |
| const int | toolbarSchemaVersion = 1 | 
| ! Update the schema version whenever a migration is required   | |
| void from_json | ( | const nlohmann::json & | aJson, | 
| TOOLBAR_CONFIGURATION & | aConfig ) | 
Definition at line 132 of file toolbar_configuration.cpp.
References TOOLBAR_CONFIGURATION::m_toolbarItems.
| void from_json | ( | const nlohmann::json & | aJson, | 
| TOOLBAR_ITEM & | aItem ) | 
Definition at line 71 of file toolbar_configuration.cpp.
References CONTROL, TOOLBAR_ITEM::m_ActionName, TOOLBAR_ITEM::m_ControlName, TOOLBAR_ITEM::m_GroupItems, TOOLBAR_ITEM::m_GroupName, TOOLBAR_ITEM::m_Size, TOOLBAR_ITEM::m_Type, SEPARATOR, SPACER, TB_GROUP, and TOOL.
| void to_json | ( | nlohmann::json & | aJson, | 
| const TOOLBAR_CONFIGURATION & | aConfig ) | 
Definition at line 123 of file toolbar_configuration.cpp.
References TOOLBAR_CONFIGURATION::m_toolbarItems.
| void to_json | ( | nlohmann::json & | aJson, | 
| const TOOLBAR_ITEM & | aItem ) | 
Definition at line 34 of file toolbar_configuration.cpp.
References CONTROL, TOOLBAR_ITEM::m_ActionName, TOOLBAR_ITEM::m_ControlName, TOOLBAR_ITEM::m_GroupItems, TOOLBAR_ITEM::m_GroupName, TOOLBAR_ITEM::m_Size, TOOLBAR_ITEM::m_Type, SEPARATOR, SPACER, TB_GROUP, and TOOL.
| const int toolbarSchemaVersion = 1 | 
! Update the schema version whenever a migration is required
Definition at line 32 of file toolbar_configuration.cpp.
Referenced by TOOLBAR_SETTINGS::TOOLBAR_SETTINGS().