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, see <https://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23#include <backannotate.h>
25
26class SCH_EDIT_FRAME;
27
28
30{
31public:
34
35private:
36 void updateData();
37
38 bool TransferDataToWindow() override;
39 void OnOptionChanged( wxCommandEvent& event ) override;
40 void OnUpdateClick( wxCommandEvent& event ) override;
41
42private:
44};
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)
void OnUpdateClick(wxCommandEvent &event) override
void OnOptionChanged(wxCommandEvent &event) override
~DIALOG_UPDATE_FROM_PCB()=default
DIALOG_UPDATE_FROM_PCB(SCH_EDIT_FRAME *aParent)
Schematic editor (Eeschema) main window.