KiCad PCB EDA Suite
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( _( "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_ALT + PSEUDO_WXK_CLICK ),
new PSEUDO_ACTION( _( "Remove from Selection" ), MD_SHIFT + MD_ALT + PSEUDO_WXK_CLICK ),
new PSEUDO_ACTION( _( "Ignore Grid Snaps" ), MD_CTRL ),
new PSEUDO_ACTION( _( "Ignore Other Snaps" ), MD_SHIFT ),
}
#define PSEUDO_WXK_WHEEL
Definition: hotkeys_basic.h:51
#define PSEUDO_WXK_CLICK
Definition: hotkeys_basic.h:49
#define _(s)
#define PSEUDO_WXK_DBLCLICK
Definition: hotkeys_basic.h:50

Definition at line 42 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' )
}
#define _(s)

Definition at line 53 of file hotkey_store.cpp.

Referenced by HOTKEY_STORE::Init().