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

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 (std::string aName, wxString aUiName, wxString aDescription)
 
const std::string & GetName () const
 
const wxString & GetUiName () const
 
const wxString & GetDescription () 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.
 

Detailed Description

Class to hold basic information about controls that can be added to the toolbars.

Definition at line 427 of file action_toolbar.h.

Constructor & Destructor Documentation

◆ ACTION_TOOLBAR_CONTROL()

ACTION_TOOLBAR_CONTROL::ACTION_TOOLBAR_CONTROL ( std::string  aName,
wxString  aUiName,
wxString  aDescription 
)
inline

Definition at line 430 of file action_toolbar.h.

References ACTION_TOOLBAR::GetCustomControlList().

Member Function Documentation

◆ GetDescription()

const wxString & ACTION_TOOLBAR_CONTROL::GetDescription ( ) const
inline

Definition at line 443 of file action_toolbar.h.

References m_description.

◆ GetName()

const std::string & ACTION_TOOLBAR_CONTROL::GetName ( ) const
inline

◆ GetUiName()

const wxString & ACTION_TOOLBAR_CONTROL::GetUiName ( ) const
inline

Definition at line 442 of file action_toolbar.h.

References m_uiname.

Member Data Documentation

◆ m_description

wxString ACTION_TOOLBAR_CONTROL::m_description
protected

User-visible tooltip for the control.

Definition at line 459 of file action_toolbar.h.

Referenced by GetDescription().

◆ m_name

std::string ACTION_TOOLBAR_CONTROL::m_name
protected

Name of the control - must start with "control.".

Definition at line 449 of file action_toolbar.h.

Referenced by GetName().

◆ m_uiname

wxString ACTION_TOOLBAR_CONTROL::m_uiname
protected

Short description to show for the control.

Definition at line 454 of file action_toolbar.h.

Referenced by GetUiName().


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