KiCad PCB EDA Suite
EDA_3D_ACTIONS Class Reference

Class EDA_3D_ACTIONS. More...

#include <3d_actions.h>

Inheritance diagram for EDA_3D_ACTIONS:
ACTIONS

Public Types

enum  CURSOR_EVENT_TYPE {
  CURSOR_UP, CURSOR_DOWN, CURSOR_LEFT, CURSOR_RIGHT,
  CURSOR_CLICK, CURSOR_DBL_CLICK, CURSOR_RIGHT_CLICK, CURSOR_FAST_MOVE = 0x8000
}
 

Cursor control event types

More...
 
enum  REMOVE_FLAGS { REMOVE_FLAGS::NORMAL = 0x00, REMOVE_FLAGS::ALT = 0x01, REMOVE_FLAGS::CUT = 0x02 }
 

Remove event modifier flags

More...
 

Public Member Functions

virtual OPT< TOOL_EVENTTranslateLegacyId (int aId) override
 

More...
 

Static Public Attributes

static TOOL_ACTION pivotCenter
 
static TOOL_ACTION moveLeft
 
static TOOL_ACTION moveRight
 
static TOOL_ACTION moveUp
 
static TOOL_ACTION moveDown
 
static TOOL_ACTION homeView
 
static TOOL_ACTION resetView
 
static TOOL_ACTION viewFront
 
static TOOL_ACTION viewBack
 
static TOOL_ACTION viewLeft
 
static TOOL_ACTION viewRight
 
static TOOL_ACTION viewTop
 
static TOOL_ACTION viewBottom
 
static TOOL_ACTION rotate45axisZ
 
static TOOL_ACTION zoomIn
 
static TOOL_ACTION zoomOut
 
static TOOL_ACTION attributesTHT
 
static TOOL_ACTION attributesSMD
 
static TOOL_ACTION attributesVirtual
 
static TOOL_ACTION doNew
 
static TOOL_ACTION newLibrary
 
static TOOL_ACTION addLibrary
 
static TOOL_ACTION open
 
static TOOL_ACTION save
 
static TOOL_ACTION saveAs
 
static TOOL_ACTION saveCopyAs
 
static TOOL_ACTION saveAll
 
static TOOL_ACTION revert
 
static TOOL_ACTION pageSettings
 
static TOOL_ACTION print
 
static TOOL_ACTION plot
 
static TOOL_ACTION quit
 
static TOOL_ACTION cancelInteractive
 
static TOOL_ACTION showContextMenu
 
static TOOL_ACTION undo
 
static TOOL_ACTION redo
 
static TOOL_ACTION cut
 
static TOOL_ACTION copy
 
static TOOL_ACTION paste
 
static TOOL_ACTION pasteSpecial
 
static TOOL_ACTION duplicate
 
static TOOL_ACTION doDelete
 
static TOOL_ACTION deleteTool
 
static TOOL_ACTION find
 
static TOOL_ACTION findAndReplace
 
static TOOL_ACTION findNext
 
static TOOL_ACTION findNextMarker
 
static TOOL_ACTION replaceAndFindNext
 
static TOOL_ACTION replaceAll
 
static TOOL_ACTION updateFind
 
static TOOL_ACTION zoomRedraw
 
static TOOL_ACTION zoomInCenter
 
static TOOL_ACTION zoomOutCenter
 
static TOOL_ACTION zoomCenter
 
static TOOL_ACTION zoomFitScreen
 
static TOOL_ACTION zoomPreset
 
static TOOL_ACTION zoomTool
 
static TOOL_ACTION centerContents
 
static TOOL_ACTION toggleCursor
 
static TOOL_ACTION toggleCursorStyle
 
static TOOL_ACTION highContrastMode
 
static TOOL_ACTION refreshPreview
 
static TOOL_ACTION cursorUp
 Cursor control with keyboard. More...
 
static TOOL_ACTION cursorDown
 
static TOOL_ACTION cursorLeft
 
static TOOL_ACTION cursorRight
 
static TOOL_ACTION cursorUpFast
 
static TOOL_ACTION cursorDownFast
 
static TOOL_ACTION cursorLeftFast
 
static TOOL_ACTION cursorRightFast
 
static TOOL_ACTION cursorClick
 
static TOOL_ACTION cursorDblClick
 
static TOOL_ACTION panUp
 
static TOOL_ACTION panDown
 
static TOOL_ACTION panLeft
 
static TOOL_ACTION panRight
 
static TOOL_ACTION gridFast1
 
static TOOL_ACTION gridFast2
 
static TOOL_ACTION gridNext
 
static TOOL_ACTION gridPrev
 
static TOOL_ACTION gridSetOrigin
 
static TOOL_ACTION gridResetOrigin
 
static TOOL_ACTION gridPreset
 
static TOOL_ACTION toggleGrid
 
static TOOL_ACTION gridProperties
 
static TOOL_ACTION imperialUnits
 
static TOOL_ACTION metricUnits
 
static TOOL_ACTION toggleUnits
 
static TOOL_ACTION togglePolarCoords
 
static TOOL_ACTION resetLocalCoords
 
static TOOL_ACTION selectionTool
 
static TOOL_ACTION measureTool
 
static TOOL_ACTION pickerTool
 
static TOOL_ACTION show3DViewer
 
static TOOL_ACTION showSymbolBrowser
 
static TOOL_ACTION showSymbolEditor
 
static TOOL_ACTION showFootprintBrowser
 
static TOOL_ACTION showFootprintEditor
 
static TOOL_ACTION updatePcbFromSchematic
 
static TOOL_ACTION acceleratedGraphics
 
static TOOL_ACTION standardGraphics
 
static TOOL_ACTION updateMenu
 
static TOOL_ACTION activatePointEditor
 
static TOOL_ACTION configurePaths
 
static TOOL_ACTION showSymbolLibTable
 
static TOOL_ACTION showFootprintLibTable
 
static TOOL_ACTION gettingStarted
 
static TOOL_ACTION help
 
static TOOL_ACTION listHotKeys
 
static TOOL_ACTION getInvolved
 

Detailed Description

Class EDA_3D_ACTIONS.

Note: these aren't "real" actions; we just use them to see the hotkeys display.

Definition at line 41 of file 3d_actions.h.

Member Enumeration Documentation

◆ CURSOR_EVENT_TYPE

Cursor control event types

Enumerator
CURSOR_UP 
CURSOR_DOWN 
CURSOR_LEFT 
CURSOR_RIGHT 
CURSOR_CLICK 
CURSOR_DBL_CLICK 
CURSOR_RIGHT_CLICK 
CURSOR_FAST_MOVE 

Definition at line 180 of file actions.h.

◆ REMOVE_FLAGS

enum ACTIONS::REMOVE_FLAGS
stronginherited

Remove event modifier flags

Enumerator
NORMAL 
ALT 
CUT 

Definition at line 185 of file actions.h.

185 { NORMAL = 0x00, ALT = 0x01, CUT = 0x02 };

Member Function Documentation

◆ TranslateLegacyId()

virtual OPT<TOOL_EVENT> EDA_3D_ACTIONS::TranslateLegacyId ( int  aId)
inlineoverridevirtual

Implements ACTIONS.

Definition at line 67 of file 3d_actions.h.

67 { return OPT<TOOL_EVENT>(); }
boost::optional< T > OPT
Definition: optional.h:7

Member Data Documentation

◆ acceleratedGraphics

◆ activatePointEditor

◆ addLibrary

◆ attributesSMD

TOOL_ACTION EDA_3D_ACTIONS::attributesSMD
static

Definition at line 63 of file 3d_actions.h.

◆ attributesTHT

TOOL_ACTION EDA_3D_ACTIONS::attributesTHT
static

Definition at line 62 of file 3d_actions.h.

◆ attributesVirtual

TOOL_ACTION EDA_3D_ACTIONS::attributesVirtual
static

Definition at line 64 of file 3d_actions.h.

◆ cancelInteractive

◆ centerContents

TOOL_ACTION ACTIONS::centerContents
staticinherited

◆ configurePaths

◆ copy

◆ cursorClick

◆ cursorDblClick

TOOL_ACTION ACTIONS::cursorDblClick
staticinherited

Definition at line 116 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorDown

TOOL_ACTION ACTIONS::cursorDown
staticinherited

Definition at line 106 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorDownFast

TOOL_ACTION ACTIONS::cursorDownFast
staticinherited

Definition at line 111 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorLeft

TOOL_ACTION ACTIONS::cursorLeft
staticinherited

Definition at line 107 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorLeftFast

TOOL_ACTION ACTIONS::cursorLeftFast
staticinherited

Definition at line 112 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorRight

TOOL_ACTION ACTIONS::cursorRight
staticinherited

Definition at line 108 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorRightFast

TOOL_ACTION ACTIONS::cursorRightFast
staticinherited

Definition at line 113 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorUp

TOOL_ACTION ACTIONS::cursorUp
staticinherited

Cursor control with keyboard.

Definition at line 105 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cursorUpFast

TOOL_ACTION ACTIONS::cursorUpFast
staticinherited

Definition at line 110 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ cut

◆ deleteTool

◆ doDelete

◆ doNew

◆ duplicate

◆ find

◆ findAndReplace

◆ findNext

TOOL_ACTION ACTIONS::findNext
staticinherited

◆ findNextMarker

TOOL_ACTION ACTIONS::findNextMarker
staticinherited

Definition at line 81 of file actions.h.

Referenced by SCH_EDITOR_CONTROL::FindNext(), and SCH_EDITOR_CONTROL::setTransitions().

◆ getInvolved

TOOL_ACTION ACTIONS::getInvolved
staticinherited

◆ gettingStarted

TOOL_ACTION ACTIONS::gettingStarted
staticinherited

◆ gridFast1

TOOL_ACTION ACTIONS::gridFast1
staticinherited

◆ gridFast2

TOOL_ACTION ACTIONS::gridFast2
staticinherited

◆ gridNext

TOOL_ACTION ACTIONS::gridNext
staticinherited

Definition at line 127 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ gridPreset

◆ gridPrev

TOOL_ACTION ACTIONS::gridPrev
staticinherited

Definition at line 128 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ gridProperties

◆ gridResetOrigin

TOOL_ACTION ACTIONS::gridResetOrigin
staticinherited

Definition at line 130 of file actions.h.

Referenced by PCBNEW_CONTROL::setTransitions().

◆ gridSetOrigin

◆ help

TOOL_ACTION ACTIONS::help
staticinherited

◆ highContrastMode

◆ homeView

TOOL_ACTION EDA_3D_ACTIONS::homeView
static

Definition at line 49 of file 3d_actions.h.

◆ imperialUnits

◆ listHotKeys

TOOL_ACTION ACTIONS::listHotKeys
staticinherited

◆ measureTool

◆ metricUnits

◆ moveDown

TOOL_ACTION EDA_3D_ACTIONS::moveDown
static

Definition at line 48 of file 3d_actions.h.

◆ moveLeft

TOOL_ACTION EDA_3D_ACTIONS::moveLeft
static

Definition at line 45 of file 3d_actions.h.

◆ moveRight

TOOL_ACTION EDA_3D_ACTIONS::moveRight
static

Definition at line 46 of file 3d_actions.h.

◆ moveUp

TOOL_ACTION EDA_3D_ACTIONS::moveUp
static

Definition at line 47 of file 3d_actions.h.

◆ newLibrary

◆ open

◆ pageSettings

◆ panDown

TOOL_ACTION ACTIONS::panDown
staticinherited

Definition at line 120 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ panLeft

TOOL_ACTION ACTIONS::panLeft
staticinherited

Definition at line 121 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ panRight

TOOL_ACTION ACTIONS::panRight
staticinherited

Definition at line 122 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ panUp

TOOL_ACTION ACTIONS::panUp
staticinherited

Definition at line 119 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ paste

◆ pasteSpecial

TOOL_ACTION ACTIONS::pasteSpecial
staticinherited

◆ pickerTool

◆ pivotCenter

TOOL_ACTION EDA_3D_ACTIONS::pivotCenter
static

Definition at line 44 of file 3d_actions.h.

◆ plot

◆ print

◆ quit

TOOL_ACTION ACTIONS::quit
staticinherited

Definition at line 62 of file actions.h.

Referenced by PCBNEW_CONTROL::setTransitions(), and SCH_EDITOR_CONTROL::setTransitions().

◆ redo

◆ refreshPreview

◆ replaceAll

TOOL_ACTION ACTIONS::replaceAll
staticinherited

Definition at line 83 of file actions.h.

Referenced by DIALOG_SCH_FIND::OnReplace(), and SCH_EDITOR_CONTROL::setTransitions().

◆ replaceAndFindNext

TOOL_ACTION ACTIONS::replaceAndFindNext
staticinherited

Definition at line 82 of file actions.h.

Referenced by DIALOG_SCH_FIND::OnReplace(), and SCH_EDITOR_CONTROL::setTransitions().

◆ resetLocalCoords

TOOL_ACTION ACTIONS::resetLocalCoords
staticinherited

Definition at line 140 of file actions.h.

Referenced by DRAWING_TOOL::drawSegment(), and COMMON_TOOLS::setTransitions().

◆ resetView

TOOL_ACTION EDA_3D_ACTIONS::resetView
static

Definition at line 50 of file 3d_actions.h.

◆ revert

◆ rotate45axisZ

TOOL_ACTION EDA_3D_ACTIONS::rotate45axisZ
static

Definition at line 59 of file 3d_actions.h.

◆ save

◆ saveAll

◆ saveAs

◆ saveCopyAs

◆ selectionTool

◆ show3DViewer

◆ showContextMenu

TOOL_ACTION ACTIONS::showContextMenu
staticinherited

Definition at line 66 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ showFootprintBrowser

◆ showFootprintEditor

TOOL_ACTION ACTIONS::showFootprintEditor
staticinherited

◆ showFootprintLibTable

◆ showSymbolBrowser

◆ showSymbolEditor

◆ showSymbolLibTable

◆ standardGraphics

◆ toggleCursor

TOOL_ACTION ACTIONS::toggleCursor
staticinherited

Definition at line 97 of file actions.h.

Referenced by COMMON_TOOLS::setTransitions().

◆ toggleCursorStyle

◆ toggleGrid

◆ togglePolarCoords

◆ toggleUnits

TOOL_ACTION ACTIONS::toggleUnits
staticinherited

Definition at line 138 of file actions.h.

Referenced by EDIT_TOOL::MeasureTool(), and COMMON_TOOLS::setTransitions().

◆ undo

◆ updateFind

◆ updateMenu

◆ updatePcbFromSchematic

◆ viewBack

TOOL_ACTION EDA_3D_ACTIONS::viewBack
static

Definition at line 53 of file 3d_actions.h.

◆ viewBottom

TOOL_ACTION EDA_3D_ACTIONS::viewBottom
static

Definition at line 57 of file 3d_actions.h.

◆ viewFront

TOOL_ACTION EDA_3D_ACTIONS::viewFront
static

Definition at line 52 of file 3d_actions.h.

◆ viewLeft

TOOL_ACTION EDA_3D_ACTIONS::viewLeft
static

Definition at line 54 of file 3d_actions.h.

◆ viewRight

TOOL_ACTION EDA_3D_ACTIONS::viewRight
static

Definition at line 55 of file 3d_actions.h.

◆ viewTop

TOOL_ACTION EDA_3D_ACTIONS::viewTop
static

Definition at line 56 of file 3d_actions.h.

◆ zoomCenter

TOOL_ACTION ACTIONS::zoomCenter
staticinherited

Definition at line 92 of file actions.h.

Referenced by EDA_DRAW_FRAME::AddStandardSubMenus(), and COMMON_TOOLS::setTransitions().

◆ zoomFitScreen

TOOL_ACTION ACTIONS::zoomFitScreen
staticinherited

Definition at line 93 of file actions.h.

Referenced by EDA_DRAW_FRAME::AddStandardSubMenus(), SCH_EDIT_FRAME::AppendSchematic(), DIALOG_MIGRATE_BUSES::DIALOG_MIGRATE_BUSES(), SCH_EDIT_FRAME::DisplayCurrentSheet(), LIB_EDIT_FRAME::emptyScreen(), EVT_GRID_CMD_CELL_CHANGED(), EVT_UPDATE_UI_RANGE(), FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME(), GERBVIEW_FRAME::GERBVIEW_FRAME(), SCH_EDIT_FRAME::importFile(), MODULE_EDITOR_TOOLS::ImportFootprint(), LIB_EDIT_FRAME::LIB_EDIT_FRAME(), LIB_VIEW_FRAME::LIB_VIEW_FRAME(), LIB_EDIT_FRAME::LoadComponentFromCurrentLib(), LIB_EDIT_FRAME::LoadOneLibraryPartAux(), PL_EDITOR_FRAME::OnNewPageLayout(), SCH_EDIT_FRAME::OpenProjectFiles(), PCB_BASE_EDIT_FRAME::PutDataInPreviousState(), SCH_EDIT_FRAME::PutDataInPreviousState(), DISPLAY_FOOTPRINTS_FRAME::ReCreateHToolbar(), LIB_VIEW_FRAME::ReCreateHToolbar(), FOOTPRINT_VIEWER_FRAME::ReCreateHToolbar(), FOOTPRINT_EDIT_FRAME::ReCreateHToolbar(), PL_EDITOR_FRAME::ReCreateHToolbar(), FOOTPRINT_WIZARD_FRAME::ReCreateHToolbar(), GERBVIEW_FRAME::ReCreateHToolbar(), LIB_EDIT_FRAME::ReCreateHToolbar(), SCH_EDIT_FRAME::ReCreateHToolbar(), PCB_EDIT_FRAME::ReCreateHToolbar(), LIB_VIEW_FRAME::ReCreateMenuBar(), FOOTPRINT_VIEWER_FRAME::ReCreateMenuBar(), FOOTPRINT_EDIT_FRAME::ReCreateMenuBar(), LIB_EDIT_FRAME::ReCreateMenuBar(), PL_EDITOR_FRAME::ReCreateMenuBar(), GERBVIEW_FRAME::ReCreateMenuBar(), SCH_EDIT_FRAME::ReCreateMenuBar(), PCB_EDIT_FRAME::ReCreateMenuBar(), PL_EDITOR_FRAME::RollbackFromUndo(), SCH_EDIT_FRAME::SCH_EDIT_FRAME(), LIB_VIEW_FRAME::SetSelectedComponent(), COMMON_TOOLS::setTransitions(), DISPLAY_FOOTPRINTS_FRAME::updateView(), FOOTPRINT_WIZARD_FRAME::updateView(), FOOTPRINT_VIEWER_FRAME::updateView(), FOOTPRINT_EDIT_FRAME::updateView(), and EDA_DRAW_FRAME::Zoom_Automatique().

◆ zoomIn

TOOL_ACTION EDA_3D_ACTIONS::zoomIn
static

Definition at line 60 of file 3d_actions.h.

◆ zoomInCenter

◆ zoomOut

TOOL_ACTION EDA_3D_ACTIONS::zoomOut
static

Definition at line 61 of file 3d_actions.h.

◆ zoomOutCenter

◆ zoomPreset

TOOL_ACTION ACTIONS::zoomPreset
staticinherited

Definition at line 94 of file actions.h.

Referenced by ZOOM_MENU::eventHandler(), and COMMON_TOOLS::setTransitions().

◆ zoomRedraw

◆ zoomTool


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