KiCad PCB EDA Suite
pl_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 CERN
5  * Copyright (C) 2019-2021 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 #ifndef PL_ACTIONS_H
26 #define PL_ACTIONS_H
27 
28 #include <tool/tool_action.h>
29 #include <tool/actions.h>
30 
35 class PL_ACTIONS : public ACTIONS
36 {
37 public:
38  // Selection Tool
41 
44 
48 
52 
55 
56  // Tools
63 
64  // Editing
65  static TOOL_ACTION move;
66 
69 
70  // Miscellaneous
74 };
75 
76 
77 #endif
static TOOL_ACTION showInspector
Definition: pl_actions.h:72
static TOOL_ACTION layoutEditMode
Definition: pl_actions.h:68
static TOOL_ACTION drawLine
Definition: pl_actions.h:61
static TOOL_ACTION addItemsToSel
Select a list of items (specified as the event parameter)
Definition: pl_actions.h:50
static TOOL_ACTION placeImage
Definition: pl_actions.h:59
static TOOL_ACTION refreshPreview
Definition: pl_actions.h:71
static TOOL_ACTION move
Definition: pl_actions.h:65
static TOOL_ACTION placeText
Definition: pl_actions.h:58
Gather all the actions that are shared by tools.
Definition: pl_actions.h:35
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: pl_actions.h:40
static TOOL_ACTION addItemToSel
Select an item (specified as the event parameter).
Definition: pl_actions.h:46
static TOOL_ACTION removeItemsFromSel
Definition: pl_actions.h:51
static TOOL_ACTION previewSettings
Definition: pl_actions.h:73
static TOOL_ACTION selectionMenu
Run a selection menu to select from a list of items.
Definition: pl_actions.h:54
static TOOL_ACTION drawRectangle
Definition: pl_actions.h:60
static TOOL_ACTION clearSelection
Clear the current selection.
Definition: pl_actions.h:43
static TOOL_ACTION removeItemFromSel
Definition: pl_actions.h:47
static TOOL_ACTION appendImportedDrawingSheet
Definition: pl_actions.h:62
Represent a single user action.
Definition: tool_action.h:67
Gather all the actions that are shared by tools.
Definition: actions.h:40
static TOOL_ACTION layoutNormalMode
Definition: pl_actions.h:67
static TOOL_ACTION pickerTool
Definition: pl_actions.h:57