KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ee_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) 2019-2023 CERN
5 * Copyright (C) 2019-2024 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#pragma once
26
27#include <tool/tool_action.h>
28#include <tool/actions.h>
29
30class SCH_SYMBOL;
31class TOOL_EVENT;
32class TOOL_MANAGER;
33
38class EE_ACTIONS : public ACTIONS
39{
40public:
41 // Menu bar save curr sheet as command
43
44 // Selection Tool
47
50
54
57
61
65
68
71
72 // Locking
76
77 // Schematic Tools
98 // Sync sheet pins for selected sheet symbol
100 // Sync sheet pins for all sheet symbols
116
117 // Symbol Tools
124
125 // Interactive Editing
154
174
177
178 // Suite operations
190
191 // Attribute Toggles
204
205 // Design Block management
211
212 // Library management
229
230 // Hierarchy navigation
241
242 // Global edit tools
245
246 // Miscellaneous
276
277 // Line modes
282
283 // Annotation
285
286 // SPICE
306
307 // Net highlighting
313
314 // Drag and drop
316
318 {
322 bool m_Reannotate = true;
323 };
324};
Gather all the actions that are shared by tools.
Definition: actions.h:41
Gather all the actions that are shared by tools.
Definition: ee_actions.h:39
static TOOL_ACTION importFPAssignments
Definition: ee_actions.h:182
static TOOL_ACTION drawSheetFromFile
Definition: ee_actions.h:94
static TOOL_ACTION deleteSymbol
Definition: ee_actions.h:221
static TOOL_ACTION mirrorV
Definition: ee_actions.h:132
static TOOL_ACTION simAnalysisProperties
Definition: ee_actions.h:301
static TOOL_ACTION repairSchematic
Definition: ee_actions.h:273
static TOOL_ACTION deleteDesignBlock
Definition: ee_actions.h:209
static TOOL_ACTION drawSheetFromDesignBlock
Definition: ee_actions.h:95
static TOOL_ACTION remapSymbols
Definition: ee_actions.h:176
static TOOL_ACTION unsetDNP
Definition: ee_actions.h:202
static TOOL_ACTION runERC
Inspection and Editing.
Definition: ee_actions.h:156
static TOOL_ACTION alignToGrid
Definition: ee_actions.h:126
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: ee_actions.h:46
static TOOL_ACTION toggleAnnotateAuto
Definition: ee_actions.h:284
static TOOL_ACTION placeDesignBlock
Definition: ee_actions.h:82
static TOOL_ACTION properties
Definition: ee_actions.h:135
static TOOL_ACTION toggleExcludeFromSimulation
Definition: ee_actions.h:197
static TOOL_ACTION unsetExcludeFromSimulation
Definition: ee_actions.h:196
static TOOL_ACTION cutSymbol
Definition: ee_actions.h:222
static TOOL_ACTION lineMode90
Definition: ee_actions.h:279
static TOOL_ACTION toggleHiddenPins
Definition: ee_actions.h:247
static TOOL_ACTION highlightNet
Definition: ee_actions.h:308
static TOOL_ACTION setExcludeFromBoard
Definition: ee_actions.h:198
static TOOL_ACTION addItemsToSel
Selects a list of items (specified as the event parameter)
Definition: ee_actions.h:63
static TOOL_ACTION move
Definition: ee_actions.h:127
static TOOL_ACTION editUserDefinedSignals
Definition: ee_actions.h:304
static TOOL_ACTION changeSheet
Definition: ee_actions.h:231
static TOOL_ACTION openWorkbook
Definition: ee_actions.h:288
static TOOL_ACTION toggleLock
Definition: ee_actions.h:73
static TOOL_ACTION clearHighlight
Definition: ee_actions.h:309
static TOOL_ACTION drawTable
Definition: ee_actions.h:104
static TOOL_ACTION stopSimulation
Definition: ee_actions.h:303
static TOOL_ACTION syncAllSheetsPins
Definition: ee_actions.h:101
static TOOL_ACTION selectConnection
If current selection is a wire or bus, expand to entire connection.
Definition: ee_actions.h:53
static TOOL_ACTION pointEditorRemoveCorner
Definition: ee_actions.h:153
static TOOL_ACTION pinTable
Definition: ee_actions.h:162
static TOOL_ACTION toggleLegend
Definition: ee_actions.h:298
static TOOL_ACTION toGLabel
Definition: ee_actions.h:147
static TOOL_ACTION toggleExcludeFromBoard
Definition: ee_actions.h:200
static TOOL_ACTION navigateForward
Definition: ee_actions.h:235
static TOOL_ACTION setDNP
Definition: ee_actions.h:201
static TOOL_ACTION saveSymbolAs
Definition: ee_actions.h:214
static TOOL_ACTION cleanupSheetPins
Definition: ee_actions.h:243
static TOOL_ACTION slice
Definition: ee_actions.h:151
static TOOL_ACTION assignNetclass
Definition: ee_actions.h:168
static TOOL_ACTION placeSymbol
Definition: ee_actions.h:79
static TOOL_ACTION clearSelection
Clears the current selection.
Definition: ee_actions.h:56
static TOOL_ACTION drag
Definition: ee_actions.h:128
static TOOL_ACTION navigateBack
Definition: ee_actions.h:236
static TOOL_ACTION placeSymbolAnchor
Definition: ee_actions.h:123
static TOOL_ACTION saveWorkbook
Definition: ee_actions.h:289
static TOOL_ACTION saveWorkbookAs
Definition: ee_actions.h:290
static TOOL_ACTION selectionMenu
Runs a selection menu to select from a list of items.
Definition: ee_actions.h:67
static TOOL_ACTION showHiddenFields
Definition: ee_actions.h:250
static TOOL_ACTION toText
Definition: ee_actions.h:148
static TOOL_ACTION exportPlotAsCSV
Definition: ee_actions.h:292
static TOOL_ACTION drawSymbolPolygon
Definition: ee_actions.h:122
static TOOL_ACTION showPythonConsole
Definition: ee_actions.h:272
static TOOL_ACTION generateBOMExternal
Definition: ee_actions.h:186
static TOOL_ACTION toggleERCWarnings
Definition: ee_actions.h:252
static TOOL_ACTION simTune
Definition: ee_actions.h:297
static TOOL_ACTION duplicateSymbol
Definition: ee_actions.h:219
static TOOL_ACTION drawRuleArea
Definition: ee_actions.h:113
static TOOL_ACTION toggleERCExclusions
Definition: ee_actions.h:254
static TOOL_ACTION placeClassLabel
Definition: ee_actions.h:90
static TOOL_ACTION drawWire
Definition: ee_actions.h:83
static TOOL_ACTION placeNextSymbolUnit
Definition: ee_actions.h:80
static TOOL_ACTION showDeMorganAlternate
Definition: ee_actions.h:142
static TOOL_ACTION toggleExcludeFromBOM
Definition: ee_actions.h:194
static TOOL_ACTION newSymbol
Definition: ee_actions.h:216
static TOOL_ACTION lineModeNext
Definition: ee_actions.h:281
static TOOL_ACTION autoplaceFields
Definition: ee_actions.h:139
static TOOL_ACTION closeOutline
Definition: ee_actions.h:115
static TOOL_ACTION pushPinNameSize
Definition: ee_actions.h:263
static TOOL_ACTION drawCircle
Definition: ee_actions.h:106
static TOOL_ACTION showDeMorganStandard
Definition: ee_actions.h:141
static TOOL_ACTION removeItemsFromSel
Definition: ee_actions.h:64
static TOOL_ACTION pushPinNumSize
Definition: ee_actions.h:264
static TOOL_ACTION rotateCCW
Definition: ee_actions.h:131
static TOOL_ACTION lineModeFree
Definition: ee_actions.h:278
static TOOL_ACTION editLibSymbolWithLibEdit
Definition: ee_actions.h:180
static TOOL_ACTION incrementAnnotations
Definition: ee_actions.h:158
static TOOL_ACTION editSymbol
Definition: ee_actions.h:218
static TOOL_ACTION drawBus
Definition: ee_actions.h:84
static TOOL_ACTION editValue
Definition: ee_actions.h:137
static TOOL_ACTION saveLibraryAs
Definition: ee_actions.h:213
static TOOL_ACTION toggleDarkModePlots
Definition: ee_actions.h:300
static TOOL_ACTION generateBOMLegacy
Definition: ee_actions.h:185
static TOOL_ACTION placeSymbolText
Definition: ee_actions.h:119
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition: ee_actions.h:49
static TOOL_ACTION toggleERCErrors
Definition: ee_actions.h:253
static TOOL_ACTION toLabel
Definition: ee_actions.h:144
static TOOL_ACTION pointEditorAddCorner
Definition: ee_actions.h:152
static TOOL_ACTION exportPlotAsPNG
Definition: ee_actions.h:291
static TOOL_ACTION placePower
Definition: ee_actions.h:81
static TOOL_ACTION addSymbolToSchematic
Definition: ee_actions.h:187
static TOOL_ACTION deleteLastPoint
Definition: ee_actions.h:114
static TOOL_ACTION toTextBox
Definition: ee_actions.h:149
static TOOL_ACTION showPinNumbers
Definition: ee_actions.h:266
static TOOL_ACTION breakWire
Definition: ee_actions.h:150
static TOOL_ACTION placeSheetPin
Definition: ee_actions.h:96
static TOOL_ACTION drawLines
Definition: ee_actions.h:109
static TOOL_ACTION toggleOPCurrents
Definition: ee_actions.h:257
static TOOL_ACTION pickerTool
Definition: ee_actions.h:78
static TOOL_ACTION restartMove
Definition: ee_actions.h:260
static TOOL_ACTION mirrorH
Definition: ee_actions.h:133
static TOOL_ACTION showSimulator
Definition: ee_actions.h:295
static TOOL_ACTION showNetlist
Definition: ee_actions.h:305
static TOOL_ACTION highlightNetTool
Definition: ee_actions.h:311
static TOOL_ACTION updateNetHighlighting
Definition: ee_actions.h:310
static TOOL_ACTION syncSheetPins
Definition: ee_actions.h:99
static TOOL_ACTION rotateCW
Definition: ee_actions.h:130
static TOOL_ACTION exportNetlist
Definition: ee_actions.h:183
static TOOL_ACTION assignFootprints
Definition: ee_actions.h:167
static TOOL_ACTION unsetExcludeFromBOM
Definition: ee_actions.h:193
static TOOL_ACTION selectOnPCB
Definition: ee_actions.h:261
static TOOL_ACTION togglePinAltIcons
Definition: ee_actions.h:258
static TOOL_ACTION diffSymbol
Definition: ee_actions.h:172
static TOOL_ACTION lock
Definition: ee_actions.h:74
static TOOL_ACTION rescueSymbols
Definition: ee_actions.h:175
static TOOL_ACTION pushPinLength
Definition: ee_actions.h:262
static TOOL_ACTION importGraphics
Definition: ee_actions.h:269
static TOOL_ACTION leaveSheet
Definition: ee_actions.h:233
static TOOL_ACTION toggleHiddenFields
Definition: ee_actions.h:248
static TOOL_ACTION editWithLibEdit
Definition: ee_actions.h:179
static TOOL_ACTION simProbe
Definition: ee_actions.h:296
static TOOL_ACTION placeGlobalLabel
Definition: ee_actions.h:91
static TOOL_ACTION removeItemFromSel
Definition: ee_actions.h:60
static TOOL_ACTION exportSymbolAsSVG
Definition: ee_actions.h:271
static TOOL_ACTION importSymbol
Definition: ee_actions.h:225
static TOOL_ACTION toggleDottedSecondary
Definition: ee_actions.h:299
static TOOL_ACTION ddAppendFile
Definition: ee_actions.h:315
static TOOL_ACTION exportSymbolsToLibrary
Definition: ee_actions.h:188
static TOOL_ACTION placeHierLabel
Definition: ee_actions.h:92
static TOOL_ACTION drawSheetOnClipboard
Definition: ee_actions.h:268
static TOOL_ACTION addItemToSel
Selects an item (specified as the event parameter).
Definition: ee_actions.h:59
static TOOL_ACTION editSymbolFields
Definition: ee_actions.h:159
static TOOL_ACTION saveSymbolCopyAs
Definition: ee_actions.h:215
static TOOL_ACTION drawTextBox
Definition: ee_actions.h:103
static TOOL_ACTION symbolProperties
Definition: ee_actions.h:161
static TOOL_ACTION showNetNavigator
Definition: ee_actions.h:312
static TOOL_ACTION checkSymbol
Definition: ee_actions.h:171
static TOOL_ACTION editPageNumber
Definition: ee_actions.h:170
static TOOL_ACTION drawRectangle
Definition: ee_actions.h:105
static TOOL_ACTION changeSymbol
Definition: ee_actions.h:165
static TOOL_ACTION annotate
Definition: ee_actions.h:157
static TOOL_ACTION undoLastSegment
Definition: ee_actions.h:111
static TOOL_ACTION symbolTreeSearch
Definition: ee_actions.h:267
static TOOL_ACTION placeImage
Definition: ee_actions.h:110
static TOOL_ACTION editFootprint
Definition: ee_actions.h:138
static TOOL_ACTION exportPlotToSchematic
Definition: ee_actions.h:294
static TOOL_ACTION enterSheet
Definition: ee_actions.h:232
static TOOL_ACTION setUnitDisplayName
Definition: ee_actions.h:228
static TOOL_ACTION toggleDirectiveLabels
Definition: ee_actions.h:251
static TOOL_ACTION editReference
Definition: ee_actions.h:136
static TOOL_ACTION copySymbol
Definition: ee_actions.h:223
static TOOL_ACTION updateSymbols
Definition: ee_actions.h:164
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition: ee_actions.h:70
static TOOL_ACTION showHierarchy
Definition: ee_actions.h:239
static TOOL_ACTION placeSchematicText
Definition: ee_actions.h:102
static TOOL_ACTION setExcludeFromBOM
Definition: ee_actions.h:192
static TOOL_ACTION drawSymbolTextBox
Definition: ee_actions.h:120
static TOOL_ACTION toggleOPVoltages
Definition: ee_actions.h:256
static TOOL_ACTION changeSymbols
Definition: ee_actions.h:163
static TOOL_ACTION setExcludeFromSimulation
Definition: ee_actions.h:195
static TOOL_ACTION unlock
Definition: ee_actions.h:75
static TOOL_ACTION unsetExcludeFromBoard
Definition: ee_actions.h:199
static TOOL_ACTION showDesignBlockPanel
Definition: ee_actions.h:206
static TOOL_ACTION drawSymbolLines
Definition: ee_actions.h:121
static TOOL_ACTION unfoldBus
Definition: ee_actions.h:85
static TOOL_ACTION renameSymbol
Definition: ee_actions.h:220
static TOOL_ACTION drawArc
Definition: ee_actions.h:107
static TOOL_ACTION exportSymbol
Definition: ee_actions.h:226
static TOOL_ACTION previousUnit
Definition: ee_actions.h:274
static TOOL_ACTION toggleSyncedPinsMode
Definition: ee_actions.h:259
static TOOL_ACTION nextUnit
Definition: ee_actions.h:275
static TOOL_ACTION toCLabel
Definition: ee_actions.h:145
static TOOL_ACTION lineMode45
Definition: ee_actions.h:280
static TOOL_ACTION drawSheet
Definition: ee_actions.h:93
static TOOL_ACTION drawBezier
Definition: ee_actions.h:108
static TOOL_ACTION runSimulation
Definition: ee_actions.h:302
static TOOL_ACTION markSimExclusions
Definition: ee_actions.h:255
static TOOL_ACTION navigateNext
Definition: ee_actions.h:238
static TOOL_ACTION navigateUp
Definition: ee_actions.h:234
static TOOL_ACTION editSymbolLibraryLinks
Definition: ee_actions.h:160
static TOOL_ACTION placeLabel
Definition: ee_actions.h:89
static TOOL_ACTION repeatDrawItem
Definition: ee_actions.h:129
static TOOL_ACTION switchSegmentPosture
Definition: ee_actions.h:112
static TOOL_ACTION showHiddenPins
Definition: ee_actions.h:249
static TOOL_ACTION toHLabel
Definition: ee_actions.h:146
static TOOL_ACTION saveCurrSheetCopyAs
Definition: ee_actions.h:42
static TOOL_ACTION saveSheetAsDesignBlock
Definition: ee_actions.h:207
static TOOL_ACTION updateSymbolFields
Definition: ee_actions.h:227
static TOOL_ACTION editTextAndGraphics
Definition: ee_actions.h:244
static TOOL_ACTION showPcbNew
Definition: ee_actions.h:181
static TOOL_ACTION exportSymbolView
Definition: ee_actions.h:270
static TOOL_ACTION placeBusWireEntry
Definition: ee_actions.h:88
static TOOL_ACTION toggleDNP
Definition: ee_actions.h:203
static TOOL_ACTION placeSymbolPin
Definition: ee_actions.h:118
static TOOL_ACTION placeJunction
Definition: ee_actions.h:87
static TOOL_ACTION deriveFromExistingSymbol
Definition: ee_actions.h:217
static TOOL_ACTION importSheet
Definition: ee_actions.h:97
static TOOL_ACTION generateBOM
Definition: ee_actions.h:184
static TOOL_ACTION swap
Definition: ee_actions.h:134
static TOOL_ACTION saveSelectionAsDesignBlock
Definition: ee_actions.h:208
static TOOL_ACTION editSymbolUnit
Definition: ee_actions.h:143
static TOOL_ACTION editDesignBlockProperties
Definition: ee_actions.h:210
static TOOL_ACTION navigatePrevious
Definition: ee_actions.h:237
static TOOL_ACTION hypertextCommand
Definition: ee_actions.h:240
static TOOL_ACTION newAnalysisTab
Definition: ee_actions.h:287
static TOOL_ACTION placeNoConnect
Definition: ee_actions.h:86
static TOOL_ACTION pasteSymbol
Definition: ee_actions.h:224
static TOOL_ACTION toggleDeMorgan
Definition: ee_actions.h:140
static TOOL_ACTION updateSymbol
Definition: ee_actions.h:166
static TOOL_ACTION showBusSyntaxHelp
Definition: ee_actions.h:173
static TOOL_ACTION exportPlotToClipboard
Definition: ee_actions.h:293
static TOOL_ACTION schematicSetup
Definition: ee_actions.h:169
static TOOL_ACTION showElectricalTypes
Definition: ee_actions.h:265
static TOOL_ACTION exportSymbolsToNewLibrary
Definition: ee_actions.h:189
Schematic symbol object.
Definition: sch_symbol.h:104
Represent a single user action.
Definition: tool_action.h:269
Generic, UI-independent tool event.
Definition: tool_event.h:167
Master controller class:
Definition: tool_manager.h:62
SCH_SYMBOL * m_Symbol
< Provide a symbol to place
Definition: ee_actions.h:320