KiCad PCB EDA Suite
panel_modedit_defaults.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) 2017-2018 KiCad Developers, see AUTHORS.txt for contributors.
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or (at your
9  * option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef KICAD_PANEL_MODEDIT_DEFAULTS_H
21 #define KICAD_PANEL_MODEDIT_DEFAULTS_H
22 
24 #include <board_design_settings.h>
25 #include <widgets/unit_binder.h>
26 
28 
29 
31 {
35 
36 public:
38  ~PANEL_MODEDIT_DEFAULTS() override;
39 
40 private:
41  int getGridValue( int aRow, int aCol );
42 
43  bool validateData();
44 
45  bool TransferDataToWindow() override;
46  bool TransferDataFromWindow() override;
47 };
48 
49 
50 
51 
52 #endif //KICAD_PANEL_MODEDIT_DEFAULTS_H
53 
int getGridValue(int aRow, int aCol)
BOARD_DESIGN_SETTINGS m_brdSettings
Class PANEL_MODEDIT_DEFAULTS_BASE.
PANEL_MODEDIT_DEFAULTS(FOOTPRINT_EDIT_FRAME *aFrame, PAGED_DIALOG *aParent)
FOOTPRINT_EDIT_FRAME * m_frame
Class BOARD_DESIGN_SETTINGS contains design settings for a BOARD object.