KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_actions.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2013-2016 CERN
5 * Copyright (C) 2016-2023 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * @author Maciej Suminski <[email protected]>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, you may find one here:
21 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
22 * or you may search the http://www.gnu.org website for the version 2 license,
23 * or you may write to the Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25 */
26
27#ifndef __PCB_ACTIONS_H
28#define __PCB_ACTIONS_H
29
30#include <layer_ids.h>
31#include <tool/tool_action.h>
32#include <tool/actions.h>
33
34enum class ZONE_MODE
35{
36 ADD,
37 CUTOUT,
38 SIMILAR,
40};
41
42
49class PCB_ACTIONS : public ACTIONS
50{
51public:
58 static TOOL_ACTION* LayerIDToAction( PCB_LAYER_ID aLayerID );
59
60 // Selection Tool
63
66
69
74
78
81
84
87
91
94
97
100
103
106
109
112
115
118
121
124
127
130
134
137
141
144
147
148 // Compound Action Tool actions, e.g. Move Individually
150
153
156
171
178
181
184
187
191
193
196
199
200 // Drawing Tool Activations
233
236
239
242
245
250
251 // Push and Shove Router Tool
252
255
258
262
264
270
274
280
283
294
296
297 // Point Editor
301
304
307
308
309 // Group Tool
312
313
314 // Placement Tool
325
326 // Position Relative Tool
329
333
334 // Display modes
348
349 // Layer control
388
389 // Group to link all actions that directly select layers
391
392 static TOOL_ACTION layerChanged; // notification
393
395
396 // Track & via size control
401
402 static TOOL_ACTION trackViaSizeChanged; // notification
403
405
406 // Zone actions
413
416
419
420 // Global edit tool
434
436
439
448
450
453
458
459 // Footprint editor tools
460
461 // We don't use ACTION::new here because we need to distinguish between New Library
462 // and New Footprint.
464
465 // Create a new footprint using the Footprint Wizard
467
477
480
482
485
488
491
494
497
500
501 // Pad tools
502
505
508
511
512 // Microwave tools
514
516
518
520
522
523 // Constrained drawing
525
526 // Locking
530
531 // Grouping
537
538 // Miscellaneous
555
556 // Appearance controls
557 static TOOL_ACTION clearHighlight; // Turns off highlight and resets previous highlight
558 static TOOL_ACTION highlightNet; // Highlights a net by code (cross-probe highlight)
559 static TOOL_ACTION toggleLastNetHighlight; // Toggles between current and previous highlight
560 static TOOL_ACTION toggleNetHighlight; // Toggles between highlight off and highlight on
561 static TOOL_ACTION highlightNetSelection; // Turns on highlight and takes net from selection
562 static TOOL_ACTION highlightItem; // Select component via cross-probe
563
564 // Ratsnest
570
573
576
579
580 // convert tool
587
591
594};
595
597{
598public:
602};
603
604#endif
Gather all the actions that are shared by tools.
Definition: actions.h:41
Gather all the actions that are shared by tools.
Definition: pcb_actions.h:50
static TOOL_ACTION deleteLastPoint
Definition: pcb_actions.h:231
static TOOL_ACTION toggleHV45Mode
Definition: pcb_actions.h:524
static TOOL_ACTION editTracksAndVias
Definition: pcb_actions.h:422
static TOOL_ACTION_GROUP layerDirectSwitchActions()
static TOOL_ACTION deleteFootprint
Definition: pcb_actions.h:471
static TOOL_ACTION drawRuleArea
Definition: pcb_actions.h:223
static TOOL_ACTION layerToggle
Definition: pcb_actions.h:386
static TOOL_ACTION drag45Degree
Definition: pcb_actions.h:197
static TOOL_ACTION duplicateIncrement
Activation of the duplication tool with incrementing (e.g. pad number)
Definition: pcb_actions.h:186
static TOOL_ACTION layerInner12
Definition: pcb_actions.h:362
static TOOL_ACTION changeDimensionArrows
Switch between dimension arrow directions.
Definition: pcb_actions.h:244
static TOOL_ACTION microwaveCreateGap
Definition: pcb_actions.h:513
static TOOL_ACTION recombinePad
Definition: pcb_actions.h:487
static TOOL_ACTION drawBezier
Definition: pcb_actions.h:206
static TOOL_ACTION renameFootprint
Definition: pcb_actions.h:470
static TOOL_ACTION routerUndoLastSegment
Definition: pcb_actions.h:263
static TOOL_ACTION placeText
Definition: pcb_actions.h:208
static TOOL_ACTION layerInner8
Definition: pcb_actions.h:358
static TOOL_ACTION swapLayers
Definition: pcb_actions.h:432
static TOOL_ACTION zonesManager
Definition: pcb_actions.h:457
static TOOL_ACTION generateBOM
Definition: pcb_actions.h:447
static TOOL_ACTION pointEditorArcKeepCenter
Definition: pcb_actions.h:302
static TOOL_ACTION highlightItem
Definition: pcb_actions.h:562
static TOOL_ACTION drawOrthogonalDimension
Definition: pcb_actions.h:219
static TOOL_ACTION zoneDisplayToggle
Definition: pcb_actions.h:346
static TOOL_ACTION enumeratePads
Tool for quick pad enumeration.
Definition: pcb_actions.h:490
static TOOL_ACTION drawRectangle
Definition: pcb_actions.h:203
static TOOL_ACTION layerInner3
Definition: pcb_actions.h:353
static TOOL_ACTION layerPrev
Definition: pcb_actions.h:383
static TOOL_ACTION setAnchor
Definition: pcb_actions.h:230
static TOOL_ACTION padDisplayMode
Definition: pcb_actions.h:340
static TOOL_ACTION placeReferenceImage
Definition: pcb_actions.h:207
static TOOL_ACTION routerSettingsDialog
Activation of the Push and Shove settings dialogs.
Definition: pcb_actions.h:272
static TOOL_ACTION showRatsnest
Definition: pcb_actions.h:335
static TOOL_ACTION zoneFillAll
Definition: pcb_actions.h:408
static TOOL_ACTION layerInner2
Definition: pcb_actions.h:352
static TOOL_ACTION showLayersManager
Definition: pcb_actions.h:454
static TOOL_ACTION changeTrackWidth
Update selected tracks & vias to the current track & via dimensions.
Definition: pcb_actions.h:152
static TOOL_ACTION trackWidthDec
Definition: pcb_actions.h:398
static TOOL_ACTION routerAttemptFinish
Definition: pcb_actions.h:266
static TOOL_ACTION convertToKeepout
Definition: pcb_actions.h:583
static TOOL_ACTION toggleNetHighlight
Definition: pcb_actions.h:560
static TOOL_ACTION generateDrillFiles
Definition: pcb_actions.h:441
static TOOL_ACTION pushPadSettings
Copy the current pad's settings to other pads in the footprint or on the board.
Definition: pcb_actions.h:510
static TOOL_ACTION unrouteSelected
Removes all tracks from the selected items to the first pad.
Definition: pcb_actions.h:93
static TOOL_ACTION drawCircle
Definition: pcb_actions.h:204
static TOOL_ACTION magneticSnapAllLayers
Definition: pcb_actions.h:248
static TOOL_ACTION mirrorH
Mirroring of selected items.
Definition: pcb_actions.h:139
static TOOL_ACTION routeDiffPair
Activation of the Push and Shove router (differential pair mode)
Definition: pcb_actions.h:257
static TOOL_ACTION selectionCursor
Select a single item under the cursor position.
Definition: pcb_actions.h:65
static TOOL_ACTION pickerTool
Definition: pcb_actions.h:540
static TOOL_ACTION generateD356File
Definition: pcb_actions.h:446
static TOOL_ACTION groupLeave
Definition: pcb_actions.h:536
static TOOL_ACTION updateFootprint
Definition: pcb_actions.h:428
static TOOL_ACTION tuneDiffPair
Definition: pcb_actions.h:260
static TOOL_ACTION convertToTracks
Definition: pcb_actions.h:586
static TOOL_ACTION alignTop
Definition: pcb_actions.h:315
static TOOL_ACTION trackViaSizeChanged
Definition: pcb_actions.h:402
static TOOL_ACTION exportSpecctraDSN
Definition: pcb_actions.h:438
static TOOL_ACTION createFootprint
Definition: pcb_actions.h:466
static TOOL_ACTION layerChanged
Definition: pcb_actions.h:392
static TOOL_ACTION trackWidthInc
Definition: pcb_actions.h:397
static TOOL_ACTION grabUnconnected
Select and move nearest unconnected footprint from ratsnest of selection.
Definition: pcb_actions.h:105
static TOOL_ACTION filterSelection
Filter the items in the current selection (invokes dialog)
Definition: pcb_actions.h:117
static TOOL_ACTION ddAppendBoard
Drag and drop.
Definition: pcb_actions.h:589
static TOOL_ACTION editFootprint
Definition: pcb_actions.h:468
static TOOL_ACTION exportFootprint
Definition: pcb_actions.h:476
static TOOL_ACTION layerInner25
Definition: pcb_actions.h:375
static TOOL_ACTION breakTrack
Break a single track into two segments at the cursor.
Definition: pcb_actions.h:195
static TOOL_ACTION pointEditorMoveMidpoint
Definition: pcb_actions.h:306
static TOOL_ACTION highlightNet
Definition: pcb_actions.h:558
static TOOL_ACTION magneticSnapActiveLayer
Snapping controls.
Definition: pcb_actions.h:247
static TOOL_ACTION generateIPC2581File
Definition: pcb_actions.h:444
static TOOL_ACTION getAndPlace
Find an item and start moving.
Definition: pcb_actions.h:575
static TOOL_ACTION drawTable
Definition: pcb_actions.h:210
static TOOL_ACTION drawTextBox
Definition: pcb_actions.h:209
static TOOL_ACTION generateODBPPFile
Definition: pcb_actions.h:445
static TOOL_ACTION repeatLayout
Definition: pcb_actions.h:592
static TOOL_ACTION copyPadSettings
Copy the selected pad's settings to the board design settings.
Definition: pcb_actions.h:504
static TOOL_ACTION layerAlphaDec
Definition: pcb_actions.h:385
static TOOL_ACTION unselectItem
Definition: pcb_actions.h:72
static TOOL_ACTION routerRouteSelectedFromEnd
Definition: pcb_actions.h:268
static TOOL_ACTION routerHighlightMode
Actions to enable switching modes via hotkey assignments.
Definition: pcb_actions.h:276
static TOOL_ACTION routerWalkaroundMode
Definition: pcb_actions.h:278
static TOOL_ACTION routerShoveMode
Definition: pcb_actions.h:277
static TOOL_ACTION convertToLines
Definition: pcb_actions.h:584
static TOOL_ACTION drawZoneCutout
Definition: pcb_actions.h:224
static TOOL_ACTION genPushEdit
Definition: pcb_actions.h:291
static TOOL_ACTION drawPolygon
Definition: pcb_actions.h:202
static TOOL_ACTION placePad
Activation of the drawing tool (placing a PAD)
Definition: pcb_actions.h:484
static TOOL_ACTION hideNetInRatsnest
Definition: pcb_actions.h:565
static TOOL_ACTION hideLocalRatsnest
Definition: pcb_actions.h:568
static TOOL_ACTION group
Definition: pcb_actions.h:532
static TOOL_ACTION distributeHorizontallyGaps
Definition: pcb_actions.h:322
static TOOL_ACTION zoneDisplayFilled
Definition: pcb_actions.h:342
static TOOL_ACTION layerInner24
Definition: pcb_actions.h:374
static TOOL_ACTION viaSizeDec
Definition: pcb_actions.h:400
static TOOL_ACTION showNetInRatsnest
Definition: pcb_actions.h:566
static TOOL_ACTION drawRadialDimension
Definition: pcb_actions.h:218
static TOOL_ACTION genStartEdit
Definition: pcb_actions.h:289
static TOOL_ACTION tuneSingleTrack
Definition: pcb_actions.h:259
static TOOL_ACTION zoneFill
Definition: pcb_actions.h:407
static TOOL_ACTION cleanupTracksAndVias
Definition: pcb_actions.h:426
static TOOL_ACTION viaDisplayMode
Definition: pcb_actions.h:341
static TOOL_ACTION editTextAndGraphics
Definition: pcb_actions.h:423
static TOOL_ACTION properties
Activation of the edit tool.
Definition: pcb_actions.h:180
static TOOL_ACTION drawLeader
Definition: pcb_actions.h:220
static TOOL_ACTION editFpInFpEditor
Definition: pcb_actions.h:451
static TOOL_ACTION selectionTool
Definition: pcb_actions.h:539
static TOOL_ACTION selectionClear
Clear the current selection.
Definition: pcb_actions.h:68
static TOOL_ACTION moveWithReference
move with a reference point
Definition: pcb_actions.h:126
static TOOL_ACTION toggleLock
Definition: pcb_actions.h:527
static TOOL_ACTION swap
Swapping of selected items.
Definition: pcb_actions.h:143
static TOOL_ACTION toggleLastNetHighlight
Definition: pcb_actions.h:559
static TOOL_ACTION layerInner29
Definition: pcb_actions.h:379
static TOOL_ACTION * LayerIDToAction(PCB_LAYER_ID aLayerID)
Translate a layer ID into the action that switches to that layer.
static TOOL_ACTION drillResetOrigin
Definition: pcb_actions.h:543
static TOOL_ACTION placeCharacteristics
Definition: pcb_actions.h:226
static TOOL_ACTION pluginsShowFolder
Scripting Actions.
Definition: pcb_actions.h:418
static TOOL_ACTION viaSizeInc
Definition: pcb_actions.h:399
static TOOL_ACTION routerAutorouteSelected
Definition: pcb_actions.h:269
static TOOL_ACTION moveExact
Activation of the exact move tool.
Definition: pcb_actions.h:183
static TOOL_ACTION autoplaceOffboardComponents
Definition: pcb_actions.h:577
static TOOL_ACTION layerInner11
Definition: pcb_actions.h:361
static TOOL_ACTION routerDiffPairDialog
Definition: pcb_actions.h:273
static TOOL_ACTION explodePad
Definition: pcb_actions.h:486
static TOOL_ACTION routerContinueFromEnd
Definition: pcb_actions.h:265
static TOOL_ACTION zoneUnfill
Definition: pcb_actions.h:410
static TOOL_ACTION intersectPolygons
Intersection of multiple polygons.
Definition: pcb_actions.h:177
static TOOL_ACTION pointEditorMoveCorner
Definition: pcb_actions.h:305
static TOOL_ACTION layerAlphaInc
Definition: pcb_actions.h:384
static TOOL_ACTION layerPairPresetsCycle
Definition: pcb_actions.h:387
static TOOL_ACTION distributeHorizontallyCenters
Definition: pcb_actions.h:321
static TOOL_ACTION inspectConstraints
Definition: pcb_actions.h:552
static TOOL_ACTION generatePosFile
Definition: pcb_actions.h:442
static TOOL_ACTION globalDeletions
Definition: pcb_actions.h:425
static TOOL_ACTION newFootprint
Definition: pcb_actions.h:463
static TOOL_ACTION genRemove
Definition: pcb_actions.h:293
static TOOL_ACTION drillOrigin
Definition: pcb_actions.h:542
static TOOL_ACTION selectOnSheetFromEeschema
Select all components on sheet from Eeschema crossprobing.
Definition: pcb_actions.h:108
static TOOL_ACTION layerInner16
Definition: pcb_actions.h:366
static TOOL_ACTION defaultPadProperties
Definition: pcb_actions.h:479
static TOOL_ACTION selectConnection
Select tracks between junctions or expands an existing selection to pads or the entire connection.
Definition: pcb_actions.h:90
static TOOL_ACTION assignNetClass
Definition: pcb_actions.h:404
static TOOL_ACTION packAndMoveFootprints
Pack and start moving selected footprints.
Definition: pcb_actions.h:146
static TOOL_ACTION alignRight
Definition: pcb_actions.h:318
static TOOL_ACTION tuneSkew
Definition: pcb_actions.h:261
static TOOL_ACTION copyWithReference
copy command with manual reference point selection
Definition: pcb_actions.h:129
static TOOL_ACTION layerInner26
Definition: pcb_actions.h:376
static TOOL_ACTION layerInner18
Definition: pcb_actions.h:368
static TOOL_ACTION incWidth
Increase width of currently drawn line.
Definition: pcb_actions.h:235
static TOOL_ACTION repairBoard
Definition: pcb_actions.h:549
static TOOL_ACTION layerInner14
Definition: pcb_actions.h:364
static TOOL_ACTION healShapes
Connect selected shapes, possibly extending or cutting them, or adding extra geometry.
Definition: pcb_actions.h:164
static TOOL_ACTION selectPointInteractively
Definition: pcb_actions.h:332
static TOOL_ACTION trackDisplayMode
Definition: pcb_actions.h:339
static TOOL_ACTION showNetInspector
Definition: pcb_actions.h:455
static TOOL_ACTION selectLayerPair
Definition: pcb_actions.h:192
static TOOL_ACTION magneticSnapToggle
Definition: pcb_actions.h:249
static TOOL_ACTION microwaveCreateStubArc
Definition: pcb_actions.h:517
static TOOL_ACTION layerInner6
Definition: pcb_actions.h:356
static TOOL_ACTION dragFreeAngle
Definition: pcb_actions.h:198
static TOOL_ACTION positionRelativeInteractively
Definition: pcb_actions.h:328
static TOOL_ACTION clearHighlight
Definition: pcb_actions.h:557
static TOOL_ACTION generateGerbers
Definition: pcb_actions.h:440
static TOOL_ACTION inspectClearance
Definition: pcb_actions.h:551
static TOOL_ACTION convertToZone
Definition: pcb_actions.h:582
static TOOL_ACTION ddImportFootprint
Definition: pcb_actions.h:590
static TOOL_ACTION generatorsShowManager
Definition: pcb_actions.h:295
static TOOL_ACTION unselectItems
Definition: pcb_actions.h:77
static TOOL_ACTION zoneDisplayTriangulated
Definition: pcb_actions.h:345
static TOOL_ACTION genUpdateEdit
Definition: pcb_actions.h:290
static TOOL_ACTION generateReportFile
Definition: pcb_actions.h:443
static TOOL_ACTION updateLocalRatsnest
Definition: pcb_actions.h:569
static TOOL_ACTION spacingDecrease
Definition: pcb_actions.h:212
static TOOL_ACTION updateFootprints
Definition: pcb_actions.h:429
static TOOL_ACTION ungroup
Definition: pcb_actions.h:533
static TOOL_ACTION groupProperties
Definition: pcb_actions.h:310
static TOOL_ACTION importFootprint
Definition: pcb_actions.h:475
static TOOL_ACTION autoplaceSelectedComponents
Definition: pcb_actions.h:578
static TOOL_ACTION layerInner22
Definition: pcb_actions.h:372
static TOOL_ACTION find
Find an item.
Definition: pcb_actions.h:572
static TOOL_ACTION alignBottom
Definition: pcb_actions.h:316
static TOOL_ACTION pickNewGroupMember
Definition: pcb_actions.h:311
static TOOL_ACTION selectUnconnected
Select unconnected footprints from ratsnest of selection.
Definition: pcb_actions.h:102
static TOOL_ACTION placeImportedGraphics
Definition: pcb_actions.h:229
static TOOL_ACTION layerInner5
Definition: pcb_actions.h:355
static TOOL_ACTION removeUnusedPads
Definition: pcb_actions.h:433
static TOOL_ACTION zoneDisplayFractured
Definition: pcb_actions.h:344
static TOOL_ACTION ratsnestModeCycle
Definition: pcb_actions.h:338
static TOOL_ACTION drawVia
Definition: pcb_actions.h:222
static TOOL_ACTION regenerateAll
Definition: pcb_actions.h:286
static TOOL_ACTION applyPadSettings
Copy the default pad settings to the selected pad.
Definition: pcb_actions.h:507
static TOOL_ACTION alignLeft
Definition: pcb_actions.h:317
static TOOL_ACTION drawArc
Definition: pcb_actions.h:205
static TOOL_ACTION deleteFull
Definition: pcb_actions.h:190
static TOOL_ACTION runDRC
Definition: pcb_actions.h:449
static TOOL_ACTION convertToPoly
Definition: pcb_actions.h:581
static TOOL_ACTION zoneDuplicate
Duplicate zone onto another layer.
Definition: pcb_actions.h:415
static TOOL_ACTION regenerateAllTuning
Generator tool.
Definition: pcb_actions.h:285
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
Definition: pcb_actions.h:496
static TOOL_ACTION importNetlist
Definition: pcb_actions.h:435
static TOOL_ACTION generatePlacementRuleAreas
Definition: pcb_actions.h:593
static TOOL_ACTION layerInner20
Definition: pcb_actions.h:370
static TOOL_ACTION layerInner7
Definition: pcb_actions.h:357
static TOOL_ACTION layerInner27
Definition: pcb_actions.h:377
static TOOL_ACTION placeFileOrigin
Definition: pcb_actions.h:544
static TOOL_ACTION diffFootprint
Definition: pcb_actions.h:553
static TOOL_ACTION moveIndividually
move items one-by-one
Definition: pcb_actions.h:123
static TOOL_ACTION changeFootprints
Definition: pcb_actions.h:431
static TOOL_ACTION outsetItems
Create outset items from selection.
Definition: pcb_actions.h:170
static TOOL_ACTION drawSimilarZone
Definition: pcb_actions.h:225
static TOOL_ACTION pointEditorArcKeepEndpoint
Definition: pcb_actions.h:303
static TOOL_ACTION syncSelection
Sets selection to specified items, zooms to fit, if enabled.
Definition: pcb_actions.h:80
static TOOL_ACTION remove
Deleting a BOARD_ITEM.
Definition: pcb_actions.h:189
static TOOL_ACTION boardSetup
Definition: pcb_actions.h:421
static TOOL_ACTION showEeschema
Definition: pcb_actions.h:546
static TOOL_ACTION decWidth
Decrease width of currently drawn line.
Definition: pcb_actions.h:238
static TOOL_ACTION drawCenterDimension
Definition: pcb_actions.h:217
static TOOL_ACTION groupEnter
Definition: pcb_actions.h:535
static TOOL_ACTION zoneUnfillAll
Definition: pcb_actions.h:411
static TOOL_ACTION pasteFootprint
Definition: pcb_actions.h:474
static TOOL_ACTION zoneFillDirty
Definition: pcb_actions.h:409
static TOOL_ACTION selectItem
Select an item (specified as the event parameter).
Definition: pcb_actions.h:71
static TOOL_ACTION chamferLines
Chamfer (i.e. adds a straight line) all selected straight lines by a user defined setback.
Definition: pcb_actions.h:160
static TOOL_ACTION appendBoard
Definition: pcb_actions.h:545
static TOOL_ACTION netColorModeCycle
Definition: pcb_actions.h:337
static TOOL_ACTION selectSameSheet
Select all components on the same sheet as the selected footprint.
Definition: pcb_actions.h:111
static TOOL_ACTION measureTool
Definition: pcb_actions.h:541
static TOOL_ACTION layerInner1
Definition: pcb_actions.h:351
static TOOL_ACTION layerInner10
Definition: pcb_actions.h:360
static TOOL_ACTION dogboneCorners
Add "dogbone" corners to selected lines to allow routing with a cutter radius.
Definition: pcb_actions.h:162
static TOOL_ACTION microwaveCreateStub
Definition: pcb_actions.h:515
static TOOL_ACTION selectNet
Select all connections belonging to a single net.
Definition: pcb_actions.h:96
static TOOL_ACTION filletTracks
Fillet (i.e. adds an arc tangent to) all selected straight tracks by a user defined radius.
Definition: pcb_actions.h:155
static TOOL_ACTION layerInner15
Definition: pcb_actions.h:365
static TOOL_ACTION simplifyPolygons
Simplify polygon outlines.
Definition: pcb_actions.h:168
static TOOL_ACTION arcPosture
Switch posture when drawing arc.
Definition: pcb_actions.h:241
static TOOL_ACTION microwaveCreateLine
Definition: pcb_actions.h:521
static TOOL_ACTION footprintProperties
Definition: pcb_actions.h:478
static TOOL_ACTION layerInner17
Definition: pcb_actions.h:367
static TOOL_ACTION flipBoard
Definition: pcb_actions.h:394
static TOOL_ACTION layerBottom
Definition: pcb_actions.h:381
static TOOL_ACTION zoneDisplayOutline
Definition: pcb_actions.h:343
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: pcb_actions.h:62
static TOOL_ACTION ratsnestLineMode
Definition: pcb_actions.h:336
static TOOL_ACTION showFootprintAssociations
Definition: pcb_actions.h:554
static TOOL_ACTION layerInner19
Definition: pcb_actions.h:369
static TOOL_ACTION layerInner9
Definition: pcb_actions.h:359
static TOOL_ACTION pointEditorChamferCorner
Definition: pcb_actions.h:300
static TOOL_ACTION textOutlines
Display texts as lines.
Definition: pcb_actions.h:499
static TOOL_ACTION showPadNumbers
Definition: pcb_actions.h:347
static TOOL_ACTION checkFootprint
Definition: pcb_actions.h:481
static TOOL_ACTION filletLines
Fillet (i.e. adds an arc tangent to) all selected straight lines by a user defined radius.
Definition: pcb_actions.h:158
static TOOL_ACTION highlightNetSelection
Definition: pcb_actions.h:561
static TOOL_ACTION microwaveCreateFunctionShape
Definition: pcb_actions.h:519
static TOOL_ACTION editLibFpInFpEditor
Definition: pcb_actions.h:452
static TOOL_ACTION zoneMerge
Definition: pcb_actions.h:412
static TOOL_ACTION duplicateFootprint
Definition: pcb_actions.h:469
static TOOL_ACTION closeOutline
Definition: pcb_actions.h:232
static TOOL_ACTION changeFootprint
Definition: pcb_actions.h:430
static TOOL_ACTION routerInlineDrag
Activation of the Push and Shove router (inline dragging mode)
Definition: pcb_actions.h:282
static TOOL_ACTION pointEditorRemoveCorner
Definition: pcb_actions.h:299
static TOOL_ACTION positionRelative
Definition: pcb_actions.h:327
static TOOL_ACTION skip
Definition: pcb_actions.h:149
static TOOL_ACTION amplIncrease
Definition: pcb_actions.h:213
static TOOL_ACTION move
move or drag an item
Definition: pcb_actions.h:120
static TOOL_ACTION mirrorV
Definition: pcb_actions.h:140
static TOOL_ACTION cutFootprint
Definition: pcb_actions.h:472
static TOOL_ACTION amplDecrease
Definition: pcb_actions.h:214
static TOOL_ACTION unlock
Definition: pcb_actions.h:529
static TOOL_ACTION lengthTunerSettings
Definition: pcb_actions.h:215
static TOOL_ACTION mergePolygons
Merge multiple polygons into a single polygon.
Definition: pcb_actions.h:173
static TOOL_ACTION syncSelectionWithNets
Sets selection to specified items with connected nets, zooms to fit, if enabled.
Definition: pcb_actions.h:83
static TOOL_ACTION spacingIncrease
Definition: pcb_actions.h:211
static TOOL_ACTION layerInner30
Definition: pcb_actions.h:380
static TOOL_ACTION boardReannotate
Definition: pcb_actions.h:548
static TOOL_ACTION subtractPolygons
Subtract polygons from other polygons.
Definition: pcb_actions.h:175
static TOOL_ACTION layerTop
Definition: pcb_actions.h:350
static TOOL_ACTION selectItems
Select a list of items (specified as the event parameter)
Definition: pcb_actions.h:76
static TOOL_ACTION cycleRouterMode
Definition: pcb_actions.h:279
static TOOL_ACTION regenerateSelected
Definition: pcb_actions.h:287
static TOOL_ACTION convertToArc
Definition: pcb_actions.h:585
static TOOL_ACTION layerInner4
Definition: pcb_actions.h:354
static TOOL_ACTION repairFootprint
Definition: pcb_actions.h:550
static TOOL_ACTION flip
Flipping of selected objects.
Definition: pcb_actions.h:136
static TOOL_ACTION alignCenterX
Definition: pcb_actions.h:319
static TOOL_ACTION placeFootprint
Definition: pcb_actions.h:228
static TOOL_ACTION pointEditorAddCorner
Definition: pcb_actions.h:298
static TOOL_ACTION routeSingleTrack
Activation of the Push and Shove router.
Definition: pcb_actions.h:254
static TOOL_ACTION layerInner13
Definition: pcb_actions.h:363
static TOOL_ACTION layerInner21
Definition: pcb_actions.h:371
static TOOL_ACTION selectItemInteractively
Selection of reference points/items.
Definition: pcb_actions.h:331
static TOOL_ACTION removeFromGroup
Definition: pcb_actions.h:534
static TOOL_ACTION createArray
Tool for creating an array of objects.
Definition: pcb_actions.h:493
static TOOL_ACTION boardStatistics
Definition: pcb_actions.h:547
static TOOL_ACTION deselectNet
Remove all connections belonging to a single net from the active selection.
Definition: pcb_actions.h:99
static TOOL_ACTION editTeardrops
Definition: pcb_actions.h:424
static TOOL_ACTION layerNext
Definition: pcb_actions.h:382
static TOOL_ACTION selectionMenu
Run a selection menu to select from a list of items.
Definition: pcb_actions.h:86
static TOOL_ACTION showPythonConsole
Definition: pcb_actions.h:456
static TOOL_ACTION copyFootprint
Definition: pcb_actions.h:473
static TOOL_ACTION reselectItem
Definition: pcb_actions.h:73
static TOOL_ACTION extendLines
Extend selected lines to meet at a point.
Definition: pcb_actions.h:166
static TOOL_ACTION drawLine
Definition: pcb_actions.h:201
static TOOL_ACTION distributeVerticallyGaps
Definition: pcb_actions.h:324
static TOOL_ACTION placeStackup
Definition: pcb_actions.h:227
static TOOL_ACTION regenerateItem
Definition: pcb_actions.h:288
static TOOL_ACTION localRatsnestTool
Definition: pcb_actions.h:567
static TOOL_ACTION routerRouteSelected
Definition: pcb_actions.h:267
static TOOL_ACTION cleanupGraphics
Definition: pcb_actions.h:427
static TOOL_ACTION rotateCw
Rotation of selected objects.
Definition: pcb_actions.h:132
static TOOL_ACTION rotateCcw
Definition: pcb_actions.h:133
static TOOL_ACTION drawAlignedDimension
Definition: pcb_actions.h:216
static TOOL_ACTION genRevertEdit
Definition: pcb_actions.h:292
static TOOL_ACTION layerInner23
Definition: pcb_actions.h:373
static TOOL_ACTION distributeVerticallyCenters
Definition: pcb_actions.h:323
static TOOL_ACTION drawZone
Definition: pcb_actions.h:221
static TOOL_ACTION alignCenterY
Definition: pcb_actions.h:320
static TOOL_ACTION importSpecctraSession
Definition: pcb_actions.h:437
static TOOL_ACTION selectOnSchematic
Select symbols/pins on schematic corresponding to selected footprints/pads.
Definition: pcb_actions.h:114
static TOOL_ACTION lock
Definition: pcb_actions.h:528
static TOOL_ACTION layerInner28
Definition: pcb_actions.h:378
static const TOOL_EVENT SnappingModeChangedByKeyEvent
Hotkey feedback.
Definition: pcb_actions.h:600
static const TOOL_EVENT LayerPairPresetChangedByKeyEvent
Definition: pcb_actions.h:601
Define a group that can be used to group actions (and their events) of similar operations.
Definition: tool_action.h:63
Represent a single user action.
Definition: tool_action.h:269
Generic, UI-independent tool event.
Definition: tool_event.h:167
PCB_LAYER_ID
A quick note on layer IDs:
Definition: layer_ids.h:60
ZONE_MODE
Definition: pcb_actions.h:35
@ SIMILAR
Add a new zone with the same settings as an existing one.
@ CUTOUT
Make a cutout to an existing zone.
@ ADD
Add a new zone/keepout with fresh settings.