KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_junction_props.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) 2020 Wayne Stambaugh <
[email protected]
>
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or (at your
10
* option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License along
18
* with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef __dialog_junction_props__
22
#define __dialog_junction_props__
23
24
#include <
gal/color4d.h
>
25
#include <
widgets/unit_binder.h
>
26
#include <
dialog_junction_props_base.h
>
27
28
29
class
SCH_EDIT_FRAME
;
30
class
SCH_JUNCTION
;
31
32
33
class
DIALOG_JUNCTION_PROPS
:
public
DIALOG_JUNCTION_PROPS_BASE
34
{
35
public
:
36
DIALOG_JUNCTION_PROPS
(
SCH_EDIT_FRAME
* aParent, std::deque<SCH_JUNCTION*>& aJunctions );
37
38
bool
TransferDataToWindow
()
override
;
39
bool
TransferDataFromWindow
()
override
;
40
41
private
:
42
void
resetDefaults
( wxCommandEvent& event )
override
;
43
44
SCH_EDIT_FRAME
*
m_frame
;
45
std::deque<SCH_JUNCTION*>
m_junctions
;
46
47
UNIT_BINDER
m_diameter
;
48
};
49
50
#endif
// __dialog_junction_props__
DIALOG_JUNCTION_PROPS_BASE::DIALOG_JUNCTION_PROPS_BASE
DIALOG_JUNCTION_PROPS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Junction Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Definition
dialog_junction_props_base.cpp:14
DIALOG_JUNCTION_PROPS::m_diameter
UNIT_BINDER m_diameter
Definition
dialog_junction_props.h:47
DIALOG_JUNCTION_PROPS::resetDefaults
void resetDefaults(wxCommandEvent &event) override
Definition
dialog_junction_props.cpp:88
DIALOG_JUNCTION_PROPS::m_junctions
std::deque< SCH_JUNCTION * > m_junctions
Definition
dialog_junction_props.h:45
DIALOG_JUNCTION_PROPS::m_frame
SCH_EDIT_FRAME * m_frame
Definition
dialog_junction_props.h:44
DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS
DIALOG_JUNCTION_PROPS(SCH_EDIT_FRAME *aParent, std::deque< SCH_JUNCTION * > &aJunctions)
Definition
dialog_junction_props.cpp:29
DIALOG_JUNCTION_PROPS::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition
dialog_junction_props.cpp:97
DIALOG_JUNCTION_PROPS::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_junction_props.cpp:54
SCH_EDIT_FRAME
Schematic editor (Eeschema) main window.
Definition
sch_edit_frame.h:128
SCH_JUNCTION
Definition
sch_junction.h:36
UNIT_BINDER
Definition
unit_binder.h:43
color4d.h
dialog_junction_props_base.h
unit_binder.h
src
eeschema
dialogs
dialog_junction_props.h
Generated on Sun Sep 21 2025 01:05:22 for KiCad PCB EDA Suite by
1.13.2