2020-03-10 18:46:57 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 KiCad Developers, see AUTHORS.txt for contributors.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef KICAD_DIALOG_SCHEMATIC_SETUP_H
|
|
|
|
#define KICAD_DIALOG_SCHEMATIC_SETUP_H
|
|
|
|
|
|
|
|
#include <widgets/paged_dialog.h>
|
|
|
|
|
|
|
|
class SCH_EDIT_FRAME;
|
|
|
|
class PANEL_SETUP_SEVERITIES;
|
|
|
|
class PANEL_EESCHEMA_TEMPLATE_FIELDNAMES;
|
|
|
|
class PANEL_SETUP_FORMATTING;
|
2020-03-11 21:43:02 +00:00
|
|
|
class PANEL_SETUP_PINMAP;
|
2020-03-26 11:02:59 +00:00
|
|
|
class PANEL_TEXT_VARIABLES;
|
2020-07-03 23:28:24 +00:00
|
|
|
class PANEL_SETUP_NETCLASSES;
|
2020-07-17 20:04:14 +00:00
|
|
|
class ERC_ITEM;
|
2020-03-10 18:46:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
class DIALOG_SCHEMATIC_SETUP : public PAGED_DIALOG
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DIALOG_SCHEMATIC_SETUP( SCH_EDIT_FRAME* aFrame );
|
|
|
|
~DIALOG_SCHEMATIC_SETUP();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void OnAuxiliaryAction( wxCommandEvent& event ) override;
|
|
|
|
|
|
|
|
SCH_EDIT_FRAME* m_frame;
|
|
|
|
|
|
|
|
PANEL_SETUP_FORMATTING* m_formatting;
|
|
|
|
PANEL_EESCHEMA_TEMPLATE_FIELDNAMES* m_fieldNameTemplates;
|
2020-03-11 21:43:02 +00:00
|
|
|
PANEL_SETUP_PINMAP* m_pinMap;
|
2020-03-10 18:46:57 +00:00
|
|
|
PANEL_SETUP_SEVERITIES* m_severities;
|
2020-07-03 23:28:24 +00:00
|
|
|
PANEL_SETUP_NETCLASSES* m_netclasses;
|
2020-03-26 11:02:59 +00:00
|
|
|
PANEL_TEXT_VARIABLES* m_textVars;
|
2020-08-11 13:33:16 +00:00
|
|
|
std::shared_ptr<ERC_ITEM> m_pinToPinError;
|
2020-03-26 11:02:59 +00:00
|
|
|
|
|
|
|
std::vector<bool> m_macHack;
|
2020-03-10 18:46:57 +00:00
|
|
|
|
|
|
|
// event handlers
|
|
|
|
void OnPageChange( wxBookCtrlEvent& event );
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //KICAD_DIALOG_SCHEMATIC_SETUP_H
|