KiCad PCB EDA Suite
dialog_edit_component_in_lib.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-2013 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 
29 #ifndef _DIALOG_EDIT_COMPONENT_IN_LIB_H_
30 #define _DIALOG_EDIT_COMPONENT_IN_LIB_H_
31 
33 
34 
36 {
37  static int m_lastOpenedPage; // To remember the last notebook selection
38 
39 public:
43 
44 public:
48 
49 private:
50  void initDlg();
51  void InitPanelDoc();
52  void InitBasicPanel();
53  void OnCancelClick( wxCommandEvent& event ) override;
54  void OnOkClick(wxCommandEvent& event) override;
55  void DeleteAllAliasOfPart(wxCommandEvent& event) override;
56  void DeleteAliasOfPart(wxCommandEvent& event) override;
57  void AddAliasOfPart(wxCommandEvent& event) override;
58  bool ChangeNbUnitsPerPackage(int newUnit);
59  bool SetUnsetConvert();
60  void CopyDocFromRootToAlias(wxCommandEvent& event) override;
61  void BrowseAndSelectDocFile(wxCommandEvent& event) override;
62  void DeleteAllFootprintFilter(wxCommandEvent& event) override;
63  void DeleteOneFootprintFilter(wxCommandEvent& event) override;
64  void AddFootprintFilter(wxCommandEvent& event) override;
65  void EditOneFootprintFilter( wxCommandEvent& event ) override;
66  void OnUpdateInterchangeableUnits( wxUpdateUIEvent& event ) override;
67 };
68 
69 #endif
70  // _DIALOG_EDIT_COMPONENT_IN_LIB_H_
DIALOG_EDIT_COMPONENT_IN_LIBRARY(LIB_EDIT_FRAME *parent)
Constructors.
void CopyDocFromRootToAlias(wxCommandEvent &event) override
void AddFootprintFilter(wxCommandEvent &event) override
void AddAliasOfPart(wxCommandEvent &event) override
void OnUpdateInterchangeableUnits(wxUpdateUIEvent &event) override
void DeleteAliasOfPart(wxCommandEvent &event) override
void OnCancelClick(wxCommandEvent &event) override
void OnOkClick(wxCommandEvent &event) override
void EditOneFootprintFilter(wxCommandEvent &event) override
void DeleteAllFootprintFilter(wxCommandEvent &event) override
void DeleteOneFootprintFilter(wxCommandEvent &event) override
The component library editor main window.
Definition: libeditframe.h:51
void DeleteAllAliasOfPart(wxCommandEvent &event) override
void BrowseAndSelectDocFile(wxCommandEvent &event) override
Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE.