KiCad PCB EDA Suite
WIDGET_HOTKEY_CLIENT_DATA Class Reference

Class WIDGET_HOTKEY_CLIENT_DATA Stores the hotkey and section tag associated with each row. More...

Inheritance diagram for WIDGET_HOTKEY_CLIENT_DATA:

Public Member Functions

 WIDGET_HOTKEY_CLIENT_DATA (const EDA_HOTKEY &aHotkey, const wxString &aSectionTag)
 
EDA_HOTKEYGetHotkey ()
 
const wxString & GetSectionTag () const
 

Private Attributes

EDA_HOTKEY m_hotkey
 
wxString m_section_tag
 

Detailed Description

Class WIDGET_HOTKEY_CLIENT_DATA Stores the hotkey and section tag associated with each row.

To change a hotkey, edit it in the row's client data, then call WIDGET_HOTKEY_LIST::UpdateFromClientData().

Definition at line 59 of file widget_hotkey_list.cpp.

Constructor & Destructor Documentation

WIDGET_HOTKEY_CLIENT_DATA::WIDGET_HOTKEY_CLIENT_DATA ( const EDA_HOTKEY aHotkey,
const wxString &  aSectionTag 
)
inline

Definition at line 65 of file widget_hotkey_list.cpp.

66  : m_hotkey( aHotkey ), m_section_tag( aSectionTag )
67  {}

Member Function Documentation

const wxString& WIDGET_HOTKEY_CLIENT_DATA::GetSectionTag ( ) const
inline

Member Data Documentation

EDA_HOTKEY WIDGET_HOTKEY_CLIENT_DATA::m_hotkey
private

Definition at line 61 of file widget_hotkey_list.cpp.

Referenced by GetHotkey().

wxString WIDGET_HOTKEY_CLIENT_DATA::m_section_tag
private

Definition at line 62 of file widget_hotkey_list.cpp.

Referenced by GetSectionTag().


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