KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_update_from_pcb.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) 2019 Alexander Shuklin <
[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
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 2
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
18
* along with this program; if not, you may find one here:
19
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20
* or you may search the http://www.gnu.org website for the version 2 license,
21
* or you may write to the Free Software Foundation, Inc.,
22
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23
*/
24
25
#pragma once
26
27
#include <
backannotate.h
>
28
#include <
dialog_update_from_pcb_base.h
>
29
30
class
SCH_EDIT_FRAME
;
31
32
33
class
DIALOG_UPDATE_FROM_PCB
:
public
DIALOG_UPDATE_FROM_PCB_BASE
34
{
35
public
:
36
DIALOG_UPDATE_FROM_PCB
(
SCH_EDIT_FRAME
* aParent );
37
~DIALOG_UPDATE_FROM_PCB
() =
default
;
38
39
private
:
40
void
updateData
();
41
42
bool
TransferDataToWindow
()
override
;
43
void
OnOptionChanged
( wxCommandEvent& event )
override
;
44
void
OnUpdateClick
( wxCommandEvent& event )
override
;
45
46
private
:
47
SCH_EDIT_FRAME
*
m_frame
;
48
};
backannotate.h
DIALOG_UPDATE_FROM_PCB_BASE::DIALOG_UPDATE_FROM_PCB_BASE
DIALOG_UPDATE_FROM_PCB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Update Schematic from PCB"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Definition
dialog_update_from_pcb_base.cpp:14
DIALOG_UPDATE_FROM_PCB::TransferDataToWindow
bool TransferDataToWindow() override
Definition
dialog_update_from_pcb.cpp:82
DIALOG_UPDATE_FROM_PCB::OnUpdateClick
void OnUpdateClick(wxCommandEvent &event) override
Definition
dialog_update_from_pcb.cpp:108
DIALOG_UPDATE_FROM_PCB::updateData
void updateData()
Definition
dialog_update_from_pcb.cpp:58
DIALOG_UPDATE_FROM_PCB::OnOptionChanged
void OnOptionChanged(wxCommandEvent &event) override
Definition
dialog_update_from_pcb.cpp:89
DIALOG_UPDATE_FROM_PCB::~DIALOG_UPDATE_FROM_PCB
~DIALOG_UPDATE_FROM_PCB()=default
DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB
DIALOG_UPDATE_FROM_PCB(SCH_EDIT_FRAME *aParent)
Definition
dialog_update_from_pcb.cpp:32
DIALOG_UPDATE_FROM_PCB::m_frame
SCH_EDIT_FRAME * m_frame
Definition
dialog_update_from_pcb.h:47
SCH_EDIT_FRAME
Schematic editor (Eeschema) main window.
Definition
sch_edit_frame.h:128
dialog_update_from_pcb_base.h
src
eeschema
dialogs
dialog_update_from_pcb.h
Generated on Sun Sep 21 2025 01:05:22 for KiCad PCB EDA Suite by
1.13.2