KiCad PCB EDA Suite
properties_frame.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) 2013 CERN
9  * @author Jean-Pierre Charras, jp.charras at wanadoo.fr
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, you may find one here:
23  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24  * or you may search the http://www.gnu.org website for the version 2 license,
25  * or you may write to the Free Software Foundation, Inc.,
26  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
27  */
28 
29 #ifndef _PROPERTIES_FRAME_H
30 #define _PROPERTIES_FRAME_H
31 
32 #include <wxstruct.h>
33 #include <pl_editor_frame.h>
35 
36 class WORKSHEET_DATAITEM;
37 
43 {
45 
46 public:
49 
50  // Event functions
51  void OnAcceptPrms( wxCommandEvent& event ) override;
52  void OnSetDefaultValues( wxCommandEvent& event ) override;
53 
54 
55  // Data transfert from general properties to widgets
57 
58  // Data transfert from widgets to general properties
60 
61  // Data transfert from item to widgets in properties frame
63 
64  // Data transfert from widgets in properties frame to item
66 
67  wxSize GetMinSize() const override;
68 };
69 
70 #endif /* _PROPERTIES_FRAME_H */
void CopyPrmsFromItemToPanel(WORKSHEET_DATAITEM *aItem)
Class PROPERTIES_FRAME display properties of the current item.
void OnAcceptPrms(wxCommandEvent &event) override
bool CopyPrmsFromPanelToItem(WORKSHEET_DATAITEM *aItem)
Base window classes and related definitions.
bool CopyPrmsFromPanelToGeneral()
wxSize GetMinSize() const override
PROPERTIES_FRAME(PL_EDITOR_FRAME *aParent)
PL_EDITOR_FRAME * m_parent
void CopyPrmsFromGeneralToPanel()
void OnSetDefaultValues(wxCommandEvent &event) override
Class PANEL_PROPERTIES_BASE.