KiCad PCB EDA Suite
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 <Jasuramme@gmail.com>
5  * Copyright (C) 1992-2020 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 #ifndef _DIALOG_UPDATE_FROM_PCB_H_
26 #define _DIALOG_UPDATE_FROM_PCB_H_
27 
28 #include <backannotate.h>
30 
31 // Forward declarations
32 class SCH_EDIT_FRAME;
33 class SCH_EDITOR_CONTROL;
34 
36 {
41  {
42  // Flags to remember last checkboxes state
48  };
49 
51 
52 private:
55 
56 public:
59 
60 private:
61  void updateData();
62 
63  bool TransferDataToWindow() override;
64  void OnOptionChanged( wxCommandEvent& event ) override;
65  void OnUpdateClick( wxCommandEvent& event ) override;
66 };
67 
68 #endif
Struct containing the dialog last saved state.
DIALOG_UPDATE_FROM_PCB(SCH_EDIT_FRAME *aParent)
void OnOptionChanged(wxCommandEvent &event) override
Schematic editor (Eeschema) main window.
SCH_EDITOR_CONTROL.
SCH_EDITOR_CONTROL * m_editorControl
void OnUpdateClick(wxCommandEvent &event) override
Class DIALOG_UPDATE_FROM_PCB_BASE.
static DIALOG_UPDATE_FROM_PCB_SAVED_STATE s_savedDialogState