KiCad PCB EDA Suite
Loading...
Searching...
No Matches
toolbars_gerber.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_GERBER_H_
21
#define TOOLBARS_GERBER_H_
22
23
#include <
tool/action_toolbar.h
>
24
#include <
tool/ui/toolbar_configuration.h
>
25
26
class
GERBVIEW_ACTION_TOOLBAR_CONTROLS
:
public
ACTION_TOOLBAR_CONTROLS
27
{
28
public
:
29
static
ACTION_TOOLBAR_CONTROL
textInfo
;
30
static
ACTION_TOOLBAR_CONTROL
componentHighlight
;
31
static
ACTION_TOOLBAR_CONTROL
netHighlight
;
32
static
ACTION_TOOLBAR_CONTROL
appertureHighlight
;
33
static
ACTION_TOOLBAR_CONTROL
dcodeSelector
;
34
};
35
39
class
GERBVIEW_TOOLBAR_SETTINGS
:
public
TOOLBAR_SETTINGS
40
{
41
public
:
42
GERBVIEW_TOOLBAR_SETTINGS
() :
43
TOOLBAR_SETTINGS
(
"gerbview-toolbars"
)
44
{}
45
46
~GERBVIEW_TOOLBAR_SETTINGS
() {}
47
48
std::optional<TOOLBAR_CONFIGURATION>
DefaultToolbarConfig
(
TOOLBAR_LOC
aToolbar )
override
;
49
};
50
51
#endif
/* TOOLBARS_GERBER_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
GERBVIEW_ACTION_TOOLBAR_CONTROLS
Definition:
toolbars_gerber.h:27
GERBVIEW_ACTION_TOOLBAR_CONTROLS::componentHighlight
static ACTION_TOOLBAR_CONTROL componentHighlight
Definition:
toolbars_gerber.h:30
GERBVIEW_ACTION_TOOLBAR_CONTROLS::textInfo
static ACTION_TOOLBAR_CONTROL textInfo
Definition:
toolbars_gerber.h:29
GERBVIEW_ACTION_TOOLBAR_CONTROLS::dcodeSelector
static ACTION_TOOLBAR_CONTROL dcodeSelector
Definition:
toolbars_gerber.h:33
GERBVIEW_ACTION_TOOLBAR_CONTROLS::appertureHighlight
static ACTION_TOOLBAR_CONTROL appertureHighlight
Definition:
toolbars_gerber.h:32
GERBVIEW_ACTION_TOOLBAR_CONTROLS::netHighlight
static ACTION_TOOLBAR_CONTROL netHighlight
Definition:
toolbars_gerber.h:31
GERBVIEW_TOOLBAR_SETTINGS
Toolbar configuration for gerbview.
Definition:
toolbars_gerber.h:40
GERBVIEW_TOOLBAR_SETTINGS::~GERBVIEW_TOOLBAR_SETTINGS
~GERBVIEW_TOOLBAR_SETTINGS()
Definition:
toolbars_gerber.h:46
GERBVIEW_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_gerber.cpp:40
GERBVIEW_TOOLBAR_SETTINGS::GERBVIEW_TOOLBAR_SETTINGS
GERBVIEW_TOOLBAR_SETTINGS()
Definition:
toolbars_gerber.h:42
TOOLBAR_SETTINGS
Definition:
toolbar_configuration.h:205
toolbar_configuration.h
TOOLBAR_LOC
TOOLBAR_LOC
Definition:
toolbar_configuration.h:197
src
gerbview
toolbars_gerber.h
Generated on Mon Mar 10 2025 00:05:47 for KiCad PCB EDA Suite by
1.9.6