|
KiCad PCB EDA Suite
|
Class to hold basic information about controls that can be added to the toolbars. More...
#include <action_toolbar.h>
Public Member Functions | |
| ACTION_TOOLBAR_CONTROL (const std::string &aName, const wxString &aUiName, const wxString &aDescription, std::vector< FRAME_T > aSupportedContexts) | |
| const std::string & | GetName () const |
| const wxString & | GetUiName () const |
| const wxString & | GetDescription () const |
| bool | SupportedFor (FRAME_T aFrame) const |
Protected Attributes | |
| std::string | m_name |
| Name of the control - must start with "control.". | |
| wxString | m_uiname |
| Short description to show for the control. | |
| wxString | m_description |
| User-visible tooltip for the control. | |
| std::vector< FRAME_T > | m_supportedContexts |
| List of frame types that support the control. | |
Class to hold basic information about controls that can be added to the toolbars.
Definition at line 441 of file action_toolbar.h.
|
inline |
Definition at line 444 of file action_toolbar.h.
References ACTION_TOOLBAR::GetAllCustomControls(), m_description, m_name, m_supportedContexts, and m_uiname.
|
inline |
Definition at line 459 of file action_toolbar.h.
References m_description.
|
inline |
Definition at line 457 of file action_toolbar.h.
References m_name.
Referenced by TOOLBAR_CONFIGURATION::AppendControl(), PANEL_TOOLBAR_CUSTOMIZATION::parseToolbarTree(), and EDA_BASE_FRAME::RegisterCustomToolbarControlFactory().
|
inline |
Definition at line 458 of file action_toolbar.h.
References m_uiname.
|
inline |
Definition at line 461 of file action_toolbar.h.
References m_supportedContexts.
|
protected |
User-visible tooltip for the control.
Definition at line 486 of file action_toolbar.h.
Referenced by ACTION_TOOLBAR_CONTROL(), and GetDescription().
|
protected |
Name of the control - must start with "control.".
Definition at line 476 of file action_toolbar.h.
Referenced by ACTION_TOOLBAR_CONTROL(), and GetName().
|
protected |
List of frame types that support the control.
Definition at line 491 of file action_toolbar.h.
Referenced by ACTION_TOOLBAR_CONTROL(), and SupportedFor().
|
protected |
Short description to show for the control.
Definition at line 481 of file action_toolbar.h.
Referenced by ACTION_TOOLBAR_CONTROL(), and GetUiName().