KiCad PCB EDA Suite
dialog_netlist.h
Go to the documentation of this file.
1 
5 /*
6  * This program source code file is part of KiCad, a free EDA CAD application.
7  *
8  * Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors.
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, you may find one here:
22  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
23  * or you may search the http://www.gnu.org website for the version 2 license,
24  * or you may write to the Free Software Foundation, Inc.,
25  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26  */
27 
28 #ifndef _DIALOG_NETLIST_H_
29 #define _DIALOG_NETLIST_H_
30 
31 #include <dialog_netlist_base.h>
32 
33 
34 class FOOTPRINT;
35 class NETLIST;
36 
37 
39 {
40 public:
41  DIALOG_NETLIST( PCB_EDIT_FRAME* aParent, wxString& aNetlistFullFilename );
43 
44 private:
45  void onFilenameChanged();
46 
47  void loadNetlist( bool aDryRun );
48 
49  // Virtual event handlers:
50  void OnOpenNetlistClick( wxCommandEvent& event ) override;
51  void OnUpdatePCB( wxCommandEvent& event ) override;
52  void OnFilenameKillFocus( wxFocusEvent& event ) override;
53  void OnMatchChanged( wxCommandEvent& event ) override;
54  void OnOptionChanged( wxCommandEvent& event ) override;
55 
57  wxString& m_netlistPath;
60  static bool m_matchByUUID; // True to use UUID as link between symbol and footprint
61  // False to use reference designator as link
62  // between symbol and footprint
63 
64 };
65 
66 
67 #endif // _DIALOG_NETLIST_H_
void OnMatchChanged(wxCommandEvent &event) override
PCB_EDIT_FRAME * m_parent
void OnFilenameKillFocus(wxFocusEvent &event) override
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
Definition: pcb_netlist.h:206
void OnOpenNetlistClick(wxCommandEvent &event) override
void OnOptionChanged(wxCommandEvent &event) override
void OnUpdatePCB(wxCommandEvent &event) override
DIALOG_NETLIST(PCB_EDIT_FRAME *aParent, wxString &aNetlistFullFilename)
wxString & m_netlistPath
The main frame for Pcbnew.
static bool m_matchByUUID