KiCad PCB EDA Suite
gerbview_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) 2017 Jon Evans <[email protected]>
5 * Copyright (C) 2017-2022 KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef __GERBVIEW_ACTIONS_H
22#define __GERBVIEW_ACTIONS_H
23
24#include <tool/tool_action.h>
25#include <tool/actions.h>
26
27class TOOL_EVENT;
28class TOOL_MANAGER;
29
35{
36public:
37 // Selection Tool
40
43
46
49
52
57
59
60 // Display modes
69
70 // Layer control
78
79 static TOOL_ACTION layerChanged; // notification
80
81 // Files
87
88 // Open/close the layer manager
90
91 // Highlighting
97
98 // Drag and drop
101};
102
103#endif // __GERBVIEW_ACTIONS_H
Gather all the actions that are shared by tools.
Definition: actions.h:41
Gather all the actions that are shared by tools.
static TOOL_ACTION dcodeDisplay
static TOOL_ACTION negativeObjectDisplay
static TOOL_ACTION selectionActivate
Activation of the selection tool.
static TOOL_ACTION flashedDisplayOutlines
static TOOL_ACTION selectItem
Selects an item (specified as the event parameter).
static TOOL_ACTION highlightAttribute
static TOOL_ACTION exportToPcbnew
static TOOL_ACTION unselectItem
Unselects an item (specified as the event parameter).
static TOOL_ACTION showDCodes
static TOOL_ACTION highlightNet
static TOOL_ACTION toggleXORMode
static TOOL_ACTION loadZipFile
static TOOL_ACTION toggleLayerManager
static TOOL_ACTION openGerber
static TOOL_ACTION toggleDiffMode
static TOOL_ACTION clearAllLayers
static TOOL_ACTION layerNext
static TOOL_ACTION flipGerberView
static TOOL_ACTION openAutodetected
static TOOL_ACTION selectionCursor
Select a single item under the cursor position.
static TOOL_ACTION reloadAllLayers
static TOOL_ACTION properties
Activation of the edit tool.
static TOOL_ACTION linesDisplayOutlines
static TOOL_ACTION layerPrev
static TOOL_ACTION selectionClear
Clear the current selection.
static TOOL_ACTION openDrillFile
static TOOL_ACTION polygonsDisplayOutlines
static TOOL_ACTION highlightComponent
static TOOL_ACTION openZipFile
static TOOL_ACTION highlightDCode
static TOOL_ACTION showSource
static TOOL_ACTION moveLayerUp
static TOOL_ACTION moveLayerDown
static TOOL_ACTION layerChanged
static TOOL_ACTION loadGerbFiles
static TOOL_ACTION openJobFile
static TOOL_ACTION clearLayer
static TOOL_ACTION highlightClear
Represent a single user action.
Definition: tool_action.h:68
Generic, UI-independent tool event.
Definition: tool_event.h:156
Master controller class:
Definition: tool_manager.h:55