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
165
172
175
178
181
185
187
190
193
194 // Drawing Tool Activations
225
228
231
234
239
240 // Push and Shove Router Tool
241
244
247
251
253
259
263
269
272
283
285
286 // Point Editor
289
292
295
296
297 // Group Tool
300
301
302 // Placement Tool
311
312 // Position Relative Tool
315
318
319 // Display modes
333
334 // Layer control
372
373 // Group to link all actions that directly select layers
375
376 static TOOL_ACTION layerChanged; // notification
377
379
380 // Track & via size control
385
386 static TOOL_ACTION trackViaSizeChanged; // notification
387
389
390 // Zone actions
397
400
404
405 // Global edit tool
419
421
424
432
434
437
442
443 // Module editor tools
444
447
448 // We don't use ACTION::new here because we need to distinguish between New Library
449 // and New Footprint.
451
452 // Create a new footprint using the Footprint Wizard
454
465
468
470
473
476
479
482
485
488
489 // Pad tools
490
493
496
499
500 // Microwave tools
502
504
506
508
510
511 // Constrained drawing
513
514 // Locking
518
519 // Grouping
525
526 // Miscellaneous
543
544 // Appearance controls
545 static TOOL_ACTION clearHighlight; // Turns off highlight and resets previous highlight
546 static TOOL_ACTION highlightNet; // Highlights a net by code (cross-probe highlight)
547 static TOOL_ACTION toggleLastNetHighlight; // Toggles between current and previous highlight
548 static TOOL_ACTION toggleNetHighlight; // Toggles between highlight off and highlight on
549 static TOOL_ACTION highlightNetSelection; // Turns on highlight and takes net from selection
550 static TOOL_ACTION highlightItem; // Select component via cross-probe
551
552 // Ratsnest
558
561
564
567
568 // convert tool
575
579
580
581};
582
584{
585public:
588};
589
590#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:223
static TOOL_ACTION toggleHV45Mode
Definition: pcb_actions.h:512
static TOOL_ACTION editTracksAndVias
Definition: pcb_actions.h:407
static TOOL_ACTION_GROUP layerDirectSwitchActions()
static TOOL_ACTION deleteFootprint
Definition: pcb_actions.h:458
static TOOL_ACTION drawRuleArea
Definition: pcb_actions.h:215
static TOOL_ACTION layerToggle
Definition: pcb_actions.h:371
static TOOL_ACTION drag45Degree
Definition: pcb_actions.h:191
static TOOL_ACTION duplicateIncrement
Activation of the duplication tool with incrementing (e.g. pad number)
Definition: pcb_actions.h:180
static TOOL_ACTION layerInner12
Definition: pcb_actions.h:347
static TOOL_ACTION microwaveCreateGap
Definition: pcb_actions.h:501
static TOOL_ACTION recombinePad
Definition: pcb_actions.h:475
static TOOL_ACTION renameFootprint
Definition: pcb_actions.h:457
static TOOL_ACTION routerUndoLastSegment
Definition: pcb_actions.h:252
static TOOL_ACTION placeText
Definition: pcb_actions.h:201
static TOOL_ACTION layerInner8
Definition: pcb_actions.h:343
static TOOL_ACTION swapLayers
Definition: pcb_actions.h:417
static TOOL_ACTION zonesManager
Definition: pcb_actions.h:441
static TOOL_ACTION generateBOM
Definition: pcb_actions.h:431
static TOOL_ACTION pointEditorArcKeepCenter
Definition: pcb_actions.h:290
static TOOL_ACTION highlightItem
Definition: pcb_actions.h:550
static TOOL_ACTION drawOrthogonalDimension
Definition: pcb_actions.h:211
static TOOL_ACTION zoneDisplayToggle
Definition: pcb_actions.h:331
static TOOL_ACTION enumeratePads
Tool for quick pad enumeration.
Definition: pcb_actions.h:478
static TOOL_ACTION distributeVertically
Definition: pcb_actions.h:310
static TOOL_ACTION drawRectangle
Definition: pcb_actions.h:197
static TOOL_ACTION layerInner3
Definition: pcb_actions.h:338
static TOOL_ACTION layerPrev
Definition: pcb_actions.h:368
static TOOL_ACTION setAnchor
Definition: pcb_actions.h:222
static TOOL_ACTION padDisplayMode
Definition: pcb_actions.h:325
static TOOL_ACTION placeReferenceImage
Definition: pcb_actions.h:200
static TOOL_ACTION routerSettingsDialog
Activation of the Push and Shove settings dialogs.
Definition: pcb_actions.h:261
static TOOL_ACTION showRatsnest
Definition: pcb_actions.h:320
static TOOL_ACTION zoneFillAll
Definition: pcb_actions.h:392
static TOOL_ACTION layerInner2
Definition: pcb_actions.h:337
static TOOL_ACTION showLayersManager
Definition: pcb_actions.h:438
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:382
static TOOL_ACTION routerAttemptFinish
Definition: pcb_actions.h:255
static TOOL_ACTION convertToKeepout
Definition: pcb_actions.h:571
static TOOL_ACTION toggleNetHighlight
Definition: pcb_actions.h:548
static TOOL_ACTION generateDrillFiles
Definition: pcb_actions.h:426
static TOOL_ACTION pushPadSettings
Copy the current pad's settings to other pads in the footprint or on the board.
Definition: pcb_actions.h:498
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:198
static TOOL_ACTION magneticSnapAllLayers
Definition: pcb_actions.h:237
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:246
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:528
static TOOL_ACTION generateD356File
Definition: pcb_actions.h:430
static TOOL_ACTION groupLeave
Definition: pcb_actions.h:524
static TOOL_ACTION updateFootprint
Definition: pcb_actions.h:413
static TOOL_ACTION tuneDiffPair
Definition: pcb_actions.h:249
static TOOL_ACTION convertToTracks
Definition: pcb_actions.h:574
static TOOL_ACTION alignTop
Definition: pcb_actions.h:303
static TOOL_ACTION trackViaSizeChanged
Definition: pcb_actions.h:386
static TOOL_ACTION exportSpecctraDSN
Definition: pcb_actions.h:423
static TOOL_ACTION createFootprint
Definition: pcb_actions.h:453
static TOOL_ACTION layerChanged
Definition: pcb_actions.h:376
static TOOL_ACTION trackWidthInc
Definition: pcb_actions.h:381
static TOOL_ACTION hideFootprintTree
Definition: pcb_actions.h:446
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:577
static TOOL_ACTION editFootprint
Definition: pcb_actions.h:455
static TOOL_ACTION exportFootprint
Definition: pcb_actions.h:463
static TOOL_ACTION layerInner25
Definition: pcb_actions.h:360
static TOOL_ACTION showFootprintTree
Definition: pcb_actions.h:445
static TOOL_ACTION breakTrack
Break a single track into two segments at the cursor.
Definition: pcb_actions.h:189
static TOOL_ACTION pointEditorMoveMidpoint
Definition: pcb_actions.h:294
static TOOL_ACTION highlightNet
Definition: pcb_actions.h:546
static TOOL_ACTION magneticSnapActiveLayer
Snapping controls.
Definition: pcb_actions.h:236
static TOOL_ACTION generateIPC2581File
Definition: pcb_actions.h:429
static TOOL_ACTION getAndPlace
Find an item and start moving.
Definition: pcb_actions.h:563
static TOOL_ACTION drawTable
Definition: pcb_actions.h:203
static TOOL_ACTION drawTextBox
Definition: pcb_actions.h:202
static TOOL_ACTION copyPadSettings
Copy the selected pad's settings to the board design settings.
Definition: pcb_actions.h:492
static TOOL_ACTION layerAlphaDec
Definition: pcb_actions.h:370
static TOOL_ACTION unselectItem
Definition: pcb_actions.h:72
static TOOL_ACTION routerRouteSelectedFromEnd
Definition: pcb_actions.h:257
static TOOL_ACTION routerHighlightMode
Actions to enable switching modes via hotkey assignments.
Definition: pcb_actions.h:265
static TOOL_ACTION routerWalkaroundMode
Definition: pcb_actions.h:267
static TOOL_ACTION routerShoveMode
Definition: pcb_actions.h:266
static TOOL_ACTION convertToLines
Definition: pcb_actions.h:572
static TOOL_ACTION drawZoneCutout
Definition: pcb_actions.h:216
static TOOL_ACTION genPushEdit
Definition: pcb_actions.h:280
static TOOL_ACTION drawPolygon
Definition: pcb_actions.h:196
static TOOL_ACTION placePad
Activation of the drawing tool (placing a PAD)
Definition: pcb_actions.h:472
static TOOL_ACTION hideNetInRatsnest
Definition: pcb_actions.h:553
static TOOL_ACTION hideLocalRatsnest
Definition: pcb_actions.h:556
static TOOL_ACTION group
Definition: pcb_actions.h:520
static TOOL_ACTION zoneDisplayFilled
Definition: pcb_actions.h:327
static TOOL_ACTION layerInner24
Definition: pcb_actions.h:359
static TOOL_ACTION viaSizeDec
Definition: pcb_actions.h:384
static TOOL_ACTION showNetInRatsnest
Definition: pcb_actions.h:554
static TOOL_ACTION drawRadialDimension
Definition: pcb_actions.h:210
static TOOL_ACTION genStartEdit
Definition: pcb_actions.h:278
static TOOL_ACTION tuneSingleTrack
Definition: pcb_actions.h:248
static TOOL_ACTION zoneFill
Definition: pcb_actions.h:391
static TOOL_ACTION cleanupTracksAndVias
Definition: pcb_actions.h:411
static TOOL_ACTION viaDisplayMode
Definition: pcb_actions.h:326
static TOOL_ACTION editTextAndGraphics
Definition: pcb_actions.h:408
static TOOL_ACTION properties
Activation of the edit tool.
Definition: pcb_actions.h:174
static TOOL_ACTION drawLeader
Definition: pcb_actions.h:212
static TOOL_ACTION editFpInFpEditor
Definition: pcb_actions.h:435
static TOOL_ACTION selectionTool
Definition: pcb_actions.h:527
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:515
static TOOL_ACTION swap
Swapping of selected items.
Definition: pcb_actions.h:143
static TOOL_ACTION toggleLastNetHighlight
Definition: pcb_actions.h:547
static TOOL_ACTION layerInner29
Definition: pcb_actions.h:364
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:531
static TOOL_ACTION placeCharacteristics
Definition: pcb_actions.h:218
static TOOL_ACTION pluginsShowFolder
Definition: pcb_actions.h:403
static TOOL_ACTION viaSizeInc
Definition: pcb_actions.h:383
static TOOL_ACTION routerAutorouteSelected
Definition: pcb_actions.h:258
static TOOL_ACTION moveExact
Activation of the exact move tool.
Definition: pcb_actions.h:177
static TOOL_ACTION autoplaceOffboardComponents
Definition: pcb_actions.h:565
static TOOL_ACTION layerInner11
Definition: pcb_actions.h:346
static TOOL_ACTION routerDiffPairDialog
Definition: pcb_actions.h:262
static TOOL_ACTION explodePad
Definition: pcb_actions.h:474
static TOOL_ACTION routerContinueFromEnd
Definition: pcb_actions.h:254
static TOOL_ACTION zoneUnfill
Definition: pcb_actions.h:394
static TOOL_ACTION intersectPolygons
Intersection of multiple polygons.
Definition: pcb_actions.h:171
static TOOL_ACTION pointEditorMoveCorner
Definition: pcb_actions.h:293
static TOOL_ACTION layerAlphaInc
Definition: pcb_actions.h:369
static TOOL_ACTION openWithTextEditor
Definition: pcb_actions.h:464
static TOOL_ACTION inspectConstraints
Definition: pcb_actions.h:540
static TOOL_ACTION generatePosFile
Definition: pcb_actions.h:427
static TOOL_ACTION globalDeletions
Definition: pcb_actions.h:410
static TOOL_ACTION newFootprint
Definition: pcb_actions.h:450
static TOOL_ACTION genRemove
Definition: pcb_actions.h:282
static TOOL_ACTION drillOrigin
Definition: pcb_actions.h:530
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:351
static TOOL_ACTION defaultPadProperties
Definition: pcb_actions.h:467
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:388
static TOOL_ACTION packAndMoveFootprints
Pack and start moving selected footprints.
Definition: pcb_actions.h:146
static TOOL_ACTION alignRight
Definition: pcb_actions.h:306
static TOOL_ACTION tuneSkew
Definition: pcb_actions.h:250
static TOOL_ACTION copyWithReference
copy command with manual reference point selection
Definition: pcb_actions.h:129
static TOOL_ACTION layerInner26
Definition: pcb_actions.h:361
static TOOL_ACTION layerInner18
Definition: pcb_actions.h:353
static TOOL_ACTION incWidth
Increase width of currently drawn line.
Definition: pcb_actions.h:227
static TOOL_ACTION repairBoard
Definition: pcb_actions.h:537
static TOOL_ACTION layerInner14
Definition: pcb_actions.h:349
static TOOL_ACTION healShapes
Connect selected shapes, possibly extending or cutting them, or adding extra geometry.
Definition: pcb_actions.h:162
static TOOL_ACTION trackDisplayMode
Definition: pcb_actions.h:324
static TOOL_ACTION showNetInspector
Definition: pcb_actions.h:439
static TOOL_ACTION selectLayerPair
Definition: pcb_actions.h:186
static TOOL_ACTION magneticSnapToggle
Definition: pcb_actions.h:238
static TOOL_ACTION microwaveCreateStubArc
Definition: pcb_actions.h:505
static TOOL_ACTION layerInner6
Definition: pcb_actions.h:341
static TOOL_ACTION dragFreeAngle
Definition: pcb_actions.h:192
static TOOL_ACTION clearHighlight
Definition: pcb_actions.h:545
static TOOL_ACTION generateGerbers
Definition: pcb_actions.h:425
static TOOL_ACTION inspectClearance
Definition: pcb_actions.h:539
static TOOL_ACTION convertToZone
Definition: pcb_actions.h:570
static TOOL_ACTION ddImportFootprint
Definition: pcb_actions.h:578
static TOOL_ACTION generatorsShowManager
Definition: pcb_actions.h:284
static TOOL_ACTION unselectItems
Definition: pcb_actions.h:77
static TOOL_ACTION zoneDisplayTriangulated
Definition: pcb_actions.h:330
static TOOL_ACTION genUpdateEdit
Definition: pcb_actions.h:279
static TOOL_ACTION generateReportFile
Definition: pcb_actions.h:428
static TOOL_ACTION updateLocalRatsnest
Definition: pcb_actions.h:557
static TOOL_ACTION spacingDecrease
Definition: pcb_actions.h:205
static TOOL_ACTION updateFootprints
Definition: pcb_actions.h:414
static TOOL_ACTION ungroup
Definition: pcb_actions.h:521
static TOOL_ACTION groupProperties
Definition: pcb_actions.h:298
static TOOL_ACTION importFootprint
Definition: pcb_actions.h:462
static TOOL_ACTION autoplaceSelectedComponents
Definition: pcb_actions.h:566
static TOOL_ACTION layerInner22
Definition: pcb_actions.h:357
static TOOL_ACTION find
Find an item.
Definition: pcb_actions.h:560
static TOOL_ACTION alignBottom
Definition: pcb_actions.h:304
static TOOL_ACTION pickNewGroupMember
Definition: pcb_actions.h:299
static TOOL_ACTION selectUnconnected
Select unconnected footprints from ratsnest of selection.
Definition: pcb_actions.h:102
static TOOL_ACTION placeImportedGraphics
Definition: pcb_actions.h:221
static TOOL_ACTION layerInner5
Definition: pcb_actions.h:340
static TOOL_ACTION removeUnusedPads
Definition: pcb_actions.h:418
static TOOL_ACTION zoneDisplayFractured
Definition: pcb_actions.h:329
static TOOL_ACTION ratsnestModeCycle
Definition: pcb_actions.h:323
static TOOL_ACTION drawVia
Definition: pcb_actions.h:214
static TOOL_ACTION regenerateAll
Definition: pcb_actions.h:275
static TOOL_ACTION applyPadSettings
Copy the default pad settings to the selected pad.
Definition: pcb_actions.h:495
static TOOL_ACTION alignLeft
Definition: pcb_actions.h:305
static TOOL_ACTION drawArc
Definition: pcb_actions.h:199
static TOOL_ACTION deleteFull
Definition: pcb_actions.h:184
static TOOL_ACTION runDRC
Definition: pcb_actions.h:433
static TOOL_ACTION convertToPoly
Definition: pcb_actions.h:569
static TOOL_ACTION zoneDuplicate
Duplicate zone onto another layer.
Definition: pcb_actions.h:399
static TOOL_ACTION regenerateAllTuning
Generator tool.
Definition: pcb_actions.h:274
static TOOL_ACTION graphicsOutlines
Display footprint graphics as outlines.
Definition: pcb_actions.h:484
static TOOL_ACTION importNetlist
Definition: pcb_actions.h:420
static TOOL_ACTION layerInner20
Definition: pcb_actions.h:355
static TOOL_ACTION pluginsReload
Scripting Actions.
Definition: pcb_actions.h:402
static TOOL_ACTION layerInner7
Definition: pcb_actions.h:342
static TOOL_ACTION layerInner27
Definition: pcb_actions.h:362
static TOOL_ACTION placeFileOrigin
Definition: pcb_actions.h:532
static TOOL_ACTION diffFootprint
Definition: pcb_actions.h:541
static TOOL_ACTION moveIndividually
move items one-by-one
Definition: pcb_actions.h:123
static TOOL_ACTION changeFootprints
Definition: pcb_actions.h:416
static TOOL_ACTION drawSimilarZone
Definition: pcb_actions.h:217
static TOOL_ACTION pointEditorArcKeepEndpoint
Definition: pcb_actions.h:291
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:183
static TOOL_ACTION boardSetup
Definition: pcb_actions.h:406
static TOOL_ACTION showEeschema
Definition: pcb_actions.h:534
static TOOL_ACTION decWidth
Decrease width of currently drawn line.
Definition: pcb_actions.h:230
static TOOL_ACTION drawCenterDimension
Definition: pcb_actions.h:209
static TOOL_ACTION groupEnter
Definition: pcb_actions.h:523
static TOOL_ACTION zoneUnfillAll
Definition: pcb_actions.h:395
static TOOL_ACTION pasteFootprint
Definition: pcb_actions.h:461
static TOOL_ACTION zoneFillDirty
Definition: pcb_actions.h:393
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:533
static TOOL_ACTION netColorModeCycle
Definition: pcb_actions.h:322
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:529
static TOOL_ACTION layerInner1
Definition: pcb_actions.h:336
static TOOL_ACTION layerInner10
Definition: pcb_actions.h:345
static TOOL_ACTION microwaveCreateStub
Definition: pcb_actions.h:503
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 distributeHorizontally
Definition: pcb_actions.h:309
static TOOL_ACTION layerInner15
Definition: pcb_actions.h:350
static TOOL_ACTION arcPosture
Switch posture when drawing arc.
Definition: pcb_actions.h:233
static TOOL_ACTION microwaveCreateLine
Definition: pcb_actions.h:509
static TOOL_ACTION footprintProperties
Definition: pcb_actions.h:466
static TOOL_ACTION layerInner17
Definition: pcb_actions.h:352
static TOOL_ACTION flipBoard
Definition: pcb_actions.h:378
static TOOL_ACTION layerBottom
Definition: pcb_actions.h:366
static TOOL_ACTION zoneDisplayOutline
Definition: pcb_actions.h:328
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: pcb_actions.h:62
static TOOL_ACTION ratsnestLineMode
Definition: pcb_actions.h:321
static TOOL_ACTION showFootprintAssociations
Definition: pcb_actions.h:542
static TOOL_ACTION layerInner19
Definition: pcb_actions.h:354
static TOOL_ACTION layerInner9
Definition: pcb_actions.h:344
static TOOL_ACTION textOutlines
Display texts as lines.
Definition: pcb_actions.h:487
static TOOL_ACTION showPadNumbers
Definition: pcb_actions.h:332
static TOOL_ACTION checkFootprint
Definition: pcb_actions.h:469
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:549
static TOOL_ACTION microwaveCreateFunctionShape
Definition: pcb_actions.h:507
static TOOL_ACTION editLibFpInFpEditor
Definition: pcb_actions.h:436
static TOOL_ACTION zoneMerge
Definition: pcb_actions.h:396
static TOOL_ACTION duplicateFootprint
Definition: pcb_actions.h:456
static TOOL_ACTION closeOutline
Definition: pcb_actions.h:224
static TOOL_ACTION changeFootprint
Definition: pcb_actions.h:415
static TOOL_ACTION routerInlineDrag
Activation of the Push and Shove router (inline dragging mode)
Definition: pcb_actions.h:271
static TOOL_ACTION pointEditorRemoveCorner
Definition: pcb_actions.h:288
static TOOL_ACTION positionRelative
Activation of the position relative tool.
Definition: pcb_actions.h:314
static TOOL_ACTION skip
Definition: pcb_actions.h:149
static TOOL_ACTION amplIncrease
Definition: pcb_actions.h:206
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:459
static TOOL_ACTION amplDecrease
Definition: pcb_actions.h:207
static TOOL_ACTION unlock
Definition: pcb_actions.h:517
static TOOL_ACTION mergePolygons
Merge multiple polygons into a single polygon.
Definition: pcb_actions.h:167
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:204
static TOOL_ACTION layerInner30
Definition: pcb_actions.h:365
static TOOL_ACTION boardReannotate
Definition: pcb_actions.h:536
static TOOL_ACTION subtractPolygons
Subtract polygons from other polygons.
Definition: pcb_actions.h:169
static TOOL_ACTION layerTop
Definition: pcb_actions.h:335
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:268
static TOOL_ACTION regenerateSelected
Definition: pcb_actions.h:276
static TOOL_ACTION convertToArc
Definition: pcb_actions.h:573
static TOOL_ACTION layerInner4
Definition: pcb_actions.h:339
static TOOL_ACTION repairFootprint
Definition: pcb_actions.h:538
static TOOL_ACTION flip
Flipping of selected objects.
Definition: pcb_actions.h:136
static TOOL_ACTION alignCenterX
Definition: pcb_actions.h:307
static TOOL_ACTION placeFootprint
Definition: pcb_actions.h:220
static TOOL_ACTION pointEditorAddCorner
Definition: pcb_actions.h:287
static TOOL_ACTION routeSingleTrack
Activation of the Push and Shove router.
Definition: pcb_actions.h:243
static TOOL_ACTION layerInner13
Definition: pcb_actions.h:348
static TOOL_ACTION selectpositionRelativeItem
Selection of anchor item for position relative tool.
Definition: pcb_actions.h:317
static TOOL_ACTION layerInner21
Definition: pcb_actions.h:356
static TOOL_ACTION removeFromGroup
Definition: pcb_actions.h:522
static TOOL_ACTION createArray
Tool for creating an array of objects.
Definition: pcb_actions.h:481
static TOOL_ACTION boardStatistics
Definition: pcb_actions.h:535
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:409
static TOOL_ACTION layerNext
Definition: pcb_actions.h:367
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:440
static TOOL_ACTION copyFootprint
Definition: pcb_actions.h:460
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:164
static TOOL_ACTION drawLine
Definition: pcb_actions.h:195
static TOOL_ACTION placeStackup
Definition: pcb_actions.h:219
static TOOL_ACTION regenerateItem
Definition: pcb_actions.h:277
static TOOL_ACTION localRatsnestTool
Definition: pcb_actions.h:555
static TOOL_ACTION routerRouteSelected
Definition: pcb_actions.h:256
static TOOL_ACTION cleanupGraphics
Definition: pcb_actions.h:412
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:208
static TOOL_ACTION genRevertEdit
Definition: pcb_actions.h:281
static TOOL_ACTION layerInner23
Definition: pcb_actions.h:358
static TOOL_ACTION drawZone
Definition: pcb_actions.h:213
static TOOL_ACTION alignCenterY
Definition: pcb_actions.h:308
static TOOL_ACTION importSpecctraSession
Definition: pcb_actions.h:422
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:516
static TOOL_ACTION layerInner28
Definition: pcb_actions.h:363
static const TOOL_EVENT SnappingModeChangedByKeyEvent
Hotkey feedback.
Definition: pcb_actions.h:587
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.