KiCad PCB EDA Suite
Loading...
Searching...
No Matches
toolbars_pl_editor.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 The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef TOOLBARS_PL_EDITOR_H_
21
#define TOOLBARS_PL_EDITOR_H_
22
23
#include <
tool/action_toolbar.h
>
24
#include <
tool/ui/toolbar_configuration.h
>
25
26
class
PL_EDITOR_ACTION_TOOLBAR_CONTROLS
:
public
ACTION_TOOLBAR_CONTROLS
27
{
28
public
:
29
static
ACTION_TOOLBAR_CONTROL
originSelector
;
30
static
ACTION_TOOLBAR_CONTROL
pageSelect
;
31
};
32
36
class
PL_EDITOR_TOOLBAR_SETTINGS
:
public
TOOLBAR_SETTINGS
37
{
38
public
:
39
PL_EDITOR_TOOLBAR_SETTINGS
() :
TOOLBAR_SETTINGS
(
"pl_editor-toolbars"
)
40
{}
41
42
~PL_EDITOR_TOOLBAR_SETTINGS
() {}
43
44
std::optional<TOOLBAR_CONFIGURATION>
DefaultToolbarConfig
(
TOOLBAR_LOC
aToolbar )
override
;
45
};
46
47
#endif
/* TOOLBARS_PL_EDITOR_H_ */
action_toolbar.h
ACTION_TOOLBAR_CONTROLS
Definition:
action_toolbar.h:463
ACTION_TOOLBAR_CONTROL
Class to hold basic information about controls that can be added to the toolbars.
Definition:
action_toolbar.h:428
PL_EDITOR_ACTION_TOOLBAR_CONTROLS
Definition:
toolbars_pl_editor.h:27
PL_EDITOR_ACTION_TOOLBAR_CONTROLS::pageSelect
static ACTION_TOOLBAR_CONTROL pageSelect
Definition:
toolbars_pl_editor.h:30
PL_EDITOR_ACTION_TOOLBAR_CONTROLS::originSelector
static ACTION_TOOLBAR_CONTROL originSelector
Definition:
toolbars_pl_editor.h:29
PL_EDITOR_TOOLBAR_SETTINGS
Toolbar configuration for the page layout editor frame.
Definition:
toolbars_pl_editor.h:37
PL_EDITOR_TOOLBAR_SETTINGS::PL_EDITOR_TOOLBAR_SETTINGS
PL_EDITOR_TOOLBAR_SETTINGS()
Definition:
toolbars_pl_editor.h:39
PL_EDITOR_TOOLBAR_SETTINGS::~PL_EDITOR_TOOLBAR_SETTINGS
~PL_EDITOR_TOOLBAR_SETTINGS()
Definition:
toolbars_pl_editor.h:42
PL_EDITOR_TOOLBAR_SETTINGS::DefaultToolbarConfig
std::optional< TOOLBAR_CONFIGURATION > DefaultToolbarConfig(TOOLBAR_LOC aToolbar) override
Get the default tools to show on the specified canvas toolbar.
Definition:
toolbars_pl_editor.cpp:34
TOOLBAR_SETTINGS
Definition:
toolbar_configuration.h:205
toolbar_configuration.h
TOOLBAR_LOC
TOOLBAR_LOC
Definition:
toolbar_configuration.h:197
src
pagelayout_editor
toolbars_pl_editor.h
Generated on Mon Mar 10 2025 00:05:49 for KiCad PCB EDA Suite by
1.9.6