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 
33 #include <widgets/unit_binder.h>
34 
35 class DS_DATA_ITEM;
36 class PL_EDITOR_FRAME;
37 class SCINTILLA_TRICKS;
38 
44 {
47 
50 
53 
56 
59 
62 
65 
68 
71 
74 
76 
77 public:
80 
81  // Event functions
82  void OnPageChanged( wxNotebookEvent& event ) override;
83  void OnAcceptPrms( wxCommandEvent& event ) override;
84  void OnSetDefaultValues( wxCommandEvent& event ) override;
85  void onScintillaCharAdded( wxStyledTextEvent &aEvent );
86 
87  // Data transfert from general properties to widgets
89 
90  // Data transfert from widgets to general properties
92 
93  // Data transfert from item to widgets in properties frame
95 
96  // Data transfert from widgets in properties frame to item
98 
99  wxSize GetMinSize() const override;
100 };
101 
102 #endif /* _PROPERTIES_FRAME_H */
UNIT_BINDER m_textCtrlConstraintXBinder
UNIT_BINDER m_textCtrlStepXBinder
UNIT_BINDER m_textCtrlTopMarginBinder
Add cut/copy/paste, autocomplete and brace highlighting to a wxStyleTextCtrl instance.
UNIT_BINDER m_textCtrlBottomMarginBinder
UNIT_BINDER m_textCtrlEndXBinder
PROPERTIES_FRAME display properties of the current item.
void OnAcceptPrms(wxCommandEvent &event) override
PL_EDITOR_FRAME is the main window used in the drawing sheet editor.
UNIT_BINDER m_textCtrlPosYBinder
UNIT_BINDER m_textCtrlRightMarginBinder
void OnPageChanged(wxNotebookEvent &event) override
UNIT_BINDER m_textCtrlDefaultTextSizeXBinder
UNIT_BINDER m_textCtrlEndYBinder
UNIT_BINDER m_textCtrlDefaultTextThicknessBinder
void onScintillaCharAdded(wxStyledTextEvent &aEvent)
UNIT_BINDER m_textCtrlConstraintYBinder
wxSize GetMinSize() const override
UNIT_BINDER m_textCtrlStepYBinder
UNIT_BINDER m_textCtrlThicknessBinder
UNIT_BINDER m_textCtrlDefaultTextSizeYBinder
SCINTILLA_TRICKS * m_scintillaTricks
UNIT_BINDER m_textCtrlPosXBinder
UNIT_BINDER m_textCtrlDefaultLineWidthBinder
PROPERTIES_FRAME(PL_EDITOR_FRAME *aParent)
bool CopyPrmsFromPanelToItem(DS_DATA_ITEM *aItem)
Drawing sheet structure type definitions.
Definition: ds_data_item.h:95
UNIT_BINDER m_textCtrlTextSizeYBinder
PL_EDITOR_FRAME * m_parent
UNIT_BINDER m_textCtrlLeftMarginBinder
void CopyPrmsFromItemToPanel(DS_DATA_ITEM *aItem)
UNIT_BINDER m_textCtrlTextSizeXBinder
void OnSetDefaultValues(wxCommandEvent &event) override
Class PANEL_PROPERTIES_BASE.