|
KiCad PCB EDA Suite
|
#include <toolbar_configuration.h>
Public Member Functions | |
| TOOLBAR_GROUP_CONFIG (const wxString &aName) | |
| const wxString & | GetName () const |
| TOOLBAR_GROUP_CONFIG & | AddAction (std::string aActionName) |
| TOOLBAR_GROUP_CONFIG & | AddAction (const TOOL_ACTION &aAction) |
| TOOLBAR_GROUP_CONFIG & | AddContextMenu (TOOLBAR_CONTEXT_MENU_REGISTRY::MENU_FACTORY aFactory) |
| Associate a context menu factory with this group. | |
| std::vector< TOOLBAR_ITEM > | GetGroupItems () const |
Public Attributes | |
| wxString | m_groupName |
| std::vector< TOOLBAR_ITEM > | m_groupItems |
Definition at line 138 of file toolbar_configuration.h.
|
inline |
Definition at line 141 of file toolbar_configuration.h.
References m_groupName.
Referenced by AddAction(), AddAction(), and AddContextMenu().
|
inline |
Definition at line 158 of file toolbar_configuration.h.
References TOOL_ACTION::GetName(), m_groupItems, TOOL, and TOOLBAR_GROUP_CONFIG().
|
inline |
Definition at line 151 of file toolbar_configuration.h.
References m_groupItems, TOOL, and TOOLBAR_GROUP_CONFIG().
Referenced by PANEL_TOOLBAR_CUSTOMIZATION::parseToolbarTree().
|
inline |
Associate a context menu factory with this group.
The menu will be available for all actions in the group. The factory is registered globally so JSON-loaded configurations will also get this menu.
| aFactory | Factory function that creates the context menu |
Definition at line 174 of file toolbar_configuration.h.
References m_groupName, TOOLBAR_CONTEXT_MENU_REGISTRY::RegisterGroupMenuFactory(), and TOOLBAR_GROUP_CONFIG().
|
inline |
Definition at line 183 of file toolbar_configuration.h.
References m_groupItems.
Referenced by TOOLBAR_CONFIGURATION::AppendGroup().
|
inline |
Definition at line 146 of file toolbar_configuration.h.
References m_groupName.
Referenced by TOOLBAR_CONFIGURATION::AppendGroup().
| std::vector<TOOLBAR_ITEM> TOOLBAR_GROUP_CONFIG::m_groupItems |
Definition at line 192 of file toolbar_configuration.h.
Referenced by AddAction(), AddAction(), and GetGroupItems().
| wxString TOOLBAR_GROUP_CONFIG::m_groupName |
Definition at line 191 of file toolbar_configuration.h.
Referenced by AddContextMenu(), GetName(), and TOOLBAR_GROUP_CONFIG().