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 #include <core/optional.h>
31 
32 class TOOL_EVENT;
33 class TOOL_MANAGER;
34 
39 class PL_ACTIONS : public ACTIONS
40 {
41 public:
42  // Selection Tool
45 
48 
52 
56 
59 
60  // Tools
67 
68  // Editing
69  static TOOL_ACTION move;
70 
73 
74  // Miscellaneous
78 };
79 
80 
81 #endif
static TOOL_ACTION showInspector
Definition: pl_actions.h:76
static TOOL_ACTION layoutEditMode
Definition: pl_actions.h:72
static TOOL_ACTION drawLine
Definition: pl_actions.h:65
static TOOL_ACTION addItemsToSel
Select a list of items (specified as the event parameter)
Definition: pl_actions.h:54
static TOOL_ACTION placeImage
Definition: pl_actions.h:63
static TOOL_ACTION refreshPreview
Definition: pl_actions.h:75
static TOOL_ACTION move
Definition: pl_actions.h:69
static TOOL_ACTION placeText
Definition: pl_actions.h:62
Gather all the actions that are shared by tools.
Definition: pl_actions.h:39
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: pl_actions.h:44
Master controller class:
Definition: tool_manager.h:52
static TOOL_ACTION addItemToSel
Select an item (specified as the event parameter).
Definition: pl_actions.h:50
static TOOL_ACTION removeItemsFromSel
Definition: pl_actions.h:55
Generic, UI-independent tool event.
Definition: tool_event.h:173
static TOOL_ACTION previewSettings
Definition: pl_actions.h:77
static TOOL_ACTION selectionMenu
Run a selection menu to select from a list of items.
Definition: pl_actions.h:58
static TOOL_ACTION drawRectangle
Definition: pl_actions.h:64
static TOOL_ACTION clearSelection
Clear the current selection.
Definition: pl_actions.h:47
static TOOL_ACTION removeItemFromSel
Definition: pl_actions.h:51
Represent a single user action.
Definition: tool_action.h:49
static TOOL_ACTION appendImportedWorksheet
Definition: pl_actions.h:66
Gather all the actions that are shared by tools.
Definition: actions.h:43
static TOOL_ACTION layoutNormalMode
Definition: pl_actions.h:71
static TOOL_ACTION pickerTool
Definition: pl_actions.h:61