KiCad PCB EDA Suite
Loading...
Searching...
No Matches
hotkey_store.cpp File Reference
#include <hotkey_store.h>
#include <eda_base_frame.h>
#include <tool/tool_manager.h>
#include <tool/action_manager.h>
#include <tool/tool_event.h>
#include <tool/tool_action.h>
#include <advanced_config.h>

Go to the source code of this file.

Classes

class  PSEUDO_ACTION
 

Variables

static PSEUDO_ACTIONg_gesturePseudoActions []
 
static PSEUDO_ACTIONg_standardPlatformCommands []
 

Variable Documentation

◆ g_gesturePseudoActions

PSEUDO_ACTION* g_gesturePseudoActions[]
static
Initial value:
= {
new PSEUDO_ACTION( _( "Accept Autocomplete" ), WXK_RETURN, WXK_NUMPAD_ENTER ),
new PSEUDO_ACTION( _( "Cancel Autocomplete" ), WXK_ESCAPE ),
new PSEUDO_ACTION( _( "Toggle Checkbox" ), WXK_SPACE ),
new PSEUDO_ACTION( _( "Pan Left/Right" ), MD_CTRL + PSEUDO_WXK_WHEEL ),
new PSEUDO_ACTION( _( "Pan Up/Down" ), MD_SHIFT + PSEUDO_WXK_WHEEL ),
new PSEUDO_ACTION( _( "Finish Drawing" ), PSEUDO_WXK_DBLCLICK ),
new PSEUDO_ACTION( _( "Add to Selection" ), MD_SHIFT + PSEUDO_WXK_CLICK ),
new PSEUDO_ACTION( _( "Highlight Net" ), MD_CTRL + PSEUDO_WXK_CLICK ),
new PSEUDO_ACTION( _( "Remove from Selection" ), MD_SHIFT + MD_CTRL + PSEUDO_WXK_CLICK ),
new PSEUDO_ACTION( _( "Ignore Grid Snaps" ), MD_CTRL ),
new PSEUDO_ACTION( _( "Ignore Other Snaps" ), MD_SHIFT ),
}
#define _(s)
#define PSEUDO_WXK_WHEEL
Definition: hotkeys_basic.h:52
#define PSEUDO_WXK_DBLCLICK
Definition: hotkeys_basic.h:51
#define PSEUDO_WXK_CLICK
Definition: hotkeys_basic.h:50
@ MD_CTRL
Definition: tool_event.h:143
@ MD_SHIFT
Definition: tool_event.h:142

Definition at line 43 of file hotkey_store.cpp.

Referenced by HOTKEY_STORE::Init().

◆ g_standardPlatformCommands

PSEUDO_ACTION* g_standardPlatformCommands[]
static
Initial value:
= {
new PSEUDO_ACTION( _( "Close" ), MD_CTRL + 'W' ),
new PSEUDO_ACTION( _( "Quit" ), MD_CTRL + 'Q' )
}

Definition at line 57 of file hotkey_store.cpp.

Referenced by HOTKEY_STORE::Init().