KiCad PCB EDA Suite
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
e
f
i
k
l
m
n
o
p
s
v
w
Enumerations
c
d
f
g
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
KiCad Dev Docs
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
dialog_regulator_form.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) 1992-2011 jean-pierre.charras
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU 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
25
#ifndef DIALOG_REGULATOR_FORM_H
26
#define DIALOG_REGULATOR_FORM_H
27
28
#include "
dialog_regulator_form_base.h
"
29
30
class
PANEL_REGULATOR
;
31
class
REGULATOR_DATA
;
32
33
39
class
DIALOG_REGULATOR_FORM
:
public
DIALOG_REGULATOR_FORM_BASE
40
{
41
public
:
42
DIALOG_REGULATOR_FORM
( wxWindow* parent,
const
wxString& aRegName );
43
44
~DIALOG_REGULATOR_FORM
();
45
49
bool
TransferDataFromWindow
()
override
;
50
56
void
CopyRegulatorDataToDialog
(
REGULATOR_DATA
* aItem );
57
63
REGULATOR_DATA
*
BuildRegulatorFromData
();
64
68
void
UpdateDialog
();
69
73
void
OnRegTypeSelection
( wxCommandEvent& event )
override
74
{
75
UpdateDialog
();
76
}
77
};
78
79
#endif
// DIALOG_REGULATOR_FORM_H
DIALOG_REGULATOR_FORM_BASE
Class DIALOG_REGULATOR_FORM_BASE.
Definition:
dialog_regulator_form_base.h:33
DIALOG_REGULATOR_FORM
Subclass of DIALOG_REGULATOR_FORM_BASE, which is generated by wxFormBuilder.
Definition:
dialog_regulator_form.h:40
DIALOG_REGULATOR_FORM::UpdateDialog
void UpdateDialog()
Enable/disable Iadj related widgets, according to the regulator type.
Definition:
dialog_regulator_form.cpp:100
DIALOG_REGULATOR_FORM::BuildRegulatorFromData
REGULATOR_DATA * BuildRegulatorFromData()
Create a new REGULATOR_DATA from dialog data.
Definition:
dialog_regulator_form.cpp:132
DIALOG_REGULATOR_FORM::CopyRegulatorDataToDialog
void CopyRegulatorDataToDialog(REGULATOR_DATA *aItem)
Transfer data from dialog to aItem.
Definition:
dialog_regulator_form.cpp:110
DIALOG_REGULATOR_FORM::~DIALOG_REGULATOR_FORM
~DIALOG_REGULATOR_FORM()
Definition:
dialog_regulator_form.cpp:44
DIALOG_REGULATOR_FORM::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition:
dialog_regulator_form.cpp:49
DIALOG_REGULATOR_FORM::OnRegTypeSelection
void OnRegTypeSelection(wxCommandEvent &event) override
Called when the current regulator type is changed.
Definition:
dialog_regulator_form.h:73
PANEL_REGULATOR
Definition:
panel_regulator.h:28
REGULATOR_DATA
Definition:
class_regulator_data.h:41
dialog_regulator_form_base.h
src
pcb_calculator
dialogs
dialog_regulator_form.h
Generated on Fri Jan 3 2025 00:04:59 for KiCad PCB EDA Suite by
1.9.6