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 The 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
42class DESIGN_BLOCK;
43
50class PCB_ACTIONS : public ACTIONS
51{
52public:
59 static TOOL_ACTION* LayerIDToAction( PCB_LAYER_ID aLayerID );
60
61 // Selection Tool
64
67
70
74
77
80
83
86
89
92
95
98
101
104
107
110
113
117
120
124
127
130
131 // Compound Action Tool actions, e.g. Move Individually
133
136
139
154
161
164
167
170
174
176
179
182
183 // Drawing Tool Activations
216
219
222
225
228
233
234 // Push and Shove Router Tool
235
238
241
245
247
253
257
263
266
277
279
280 // Point Editor
284
287
290
291 // Placement Tool
302
303 // Position Relative Tool
306
310
311 // Display modes
326
327 // Layer control
366
367 // Group to link all actions that directly select layers
369
370 static TOOL_ACTION layerChanged; // notification
371
373
375
376 // Track & via size control
381
383
384 static TOOL_ACTION trackViaSizeChanged; // notification
385
387
388 // Zone actions
395
398
401
402 // Global edit tool
416
418
421
430
432
435
440
441 // Design Block management
450
451 // Footprint editor tools
452
453 // We don't use ACTION::new here because we need to distinguish between New Library
454 // and New Footprint.
456
457 // Create a new footprint using the Footprint Wizard
459
469
472
474
477
480
483
486
489
492
495
498
499 // Pad tools
500
503
506
509
510 // Microwave tools
512
514
516
518
520
521 // Constrained drawing
523
524 // Locking
528
529 // Miscellaneous
546
547 // Appearance controls
548 static TOOL_ACTION clearHighlight; // Turns off highlight and resets previous highlight
549 static TOOL_ACTION highlightNet; // Highlights a net by code (cross-probe highlight)
550 static TOOL_ACTION toggleLastNetHighlight; // Toggles between current and previous highlight
551 static TOOL_ACTION toggleNetHighlight; // Toggles between highlight off and highlight on
552 static TOOL_ACTION highlightNetSelection; // Turns on highlight and takes net from selection
553 static TOOL_ACTION highlightItem; // Select component via cross-probe
554
555 // Ratsnest
561
564
567
570
571 // convert tool
578
582
585
592};
593
595{
596public:
597 // These are functions that access the underlying event because the event constructor
598 // needs the ACTION::cancelInteractive action, so we must
599
603};
604
605#endif
Gather all the actions that are shared by tools.
Definition: actions.h:48
Gather all the actions that are shared by tools.
Definition: pcb_actions.h:51
static TOOL_ACTION deleteLastPoint
Definition: pcb_actions.h:214
static TOOL_ACTION toggleHV45Mode
Definition: pcb_actions.h:522
static TOOL_ACTION editTracksAndVias
Definition: pcb_actions.h:404
static TOOL_ACTION_GROUP layerDirectSwitchActions()
static TOOL_ACTION deleteFootprint
Definition: pcb_actions.h:463
static TOOL_ACTION drawRuleArea
Definition: pcb_actions.h:206
static TOOL_ACTION layerToggle
Definition: pcb_actions.h:364
static TOOL_ACTION drag45Degree
Definition: pcb_actions.h:180
static TOOL_ACTION duplicateIncrement
Activation of the duplication tool with incrementing (e.g. pad number)
Definition: pcb_actions.h:169
static TOOL_ACTION layerInner12
Definition: pcb_actions.h:340
static TOOL_ACTION changeDimensionArrows
Switch between dimension arrow directions.
Definition: pcb_actions.h:227
static TOOL_ACTION microwaveCreateGap
Definition: pcb_actions.h:511
static TOOL_ACTION recombinePad
Definition: pcb_actions.h:485
static TOOL_ACTION drawBezier
Definition: pcb_actions.h:189
static TOOL_ACTION renameFootprint
Definition: pcb_actions.h:462
static TOOL_ACTION routerUndoLastSegment
Definition: pcb_actions.h:246
static TOOL_ACTION nextFootprint
Definition: pcb_actions.h:479
static TOOL_ACTION placeText
Definition: pcb_actions.h:191
static TOOL_ACTION layerInner8
Definition: pcb_actions.h:336
static TOOL_ACTION swapLayers
Definition: pcb_actions.h:414
static TOOL_ACTION zonesManager
Definition: pcb_actions.h:439
static TOOL_ACTION generateBOM
Definition: pcb_actions.h:429
static TOOL_ACTION pointEditorArcKeepCenter
Definition: pcb_actions.h:285
static TOOL_ACTION highlightItem
Definition: pcb_actions.h:553
static TOOL_ACTION drawOrthogonalDimension
Definition: pcb_actions.h:202
static TOOL_ACTION zoneDisplayToggle
Definition: pcb_actions.h:323
static TOOL_ACTION enumeratePads
Tool for quick pad enumeration.
Definition: pcb_actions.h:488
static TOOL_ACTION drawRectangle
Definition: pcb_actions.h:186
static TOOL_ACTION previousFootprint
Definition: pcb_actions.h:478
static TOOL_ACTION layerInner3
Definition: pcb_actions.h:331
static TOOL_ACTION layerPrev
Definition: pcb_actions.h:361
static TOOL_ACTION setAnchor
Definition: pcb_actions.h:213
static TOOL_ACTION padDisplayMode
Definition: pcb_actions.h:317
static TOOL_ACTION placeReferenceImage
Definition: pcb_actions.h:190
static TOOL_ACTION routerSettingsDialog
Activation of the Push and Shove settings dialogs.
Definition: pcb_actions.h:255
static TOOL_ACTION showRatsnest
Definition: pcb_actions.h:312
static TOOL_ACTION zoneFillAll
Definition: pcb_actions.h:390
static TOOL_ACTION layerInner2
Definition: pcb_actions.h:330
static TOOL_ACTION showLayersManager
Definition: pcb_actions.h:436
static TOOL_ACTION changeTrackWidth
Update selected tracks & vias to the current track & via dimensions.
Definition: pcb_actions.h:135
static TOOL_ACTION trackWidthDec
Definition: pcb_actions.h:378
static TOOL_ACTION routerAttemptFinish
Definition: pcb_actions.h:249
static TOOL_ACTION convertToKeepout
Definition: pcb_actions.h:574
static TOOL_ACTION toggleNetHighlight
Definition: pcb_actions.h:551
static TOOL_ACTION generateDrillFiles
Definition: pcb_actions.h:423
static TOOL_ACTION pushPadSettings
Copy the current pad's settings to other pads in the footprint or on the board.
Definition: pcb_actions.h:508
static TOOL_ACTION unrouteSelected
Removes all tracks from the selected items to the first pad.
Definition: pcb_actions.h:76
static TOOL_ACTION saveSelectionAsDesignBlock
Definition: pcb_actions.h:445
static TOOL_ACTION drawCircle
Definition: pcb_actions.h:187
static TOOL_ACTION magneticSnapAllLayers
Definition: pcb_actions.h:231
static TOOL_ACTION mirrorH
Mirroring of selected items.
Definition: pcb_actions.h:122
static TOOL_ACTION routeDiffPair
Activation of the Push and Shove router (differential pair mode)
Definition: pcb_actions.h:240
static TOOL_ACTION pickerTool
Definition: pcb_actions.h:531
static TOOL_ACTION generateD356File
Definition: pcb_actions.h:428
static TOOL_ACTION updateFootprint
Definition: pcb_actions.h:410
static TOOL_ACTION tuneDiffPair
Definition: pcb_actions.h:243
static TOOL_ACTION convertToTracks
Definition: pcb_actions.h:577
static TOOL_ACTION alignTop
Definition: pcb_actions.h:292
static TOOL_ACTION trackViaSizeChanged
Definition: pcb_actions.h:384
static TOOL_ACTION exportSpecctraDSN
Definition: pcb_actions.h:420
static TOOL_ACTION createFootprint
Definition: pcb_actions.h:458
static TOOL_ACTION layerChanged
Definition: pcb_actions.h:370
static TOOL_ACTION trackWidthInc
Definition: pcb_actions.h:377
static TOOL_ACTION grabUnconnected
Select and move nearest unconnected footprint from ratsnest of selection.
Definition: pcb_actions.h:88
static TOOL_ACTION filterSelection
Filter the items in the current selection (invokes dialog)
Definition: pcb_actions.h:100
static TOOL_ACTION ddAppendBoard
Drag and drop.
Definition: pcb_actions.h:580
static TOOL_ACTION editFootprint
Definition: pcb_actions.h:460
static TOOL_ACTION exportFootprint
Definition: pcb_actions.h:468
static TOOL_ACTION layerInner25
Definition: pcb_actions.h:353
static TOOL_ACTION editDesignBlockProperties
Definition: pcb_actions.h:449
static TOOL_ACTION breakTrack
Break a single track into two segments at the cursor.
Definition: pcb_actions.h:178
static TOOL_ACTION pointEditorMoveMidpoint
Definition: pcb_actions.h:289
static TOOL_ACTION highlightNet
Definition: pcb_actions.h:549
static TOOL_ACTION magneticSnapActiveLayer
Snapping controls.
Definition: pcb_actions.h:230
static TOOL_ACTION autoTrackWidth
Definition: pcb_actions.h:382
static TOOL_ACTION generateIPC2581File
Definition: pcb_actions.h:426
static TOOL_ACTION getAndPlace
Find an item and start moving.
Definition: pcb_actions.h:566
static TOOL_ACTION drawTable
Definition: pcb_actions.h:193
static TOOL_ACTION drawTextBox
Definition: pcb_actions.h:192
static TOOL_ACTION generateODBPPFile
Definition: pcb_actions.h:427
static TOOL_ACTION repeatLayout
Definition: pcb_actions.h:583
static TOOL_ACTION copyPadSettings
Copy the selected pad's settings to the board design settings.
Definition: pcb_actions.h:502
static TOOL_ACTION layerAlphaDec
Definition: pcb_actions.h:363
static TOOL_ACTION routerRouteSelectedFromEnd
Definition: pcb_actions.h:251
static TOOL_ACTION routerHighlightMode
Actions to enable switching modes via hotkey assignments.
Definition: pcb_actions.h:259
static TOOL_ACTION routerWalkaroundMode
Definition: pcb_actions.h:261
static TOOL_ACTION routerShoveMode
Definition: pcb_actions.h:260
static TOOL_ACTION convertToLines
Definition: pcb_actions.h:575
static TOOL_ACTION drawZoneCutout
Definition: pcb_actions.h:207
static TOOL_ACTION genPushEdit
Definition: pcb_actions.h:274
static TOOL_ACTION drawPolygon
Definition: pcb_actions.h:185
static TOOL_ACTION placePad
Activation of the drawing tool (placing a PAD)
Definition: pcb_actions.h:482
static TOOL_ACTION hideNetInRatsnest
Definition: pcb_actions.h:556
static TOOL_ACTION hideLocalRatsnest
Definition: pcb_actions.h:559
static TOOL_ACTION exportFpToEditor
Definition: pcb_actions.h:591
static TOOL_ACTION distributeHorizontallyGaps
Definition: pcb_actions.h:299
static TOOL_ACTION zoneDisplayFilled
Definition: pcb_actions.h:319
static TOOL_ACTION layerInner24
Definition: pcb_actions.h:352
static TOOL_ACTION viaSizeDec
Definition: pcb_actions.h:380
static TOOL_ACTION showNetInRatsnest
Definition: pcb_actions.h:557
static TOOL_ACTION drawRadialDimension
Definition: pcb_actions.h:201
static TOOL_ACTION genStartEdit
Definition: pcb_actions.h:272
static TOOL_ACTION tuneSingleTrack
Definition: pcb_actions.h:242
static TOOL_ACTION zoneFill
Definition: pcb_actions.h:389
static TOOL_ACTION cleanupTracksAndVias
Definition: pcb_actions.h:408
static TOOL_ACTION viaDisplayMode
Definition: pcb_actions.h:318
static TOOL_ACTION editTextAndGraphics
Definition: pcb_actions.h:405
static TOOL_ACTION properties
Activation of the edit tool.
Definition: pcb_actions.h:163
static TOOL_ACTION drawLeader
Definition: pcb_actions.h:203
static TOOL_ACTION editFpInFpEditor
Definition: pcb_actions.h:433
static TOOL_ACTION selectionTool
Definition: pcb_actions.h:530
static TOOL_ACTION moveWithReference
move with a reference point
Definition: pcb_actions.h:109
static TOOL_ACTION toggleLock
Definition: pcb_actions.h:525
static TOOL_ACTION swap
Swapping of selected items.
Definition: pcb_actions.h:126
static TOOL_ACTION toggleLastNetHighlight
Definition: pcb_actions.h:550
static TOOL_ACTION layerInner29
Definition: pcb_actions.h:357
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:534
static TOOL_ACTION deleteDesignBlock
Definition: pcb_actions.h:448
static TOOL_ACTION placeCharacteristics
Definition: pcb_actions.h:209
static TOOL_ACTION pluginsShowFolder
Scripting Actions.
Definition: pcb_actions.h:400
static TOOL_ACTION viaSizeInc
Definition: pcb_actions.h:379
static TOOL_ACTION routerAutorouteSelected
Definition: pcb_actions.h:252
static TOOL_ACTION moveExact
Activation of the exact move tool.
Definition: pcb_actions.h:166
static TOOL_ACTION autoplaceOffboardComponents
Definition: pcb_actions.h:568
static TOOL_ACTION layerInner11
Definition: pcb_actions.h:339
static TOOL_ACTION routerDiffPairDialog
Definition: pcb_actions.h:256
static TOOL_ACTION explodePad
Definition: pcb_actions.h:484
static TOOL_ACTION routerContinueFromEnd
Definition: pcb_actions.h:248
static TOOL_ACTION zoneUnfill
Definition: pcb_actions.h:392
static TOOL_ACTION intersectPolygons
Intersection of multiple polygons.
Definition: pcb_actions.h:160
static TOOL_ACTION pointEditorMoveCorner
Definition: pcb_actions.h:288
static TOOL_ACTION layerAlphaInc
Definition: pcb_actions.h:362
static TOOL_ACTION saveBoardAsDesignBlock
Definition: pcb_actions.h:444
static TOOL_ACTION layerPairPresetsCycle
Definition: pcb_actions.h:365
static TOOL_ACTION distributeHorizontallyCenters
Definition: pcb_actions.h:298
static TOOL_ACTION inspectConstraints
Definition: pcb_actions.h:543
static TOOL_ACTION generatePosFile
Definition: pcb_actions.h:424
static TOOL_ACTION globalDeletions
Definition: pcb_actions.h:407
static TOOL_ACTION newFootprint
Definition: pcb_actions.h:455
static TOOL_ACTION genRemove
Definition: pcb_actions.h:276
static TOOL_ACTION drillOrigin
Definition: pcb_actions.h:533
static TOOL_ACTION selectOnSheetFromEeschema
Select all components on sheet from Eeschema crossprobing.
Definition: pcb_actions.h:91
static TOOL_ACTION layerInner16
Definition: pcb_actions.h:344
static TOOL_ACTION defaultPadProperties
Definition: pcb_actions.h:471
static TOOL_ACTION selectConnection
Select tracks between junctions or expands an existing selection to pads or the entire connection.
Definition: pcb_actions.h:73
static TOOL_ACTION assignNetClass
Definition: pcb_actions.h:386
static TOOL_ACTION packAndMoveFootprints
Pack and start moving selected footprints.
Definition: pcb_actions.h:129
static TOOL_ACTION alignRight
Definition: pcb_actions.h:295
static TOOL_ACTION tuneSkew
Definition: pcb_actions.h:244
static TOOL_ACTION copyWithReference
copy command with manual reference point selection
Definition: pcb_actions.h:112
static TOOL_ACTION layerInner26
Definition: pcb_actions.h:354
static TOOL_ACTION layerInner18
Definition: pcb_actions.h:346
static TOOL_ACTION incWidth
Increase width of currently drawn line.
Definition: pcb_actions.h:218
static TOOL_ACTION repairBoard
Definition: pcb_actions.h:540
static TOOL_ACTION layerInner14
Definition: pcb_actions.h:342
static TOOL_ACTION healShapes
Connect selected shapes, possibly extending or cutting them, or adding extra geometry.
Definition: pcb_actions.h:147
static TOOL_ACTION selectPointInteractively
Definition: pcb_actions.h:309
static TOOL_ACTION trackDisplayMode
Definition: pcb_actions.h:316
static TOOL_ACTION showNetInspector
Definition: pcb_actions.h:437
static TOOL_ACTION selectLayerPair
Definition: pcb_actions.h:175
static TOOL_ACTION magneticSnapToggle
Definition: pcb_actions.h:232
static TOOL_ACTION microwaveCreateStubArc
Definition: pcb_actions.h:515
static TOOL_ACTION layerInner6
Definition: pcb_actions.h:334
static TOOL_ACTION dragFreeAngle
Definition: pcb_actions.h:181
static TOOL_ACTION positionRelativeInteractively
Definition: pcb_actions.h:305
static TOOL_ACTION clearHighlight
Definition: pcb_actions.h:548
static TOOL_ACTION generateGerbers
Definition: pcb_actions.h:422
static TOOL_ACTION inspectClearance
Definition: pcb_actions.h:542
static TOOL_ACTION convertToZone
Definition: pcb_actions.h:573
static TOOL_ACTION ddImportFootprint
Definition: pcb_actions.h:581
static TOOL_ACTION generatorsShowManager
Definition: pcb_actions.h:278
static TOOL_ACTION zoneDisplayTriangulated
Definition: pcb_actions.h:322
static TOOL_ACTION genUpdateEdit
Definition: pcb_actions.h:273
static TOOL_ACTION generateReportFile
Definition: pcb_actions.h:425
static TOOL_ACTION rehatchShapes
Definition: pcb_actions.h:374
static TOOL_ACTION updateLocalRatsnest
Definition: pcb_actions.h:560
static TOOL_ACTION spacingDecrease
Definition: pcb_actions.h:195
static TOOL_ACTION updateFootprints
Definition: pcb_actions.h:411
static TOOL_ACTION importFootprint
Definition: pcb_actions.h:467
static TOOL_ACTION autoplaceSelectedComponents
Definition: pcb_actions.h:569
static TOOL_ACTION layerInner22
Definition: pcb_actions.h:350
static TOOL_ACTION find
Find an item.
Definition: pcb_actions.h:563
static TOOL_ACTION placeDesignBlock
Definition: pcb_actions.h:442
static TOOL_ACTION alignBottom
Definition: pcb_actions.h:293
static TOOL_ACTION selectUnconnected
Select unconnected footprints from ratsnest of selection.
Definition: pcb_actions.h:85
static TOOL_ACTION placeImportedGraphics
Definition: pcb_actions.h:212
static TOOL_ACTION layerInner5
Definition: pcb_actions.h:333
static TOOL_ACTION removeUnusedPads
Definition: pcb_actions.h:415
static TOOL_ACTION zoneDisplayFractured
Definition: pcb_actions.h:321
static TOOL_ACTION ratsnestModeCycle
Definition: pcb_actions.h:315
static TOOL_ACTION drawVia
Definition: pcb_actions.h:205
static TOOL_ACTION regenerateAll
Definition: pcb_actions.h:269
static TOOL_ACTION showWizards
Footprint wizard frame actions:
Definition: pcb_actions.h:587
static TOOL_ACTION applyPadSettings
Copy the default pad settings to the selected pad.
Definition: pcb_actions.h:505
static TOOL_ACTION alignLeft
Definition: pcb_actions.h:294
static TOOL_ACTION drawArc
Definition: pcb_actions.h:188
static TOOL_ACTION deleteFull
Definition: pcb_actions.h:173
static TOOL_ACTION runDRC
Definition: pcb_actions.h:431
static TOOL_ACTION convertToPoly
Definition: pcb_actions.h:572
static TOOL_ACTION zoneDuplicate
Duplicate zone onto another layer.
Definition: pcb_actions.h:397
static TOOL_ACTION regenerateAllTuning
Generator tool.
Definition: pcb_actions.h:268
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
Definition: pcb_actions.h:494
static TOOL_ACTION importNetlist
Definition: pcb_actions.h:417
static TOOL_ACTION generatePlacementRuleAreas
Definition: pcb_actions.h:584
static TOOL_ACTION layerInner20
Definition: pcb_actions.h:348
static TOOL_ACTION selectNextWizardPage
Definition: pcb_actions.h:590
static TOOL_ACTION layerInner7
Definition: pcb_actions.h:335
static TOOL_ACTION layerInner27
Definition: pcb_actions.h:355
static TOOL_ACTION diffFootprint
Definition: pcb_actions.h:544
static TOOL_ACTION moveIndividually
move items one-by-one
Definition: pcb_actions.h:106
static TOOL_ACTION changeFootprints
Definition: pcb_actions.h:413
static TOOL_ACTION outsetItems
Create outset items from selection.
Definition: pcb_actions.h:153
static TOOL_ACTION drawSimilarZone
Definition: pcb_actions.h:208
static TOOL_ACTION pointEditorArcKeepEndpoint
Definition: pcb_actions.h:286
static TOOL_ACTION syncSelection
Sets selection to specified items, zooms to fit, if enabled.
Definition: pcb_actions.h:63
static TOOL_ACTION remove
Deleting a BOARD_ITEM.
Definition: pcb_actions.h:172
static TOOL_ACTION boardSetup
Definition: pcb_actions.h:403
static TOOL_ACTION showEeschema
Definition: pcb_actions.h:537
static TOOL_ACTION loadFpFromBoard
Definition: pcb_actions.h:475
static TOOL_ACTION showDesignBlockPanel
Definition: pcb_actions.h:443
static TOOL_ACTION decWidth
Decrease width of currently drawn line.
Definition: pcb_actions.h:221
static TOOL_ACTION drawCenterDimension
Definition: pcb_actions.h:200
static TOOL_ACTION zoneUnfillAll
Definition: pcb_actions.h:393
static TOOL_ACTION pasteFootprint
Definition: pcb_actions.h:466
static TOOL_ACTION zoneFillDirty
Definition: pcb_actions.h:391
static TOOL_ACTION chamferLines
Chamfer (i.e. adds a straight line) all selected straight lines by a user defined setback.
Definition: pcb_actions.h:143
static TOOL_ACTION appendBoard
Definition: pcb_actions.h:536
static TOOL_ACTION netColorModeCycle
Definition: pcb_actions.h:314
static TOOL_ACTION selectSameSheet
Select all components on the same sheet as the selected footprint.
Definition: pcb_actions.h:94
static TOOL_ACTION measureTool
Definition: pcb_actions.h:532
static TOOL_ACTION layerInner1
Definition: pcb_actions.h:329
static TOOL_ACTION layerInner10
Definition: pcb_actions.h:338
static TOOL_ACTION dogboneCorners
Add "dogbone" corners to selected lines to allow routing with a cutter radius.
Definition: pcb_actions.h:145
static TOOL_ACTION microwaveCreateStub
Definition: pcb_actions.h:513
static TOOL_ACTION selectNet
Select all connections belonging to a single net.
Definition: pcb_actions.h:79
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:138
static TOOL_ACTION layerInner15
Definition: pcb_actions.h:343
static TOOL_ACTION simplifyPolygons
Simplify polygon outlines.
Definition: pcb_actions.h:151
static TOOL_ACTION arcPosture
Switch posture when drawing arc.
Definition: pcb_actions.h:224
static TOOL_ACTION microwaveCreateLine
Definition: pcb_actions.h:519
static TOOL_ACTION footprintProperties
Definition: pcb_actions.h:470
static TOOL_ACTION layerInner17
Definition: pcb_actions.h:345
static TOOL_ACTION flipBoard
Definition: pcb_actions.h:372
static TOOL_ACTION layerBottom
Definition: pcb_actions.h:359
static TOOL_ACTION zoneDisplayOutline
Definition: pcb_actions.h:320
static TOOL_ACTION ratsnestLineMode
Definition: pcb_actions.h:313
static TOOL_ACTION showFootprintAssociations
Definition: pcb_actions.h:545
static TOOL_ACTION layerInner19
Definition: pcb_actions.h:347
static TOOL_ACTION layerInner9
Definition: pcb_actions.h:337
static TOOL_ACTION fpAutoZoom
Definition: pcb_actions.h:325
static TOOL_ACTION pointEditorChamferCorner
Definition: pcb_actions.h:283
static TOOL_ACTION textOutlines
Display texts as lines.
Definition: pcb_actions.h:497
static TOOL_ACTION resetWizardPrms
Definition: pcb_actions.h:588
static TOOL_ACTION showPadNumbers
Definition: pcb_actions.h:324
static TOOL_ACTION checkFootprint
Definition: pcb_actions.h:473
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:141
static TOOL_ACTION highlightNetSelection
Definition: pcb_actions.h:552
static TOOL_ACTION microwaveCreateFunctionShape
Definition: pcb_actions.h:517
static TOOL_ACTION saveSelectionToDesignBlock
Definition: pcb_actions.h:447
static TOOL_ACTION editLibFpInFpEditor
Definition: pcb_actions.h:434
static TOOL_ACTION zoneMerge
Definition: pcb_actions.h:394
static TOOL_ACTION duplicateFootprint
Definition: pcb_actions.h:461
static TOOL_ACTION closeOutline
Definition: pcb_actions.h:215
static TOOL_ACTION changeFootprint
Definition: pcb_actions.h:412
static TOOL_ACTION routerInlineDrag
Activation of the Push and Shove router (inline dragging mode)
Definition: pcb_actions.h:265
static TOOL_ACTION pointEditorRemoveCorner
Definition: pcb_actions.h:282
static TOOL_ACTION positionRelative
Definition: pcb_actions.h:304
static TOOL_ACTION skip
Definition: pcb_actions.h:132
static TOOL_ACTION amplIncrease
Definition: pcb_actions.h:196
static TOOL_ACTION move
move or drag an item
Definition: pcb_actions.h:103
static TOOL_ACTION mirrorV
Definition: pcb_actions.h:123
static TOOL_ACTION cutFootprint
Definition: pcb_actions.h:464
static TOOL_ACTION amplDecrease
Definition: pcb_actions.h:197
static TOOL_ACTION drillSetOrigin
Definition: pcb_actions.h:535
static TOOL_ACTION unlock
Definition: pcb_actions.h:527
static TOOL_ACTION lengthTunerSettings
Definition: pcb_actions.h:198
static TOOL_ACTION mergePolygons
Merge multiple polygons into a single polygon.
Definition: pcb_actions.h:156
static TOOL_ACTION syncSelectionWithNets
Sets selection to specified items with connected nets, zooms to fit, if enabled.
Definition: pcb_actions.h:66
static TOOL_ACTION spacingIncrease
Definition: pcb_actions.h:194
static TOOL_ACTION layerInner30
Definition: pcb_actions.h:358
static TOOL_ACTION boardReannotate
Definition: pcb_actions.h:539
static TOOL_ACTION subtractPolygons
Subtract polygons from other polygons.
Definition: pcb_actions.h:158
static TOOL_ACTION layerTop
Definition: pcb_actions.h:328
static TOOL_ACTION cycleRouterMode
Definition: pcb_actions.h:262
static TOOL_ACTION regenerateSelected
Definition: pcb_actions.h:270
static TOOL_ACTION convertToArc
Definition: pcb_actions.h:576
static TOOL_ACTION layerInner4
Definition: pcb_actions.h:332
static TOOL_ACTION repairFootprint
Definition: pcb_actions.h:541
static TOOL_ACTION flip
Flipping of selected objects.
Definition: pcb_actions.h:119
static TOOL_ACTION alignCenterX
Definition: pcb_actions.h:296
static TOOL_ACTION placeFootprint
Definition: pcb_actions.h:211
static TOOL_ACTION pointEditorAddCorner
Definition: pcb_actions.h:281
static TOOL_ACTION routeSingleTrack
Activation of the Push and Shove router.
Definition: pcb_actions.h:237
static TOOL_ACTION layerInner13
Definition: pcb_actions.h:341
static TOOL_ACTION layerInner21
Definition: pcb_actions.h:349
static TOOL_ACTION selectItemInteractively
Selection of reference points/items.
Definition: pcb_actions.h:308
static TOOL_ACTION createArray
Tool for creating an array of objects.
Definition: pcb_actions.h:491
static TOOL_ACTION saveBoardToDesignBlock
Definition: pcb_actions.h:446
static TOOL_ACTION boardStatistics
Definition: pcb_actions.h:538
static TOOL_ACTION saveFpToBoard
Definition: pcb_actions.h:476
static TOOL_ACTION deselectNet
Remove all connections belonging to a single net from the active selection.
Definition: pcb_actions.h:82
static TOOL_ACTION editTeardrops
Definition: pcb_actions.h:406
static TOOL_ACTION layerNext
Definition: pcb_actions.h:360
static TOOL_ACTION selectionMenu
Run a selection menu to select from a list of items.
Definition: pcb_actions.h:69
static TOOL_ACTION showPythonConsole
Definition: pcb_actions.h:438
static TOOL_ACTION copyFootprint
Definition: pcb_actions.h:465
static TOOL_ACTION extendLines
Extend selected lines to meet at a point.
Definition: pcb_actions.h:149
static TOOL_ACTION drawLine
Definition: pcb_actions.h:184
static TOOL_ACTION distributeVerticallyGaps
Definition: pcb_actions.h:301
static TOOL_ACTION placeStackup
Definition: pcb_actions.h:210
static TOOL_ACTION regenerateItem
Definition: pcb_actions.h:271
static TOOL_ACTION localRatsnestTool
Definition: pcb_actions.h:558
static TOOL_ACTION routerRouteSelected
Definition: pcb_actions.h:250
static TOOL_ACTION cleanupGraphics
Definition: pcb_actions.h:409
static TOOL_ACTION rotateCw
Rotation of selected objects.
Definition: pcb_actions.h:115
static TOOL_ACTION rotateCcw
Definition: pcb_actions.h:116
static TOOL_ACTION drawAlignedDimension
Definition: pcb_actions.h:199
static TOOL_ACTION genRevertEdit
Definition: pcb_actions.h:275
static TOOL_ACTION layerInner23
Definition: pcb_actions.h:351
static TOOL_ACTION distributeVerticallyCenters
Definition: pcb_actions.h:300
static TOOL_ACTION drawZone
Definition: pcb_actions.h:204
static TOOL_ACTION alignCenterY
Definition: pcb_actions.h:297
static TOOL_ACTION importSpecctraSession
Definition: pcb_actions.h:419
static TOOL_ACTION selectPreviousWizardPage
Definition: pcb_actions.h:589
static TOOL_ACTION selectOnSchematic
Select symbols/pins on schematic corresponding to selected footprints/pads.
Definition: pcb_actions.h:97
static TOOL_ACTION lock
Definition: pcb_actions.h:526
static TOOL_ACTION layerInner28
Definition: pcb_actions.h:356
static const TOOL_EVENT & SnappingModeChangedByKeyEvent()
Hotkey feedback.
static const TOOL_EVENT & LayerPairPresetChangedByKeyEvent()
Define a group that can be used to group actions (and their events) of similar operations.
Definition: tool_action.h:79
Represent a single user action.
Definition: tool_action.h:304
Generic, UI-independent tool event.
Definition: tool_event.h:168
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.