KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_track_via_size.h
Go to the documentation of this file.
1
/*
2
* KiRouter - a push-and-(sometimes-)shove PCB router
3
*
4
* Copyright (C) 2014 CERN
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
* Author: Maciej Suminski <
[email protected]
>
7
*
8
* This program is free software: you can redistribute it and/or modify it
9
* under the terms of the GNU General Public License as published by the
10
* Free Software Foundation, either version 3 of the License, or (at your
11
* option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License along
19
* with this program. If not, see <http://www.gnu.or/licenses/>.
20
*/
21
25
26
#ifndef __dialog_track_via_size__
27
#define __dialog_track_via_size__
28
29
#include <
widgets/unit_binder.h
>
30
31
#include "
dialog_track_via_size_base.h
"
32
33
class
BOARD_DESIGN_SETTINGS
;
34
36
class
DIALOG_TRACK_VIA_SIZE
:
public
DIALOG_TRACK_VIA_SIZE_BASE
37
{
38
public
:
40
DIALOG_TRACK_VIA_SIZE
(
EDA_DRAW_FRAME
* aParent,
BOARD_DESIGN_SETTINGS
& aSettings );
41
42
bool
TransferDataFromWindow
()
override
;
43
bool
TransferDataToWindow
()
override
;
44
45
protected
:
46
UNIT_BINDER
m_trackWidth
;
47
UNIT_BINDER
m_viaDiameter
;
48
UNIT_BINDER
m_viaDrill
;
49
50
// Routings settings that are modified by the dialog.
51
BOARD_DESIGN_SETTINGS
&
m_settings
;
52
};
53
54
#endif
// __dialog_track_via_size__
BOARD_DESIGN_SETTINGS
Container for design settings for a BOARD object.
Definition
board_design_settings.h:250
DIALOG_TRACK_VIA_SIZE_BASE::DIALOG_TRACK_VIA_SIZE_BASE
DIALOG_TRACK_VIA_SIZE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Track and Via Dimensions"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Definition
dialog_track_via_size_base.cpp:12
DIALOG_TRACK_VIA_SIZE::m_trackWidth
UNIT_BINDER m_trackWidth
Definition
dialog_track_via_size.h:46
DIALOG_TRACK_VIA_SIZE::m_viaDiameter
UNIT_BINDER m_viaDiameter
Definition
dialog_track_via_size.h:47
DIALOG_TRACK_VIA_SIZE::m_viaDrill
UNIT_BINDER m_viaDrill
Definition
dialog_track_via_size.h:48
DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE
DIALOG_TRACK_VIA_SIZE(EDA_DRAW_FRAME *aParent, BOARD_DESIGN_SETTINGS &aSettings)
Constructor.
Definition
dialog_track_via_size.cpp:37
DIALOG_TRACK_VIA_SIZE::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_track_via_size.cpp:73
DIALOG_TRACK_VIA_SIZE::m_settings
BOARD_DESIGN_SETTINGS & m_settings
Definition
dialog_track_via_size.h:51
DIALOG_TRACK_VIA_SIZE::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition
dialog_track_via_size.cpp:52
EDA_DRAW_FRAME
The base class for create windows for drawing purpose.
Definition
eda_draw_frame.h:85
UNIT_BINDER
Definition
unit_binder.h:43
dialog_track_via_size_base.h
unit_binder.h
src
pcbnew
dialogs
dialog_track_via_size.h
Generated on Sun Sep 21 2025 01:05:28 for KiCad PCB EDA Suite by
1.13.2