KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TOOLBAR_CONFIGURATION Class Reference

#include <toolbar_configuration.h>

Public Member Functions

 TOOLBAR_CONFIGURATION ()
 
virtual ~TOOLBAR_CONFIGURATION ()
 
TOOLBAR_CONFIGURATIONAppendAction (std::string aActionName)
 
TOOLBAR_CONFIGURATIONAppendAction (const TOOL_ACTION &aAction)
 
TOOLBAR_CONFIGURATIONAppendSeparator ()
 
TOOLBAR_CONFIGURATIONAppendSpacer (int aSize)
 
TOOLBAR_CONFIGURATIONAppendGroup (const TOOLBAR_GROUP_CONFIG &aGroup)
 
TOOLBAR_CONFIGURATIONAppendControl (std::string aControlName)
 
TOOLBAR_CONFIGURATIONAppendControl (const ACTION_TOOLBAR_CONTROL &aControl)
 
std::vector< TOOLBAR_ITEMGetToolbarItems () const
 
void Clear ()
 

Public Attributes

std::vector< TOOLBAR_ITEMm_toolbarItems
 

Detailed Description

Definition at line 126 of file toolbar_configuration.h.

Constructor & Destructor Documentation

◆ TOOLBAR_CONFIGURATION()

TOOLBAR_CONFIGURATION::TOOLBAR_CONFIGURATION ( )
inline

Definition at line 130 of file toolbar_configuration.h.

◆ ~TOOLBAR_CONFIGURATION()

virtual TOOLBAR_CONFIGURATION::~TOOLBAR_CONFIGURATION ( )
inlinevirtual

Definition at line 131 of file toolbar_configuration.h.

Member Function Documentation

◆ AppendAction() [1/2]

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendAction ( const TOOL_ACTION aAction)
inline

Definition at line 139 of file toolbar_configuration.h.

References TOOL_ACTION::GetName().

◆ AppendAction() [2/2]

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendAction ( std::string  aActionName)
inline

Definition at line 133 of file toolbar_configuration.h.

◆ AppendControl() [1/2]

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendControl ( const ACTION_TOOLBAR_CONTROL aControl)
inline

Definition at line 173 of file toolbar_configuration.h.

References ACTION_TOOLBAR_CONTROL::GetName().

◆ AppendControl() [2/2]

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendControl ( std::string  aControlName)
inline

Definition at line 167 of file toolbar_configuration.h.

◆ AppendGroup()

◆ AppendSeparator()

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendSeparator ( )
inline

Definition at line 145 of file toolbar_configuration.h.

◆ AppendSpacer()

TOOLBAR_CONFIGURATION & TOOLBAR_CONFIGURATION::AppendSpacer ( int  aSize)
inline

Definition at line 151 of file toolbar_configuration.h.

◆ Clear()

void TOOLBAR_CONFIGURATION::Clear ( )
inline

Definition at line 184 of file toolbar_configuration.h.

◆ GetToolbarItems()

std::vector< TOOLBAR_ITEM > TOOLBAR_CONFIGURATION::GetToolbarItems ( ) const
inline

Member Data Documentation

◆ m_toolbarItems

std::vector<TOOLBAR_ITEM> TOOLBAR_CONFIGURATION::m_toolbarItems

Definition at line 192 of file toolbar_configuration.h.

Referenced by from_json(), and to_json().


The documentation for this class was generated from the following file: