2020-03-10 18:46:57 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
2023-05-11 00:24:06 +00:00
|
|
|
* Copyright (C) 2020-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
2020-03-10 18:46:57 +00:00
|
|
|
*
|
|
|
|
* 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;
|
2021-08-29 23:33:08 +00:00
|
|
|
class PANEL_TEMPLATE_FIELDNAMES;
|
2020-03-10 18:46:57 +00:00
|
|
|
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;
|
2022-08-21 11:26:47 +00:00
|
|
|
class PANEL_SETUP_BUSES;
|
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:
|
2021-12-28 14:43:57 +00:00
|
|
|
// event handlers
|
2022-09-10 08:12:22 +00:00
|
|
|
void onPageChanged( wxBookCtrlEvent& aEvent ) override;
|
|
|
|
void onAuxiliaryAction( wxCommandEvent& aEvent ) override;
|
2020-03-10 18:46:57 +00:00
|
|
|
|
2023-05-11 00:24:06 +00:00
|
|
|
SCH_EDIT_FRAME* m_frame;
|
2020-03-10 18:46:57 +00:00
|
|
|
|
2023-05-11 00:24:06 +00:00
|
|
|
std::shared_ptr<ERC_ITEM> m_pinToPinError;
|
|
|
|
|
|
|
|
size_t m_formattingPage;
|
|
|
|
size_t m_fieldNameTemplatesPage;
|
|
|
|
size_t m_pinMapPage;
|
|
|
|
size_t m_busesPage;
|
|
|
|
size_t m_severitiesPage;
|
|
|
|
size_t m_netclassesPage;
|
2020-03-10 18:46:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //KICAD_DIALOG_SCHEMATIC_SETUP_H
|