KiCad PCB EDA Suite
dialog_board_setup.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 
21 #ifndef KICAD_DIALOG_BOARD_SETUP_H
22 #define KICAD_DIALOG_BOARD_SETUP_H
23 
24 #include <widgets/paged_dialog.h>
25 
26 class PCB_EDIT_FRAME;
28 class PANEL_SETUP_LAYERS;
31 class PANEL_SETUP_RULES;
37 
38 
40 {
41 public:
44 
45 protected:
46  void OnAuxiliaryAction( wxCommandEvent& event ) override;
47 
49 
60 
61  std::vector<bool> m_macHack;
62 
63  // event handlers
64  void OnPageChange( wxBookCtrlEvent& event );
65 
66 private:
67  int m_physicalStackupPage; // the page index of the PANEL_SETUP_BOARD_STACKUP page
68 };
69 
70 
71 #endif //KICAD_DIALOG_BOARD_SETUP_H
PANEL_SETUP_RULES * m_rules
PANEL_SETUP_NETCLASSES * m_netclasses
PCB_EDIT_FRAME * m_frame
PANEL_SETUP_BOARD_STACKUP * m_physicalStackup
void OnAuxiliaryAction(wxCommandEvent &event) override
PANEL_SETUP_SEVERITIES * m_severities
DIALOG_BOARD_SETUP(PCB_EDIT_FRAME *aFrame)
PANEL_SETUP_TRACKS_AND_VIAS * m_tracksAndVias
PCB_EDIT_FRAME is the main frame for Pcbnew.
PANEL_SETUP_TEXT_AND_GRAPHICS * m_textAndGraphics
PANEL_SETUP_MASK_AND_PASTE * m_maskAndPaste
PANEL_TEXT_VARIABLES * m_textVars
PANEL_SETUP_LAYERS * m_layers
std::vector< bool > m_macHack
void OnPageChange(wxBookCtrlEvent &event)
PANEL_SETUP_FEATURE_CONSTRAINTS * m_constraints