KiCad PCB EDA Suite
Loading...
Searching...
No Matches
toolbars_cvpcb.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_CVPCB_H_
21
#define TOOLBARS_CVPCB_H_
22
23
#include <
tool/action_toolbar.h
>
24
#include <
tool/ui/toolbar_configuration.h
>
25
26
class
CVPCB_ACTION_TOOLBAR_CONTROLS
:
public
ACTION_TOOLBAR_CONTROLS
27
{
28
public
:
29
static
ACTION_TOOLBAR_CONTROL
footprintFilter
;
30
};
31
35
class
CVPCB_TOOLBAR_SETTINGS
:
public
TOOLBAR_SETTINGS
36
{
37
public
:
38
CVPCB_TOOLBAR_SETTINGS
() :
39
TOOLBAR_SETTINGS
(
"cvpcb-toolbars"
)
40
{}
41
42
~CVPCB_TOOLBAR_SETTINGS
() {}
43
44
std::optional<TOOLBAR_CONFIGURATION>
DefaultToolbarConfig
(
TOOLBAR_LOC
aToolbar )
override
;
45
};
46
47
#endif
/* TOOLBARS_CVPCB_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
CVPCB_ACTION_TOOLBAR_CONTROLS
Definition:
toolbars_cvpcb.h:27
CVPCB_ACTION_TOOLBAR_CONTROLS::footprintFilter
static ACTION_TOOLBAR_CONTROL footprintFilter
Definition:
toolbars_cvpcb.h:29
CVPCB_TOOLBAR_SETTINGS
Toolbar configuration for cvpcb.
Definition:
toolbars_cvpcb.h:36
CVPCB_TOOLBAR_SETTINGS::CVPCB_TOOLBAR_SETTINGS
CVPCB_TOOLBAR_SETTINGS()
Definition:
toolbars_cvpcb.h:38
CVPCB_TOOLBAR_SETTINGS::~CVPCB_TOOLBAR_SETTINGS
~CVPCB_TOOLBAR_SETTINGS()
Definition:
toolbars_cvpcb.h:42
CVPCB_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_cvpcb.cpp:35
TOOLBAR_SETTINGS
Definition:
toolbar_configuration.h:205
toolbar_configuration.h
TOOLBAR_LOC
TOOLBAR_LOC
Definition:
toolbar_configuration.h:197
src
cvpcb
toolbars_cvpcb.h
Generated on Mon Mar 10 2025 00:05:43 for KiCad PCB EDA Suite by
1.9.6