KiCad PCB EDA Suite
widget_hotkey_list.cpp File Reference
#include <cctype>
#include <widgets/widget_hotkey_list.h>
#include <wx/statline.h>
#include <wx/treelist.h>
#include <tool/tool_action.h>
#include <dialog_shim.h>

Go to the source code of this file.

Classes

class  WIDGET_HOTKEY_CLIENT_DATA
 WIDGET_HOTKEY_CLIENT_DATA Stores the hotkey change data associated with each row. More...
 
class  HK_PROMPT_DIALOG
 HK_PROMPT_DIALOG Dialog to prompt the user to enter a key. More...
 
class  HOTKEY_FILTER
 HOTKEY_FILTER. More...
 

Enumerations

enum  ID_WHKL_MENU_IDS { ID_EDIT_HOTKEY = 2001, ID_RESET, ID_DEFAULT, ID_CLEAR }
 Menu IDs for the hotkey context menu. More...
 

Variables

static const int HOTKEY_MIN_WIDTH = 100
 Minimum width of the hotkey column. More...
 
static const int HORIZ_MARGIN = 30
 Extra margin to compensate for vertical scrollbar. More...
 

Enumeration Type Documentation

◆ ID_WHKL_MENU_IDS

Menu IDs for the hotkey context menu.

Enumerator
ID_EDIT_HOTKEY 
ID_RESET 
ID_DEFAULT 
ID_CLEAR 

Definition at line 50 of file widget_hotkey_list.cpp.

Variable Documentation

◆ HORIZ_MARGIN

const int HORIZ_MARGIN = 30
static

Extra margin to compensate for vertical scrollbar.

Definition at line 42 of file widget_hotkey_list.cpp.

Referenced by WIDGET_HOTKEY_LIST::OnSize().

◆ HOTKEY_MIN_WIDTH

const int HOTKEY_MIN_WIDTH = 100
static

Minimum width of the hotkey column.

Definition at line 36 of file widget_hotkey_list.cpp.