diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index 7700bf7129..55f1eac668 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -115,16 +115,16 @@ set( EESCHEMA_DLGS dialogs/panel_eeschema_template_fieldnames_base.cpp dialogs/panel_eeschema_display_options.cpp dialogs/panel_eeschema_display_options_base.cpp - dialogs/panel_eeschema_settings.cpp - dialogs/panel_eeschema_settings_base.cpp - dialogs/panel_libedit_settings.cpp - dialogs/panel_libedit_settings_base.cpp - dialogs/panel_libedit_color_settings.cpp - dialogs/panel_libedit_color_settings_base.cpp + dialogs/panel_eeschema_editing_options.cpp + dialogs/panel_eeschema_editing_options_base.cpp dialogs/panel_setup_formatting.cpp dialogs/panel_setup_formatting_base.cpp dialogs/panel_setup_pinmap.cpp dialogs/panel_setup_pinmap_base.cpp + dialogs/panel_sym_editing_options.cpp + dialogs/panel_sym_editing_options_base.cpp + dialogs/panel_sym_color_settings.cpp + dialogs/panel_sym_color_settings_base.cpp dialogs/panel_sym_lib_table.cpp dialogs/panel_sym_lib_table_base.cpp ) diff --git a/eeschema/dialogs/panel_eeschema_settings.cpp b/eeschema/dialogs/panel_eeschema_editing_options.cpp similarity index 89% rename from eeschema/dialogs/panel_eeschema_settings.cpp rename to eeschema/dialogs/panel_eeschema_editing_options.cpp index 53e8af3d01..af983c77ec 100644 --- a/eeschema/dialogs/panel_eeschema_settings.cpp +++ b/eeschema/dialogs/panel_eeschema_editing_options.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2009 Wayne Stambaugh - * Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-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 @@ -28,18 +28,19 @@ #include #include #include -#include "panel_eeschema_settings.h" +#include "panel_eeschema_editing_options.h" -PANEL_EESCHEMA_SETTINGS::PANEL_EESCHEMA_SETTINGS( SCH_EDIT_FRAME* aFrame, wxWindow* aWindow ) : - PANEL_EESCHEMA_SETTINGS_BASE( aWindow ), +PANEL_EESCHEMA_EDITING_OPTIONS::PANEL_EESCHEMA_EDITING_OPTIONS( SCH_EDIT_FRAME* aFrame, + wxWindow* aWindow ) : + PANEL_EESCHEMA_EDITING_OPTIONS_BASE( aWindow ), m_frame( aFrame ), m_hPitch( aFrame, m_hPitchLabel, m_hPitchCtrl, m_hPitchUnits, true ), m_vPitch( aFrame, m_vPitchLabel, m_vPitchCtrl, m_vPitchUnits, true ) {} -bool PANEL_EESCHEMA_SETTINGS::TransferDataToWindow() +bool PANEL_EESCHEMA_EDITING_OPTIONS::TransferDataToWindow() { EESCHEMA_SETTINGS* cfg = m_frame->eeconfig(); @@ -73,7 +74,7 @@ bool PANEL_EESCHEMA_SETTINGS::TransferDataToWindow() } -bool PANEL_EESCHEMA_SETTINGS::TransferDataFromWindow() +bool PANEL_EESCHEMA_EDITING_OPTIONS::TransferDataFromWindow() { EESCHEMA_SETTINGS* cfg = m_frame->eeconfig(); diff --git a/eeschema/dialogs/panel_eeschema_settings.h b/eeschema/dialogs/panel_eeschema_editing_options.h similarity index 71% rename from eeschema/dialogs/panel_eeschema_settings.h rename to eeschema/dialogs/panel_eeschema_editing_options.h index bf0e160256..2c58133474 100644 --- a/eeschema/dialogs/panel_eeschema_settings.h +++ b/eeschema/dialogs/panel_eeschema_editing_options.h @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 2017-2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2017-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 @@ -17,16 +17,16 @@ * with this program. If not, see . */ -#ifndef KICAD_PANEL_EESCHEMA_SETTINGS_H -#define KICAD_PANEL_EESCHEMA_SETTINGS_H +#ifndef PANEL_EESCHEMA_EDITING_OPTIONS_H +#define PANEL_EESCHEMA_EDITING_OPTIONS_H #include -#include "panel_eeschema_settings_base.h" +#include "panel_eeschema_editing_options_base.h" class SCH_EDIT_FRAME; -class PANEL_EESCHEMA_SETTINGS : public PANEL_EESCHEMA_SETTINGS_BASE +class PANEL_EESCHEMA_EDITING_OPTIONS : public PANEL_EESCHEMA_EDITING_OPTIONS_BASE { SCH_EDIT_FRAME* m_frame; @@ -34,7 +34,7 @@ class PANEL_EESCHEMA_SETTINGS : public PANEL_EESCHEMA_SETTINGS_BASE UNIT_BINDER m_vPitch; public: - PANEL_EESCHEMA_SETTINGS( SCH_EDIT_FRAME* aFrame, wxWindow* aWindow ); + PANEL_EESCHEMA_EDITING_OPTIONS( SCH_EDIT_FRAME* aFrame, wxWindow* aWindow ); private: bool TransferDataToWindow() override; @@ -42,4 +42,4 @@ private: }; -#endif //KICAD_PANEL_EESCHEMA_SETTINGS_H +#endif //PANEL_EESCHEMA_EDITING_OPTIONS_H diff --git a/eeschema/dialogs/panel_eeschema_settings_base.cpp b/eeschema/dialogs/panel_eeschema_editing_options_base.cpp similarity index 95% rename from eeschema/dialogs/panel_eeschema_settings_base.cpp rename to eeschema/dialogs/panel_eeschema_editing_options_base.cpp index 1c154d4e20..d6c32fdac8 100644 --- a/eeschema/dialogs/panel_eeschema_settings_base.cpp +++ b/eeschema/dialogs/panel_eeschema_editing_options_base.cpp @@ -5,11 +5,11 @@ // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "panel_eeschema_settings_base.h" +#include "panel_eeschema_editing_options_base.h" /////////////////////////////////////////////////////////////////////////// -PANEL_EESCHEMA_SETTINGS_BASE::PANEL_EESCHEMA_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) { wxBoxSizer* bPanelSizer; bPanelSizer = new wxBoxSizer( wxHORIZONTAL ); @@ -170,6 +170,6 @@ PANEL_EESCHEMA_SETTINGS_BASE::PANEL_EESCHEMA_SETTINGS_BASE( wxWindow* parent, wx bPanelSizer->Fit( this ); } -PANEL_EESCHEMA_SETTINGS_BASE::~PANEL_EESCHEMA_SETTINGS_BASE() +PANEL_EESCHEMA_EDITING_OPTIONS_BASE::~PANEL_EESCHEMA_EDITING_OPTIONS_BASE() { } diff --git a/eeschema/dialogs/panel_eeschema_settings_base.fbp b/eeschema/dialogs/panel_eeschema_editing_options_base.fbp similarity index 99% rename from eeschema/dialogs/panel_eeschema_settings_base.fbp rename to eeschema/dialogs/panel_eeschema_editing_options_base.fbp index acdd724726..dbd2671cba 100644 --- a/eeschema/dialogs/panel_eeschema_settings_base.fbp +++ b/eeschema/dialogs/panel_eeschema_editing_options_base.fbp @@ -11,12 +11,12 @@ res UTF-8 table - panel_eeschema_settings_base + panel_eeschema_editing_options_base 1000 none 1 - PanelEeschemaSettingsBase + PanelEeschemaEditingOptionsBase . @@ -41,7 +41,7 @@ wxID_ANY - PANEL_EESCHEMA_SETTINGS_BASE + PANEL_EESCHEMA_EDITING_OPTIONS_BASE -1,-1 ; forward_declare diff --git a/eeschema/dialogs/panel_eeschema_settings_base.h b/eeschema/dialogs/panel_eeschema_editing_options_base.h similarity index 81% rename from eeschema/dialogs/panel_eeschema_settings_base.h rename to eeschema/dialogs/panel_eeschema_editing_options_base.h index ae636872ab..79bc410ffe 100644 --- a/eeschema/dialogs/panel_eeschema_settings_base.h +++ b/eeschema/dialogs/panel_eeschema_editing_options_base.h @@ -27,9 +27,9 @@ /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// -/// Class PANEL_EESCHEMA_SETTINGS_BASE +/// Class PANEL_EESCHEMA_EDITING_OPTIONS_BASE /////////////////////////////////////////////////////////////////////////////// -class PANEL_EESCHEMA_SETTINGS_BASE : public wxPanel +class PANEL_EESCHEMA_EDITING_OPTIONS_BASE : public wxPanel { private: @@ -58,8 +58,8 @@ class PANEL_EESCHEMA_SETTINGS_BASE : public wxPanel public: - PANEL_EESCHEMA_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - ~PANEL_EESCHEMA_SETTINGS_BASE(); + PANEL_EESCHEMA_EDITING_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + ~PANEL_EESCHEMA_EDITING_OPTIONS_BASE(); }; diff --git a/eeschema/dialogs/panel_libedit_color_settings.cpp b/eeschema/dialogs/panel_sym_color_settings.cpp similarity index 88% rename from eeschema/dialogs/panel_libedit_color_settings.cpp rename to eeschema/dialogs/panel_sym_color_settings.cpp index 0d48a24092..14d3c09482 100644 --- a/eeschema/dialogs/panel_libedit_color_settings.cpp +++ b/eeschema/dialogs/panel_sym_color_settings.cpp @@ -29,17 +29,17 @@ #include #include -#include "panel_libedit_color_settings.h" +#include "panel_sym_color_settings.h" -PANEL_LIBEDIT_COLOR_SETTINGS::PANEL_LIBEDIT_COLOR_SETTINGS( LIB_EDIT_FRAME* aFrame, +PANEL_SYM_COLOR_SETTINGS::PANEL_SYM_COLOR_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ) - : PANEL_LIBEDIT_COLOR_SETTINGS_BASE( aWindow ), m_frame( aFrame ) + : PANEL_SYM_COLOR_SETTINGS_BASE( aWindow ), m_frame( aFrame ) { } -bool PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataToWindow() +bool PANEL_SYM_COLOR_SETTINGS::TransferDataToWindow() { auto cfg = Pgm().GetSettingsManager().GetAppSettings(); @@ -75,7 +75,7 @@ bool PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataToWindow() } -bool PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataFromWindow() +bool PANEL_SYM_COLOR_SETTINGS::TransferDataFromWindow() { SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager(); @@ -102,7 +102,7 @@ bool PANEL_LIBEDIT_COLOR_SETTINGS::TransferDataFromWindow() } -void PANEL_LIBEDIT_COLOR_SETTINGS::OnUseEeschemaThemeChanged( wxCommandEvent& event ) +void PANEL_SYM_COLOR_SETTINGS::OnUseEeschemaThemeChanged( wxCommandEvent& event ) { bool useEeschema = m_useEeschemaTheme->GetValue(); diff --git a/eeschema/dialogs/panel_libedit_color_settings.h b/eeschema/dialogs/panel_sym_color_settings.h similarity index 82% rename from eeschema/dialogs/panel_libedit_color_settings.h rename to eeschema/dialogs/panel_sym_color_settings.h index 3c591ff429..019f080cf0 100644 --- a/eeschema/dialogs/panel_libedit_color_settings.h +++ b/eeschema/dialogs/panel_sym_color_settings.h @@ -21,20 +21,20 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef PANEL_LIBEDIT_COLOR_SETTINGS_H -#define PANEL_LIBEDIT_COLOR_SETTINGS_H +#ifndef PANEL_SYM_COLOR_SETTINGS_H +#define PANEL_SYM_COLOR_SETTINGS_H -#include "panel_libedit_color_settings_base.h" +#include "panel_sym_color_settings_base.h" class LIB_EDIT_FRAME; -class PANEL_LIBEDIT_COLOR_SETTINGS : public PANEL_LIBEDIT_COLOR_SETTINGS_BASE +class PANEL_SYM_COLOR_SETTINGS : public PANEL_SYM_COLOR_SETTINGS_BASE { LIB_EDIT_FRAME* m_frame; public: - PANEL_LIBEDIT_COLOR_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ); + PANEL_SYM_COLOR_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ); protected: void OnUseEeschemaThemeChanged( wxCommandEvent& event ) override; diff --git a/eeschema/dialogs/panel_libedit_color_settings_base.cpp b/eeschema/dialogs/panel_sym_color_settings_base.cpp similarity index 76% rename from eeschema/dialogs/panel_libedit_color_settings_base.cpp rename to eeschema/dialogs/panel_sym_color_settings_base.cpp index e901a72d04..380bf5a33f 100644 --- a/eeschema/dialogs/panel_libedit_color_settings_base.cpp +++ b/eeschema/dialogs/panel_sym_color_settings_base.cpp @@ -5,15 +5,15 @@ // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "panel_libedit_color_settings_base.h" +#include "panel_sym_color_settings_base.h" /////////////////////////////////////////////////////////////////////////// -BEGIN_EVENT_TABLE( PANEL_LIBEDIT_COLOR_SETTINGS_BASE, wxPanel ) - EVT_CHECKBOX( wxID_ANY, PANEL_LIBEDIT_COLOR_SETTINGS_BASE::_wxFB_OnUseEeschemaThemeChanged ) +BEGIN_EVENT_TABLE( PANEL_SYM_COLOR_SETTINGS_BASE, wxPanel ) + EVT_CHECKBOX( wxID_ANY, PANEL_SYM_COLOR_SETTINGS_BASE::_wxFB_OnUseEeschemaThemeChanged ) END_EVENT_TABLE() -PANEL_LIBEDIT_COLOR_SETTINGS_BASE::PANEL_LIBEDIT_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +PANEL_SYM_COLOR_SETTINGS_BASE::PANEL_SYM_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) { wxBoxSizer* p1mainSizer; p1mainSizer = new wxBoxSizer( wxHORIZONTAL ); @@ -51,6 +51,6 @@ PANEL_LIBEDIT_COLOR_SETTINGS_BASE::PANEL_LIBEDIT_COLOR_SETTINGS_BASE( wxWindow* p1mainSizer->Fit( this ); } -PANEL_LIBEDIT_COLOR_SETTINGS_BASE::~PANEL_LIBEDIT_COLOR_SETTINGS_BASE() +PANEL_SYM_COLOR_SETTINGS_BASE::~PANEL_SYM_COLOR_SETTINGS_BASE() { } diff --git a/eeschema/dialogs/panel_libedit_color_settings_base.fbp b/eeschema/dialogs/panel_sym_color_settings_base.fbp similarity index 98% rename from eeschema/dialogs/panel_libedit_color_settings_base.fbp rename to eeschema/dialogs/panel_sym_color_settings_base.fbp index 335f5c5f5b..d84dd6ccb5 100644 --- a/eeschema/dialogs/panel_libedit_color_settings_base.fbp +++ b/eeschema/dialogs/panel_sym_color_settings_base.fbp @@ -11,12 +11,12 @@ res UTF-8 table - panel_libedit_color_settings_base + panel_sym_color_settings_base 1000 none 1 - PanelLibeditColorSettingsBase + PanelSymColorSettingsBase . @@ -41,7 +41,7 @@ wxID_ANY - PANEL_LIBEDIT_COLOR_SETTINGS_BASE + PANEL_SYM_COLOR_SETTINGS_BASE -1,-1 ; forward_declare diff --git a/eeschema/dialogs/panel_libedit_color_settings_base.h b/eeschema/dialogs/panel_sym_color_settings_base.h similarity index 77% rename from eeschema/dialogs/panel_libedit_color_settings_base.h rename to eeschema/dialogs/panel_sym_color_settings_base.h index ed7dbbdd04..52cb546143 100644 --- a/eeschema/dialogs/panel_libedit_color_settings_base.h +++ b/eeschema/dialogs/panel_sym_color_settings_base.h @@ -26,9 +26,9 @@ /////////////////////////////////////////////////////////////////////////////// -/// Class PANEL_LIBEDIT_COLOR_SETTINGS_BASE +/// Class PANEL_SYM_COLOR_SETTINGS_BASE /////////////////////////////////////////////////////////////////////////////// -class PANEL_LIBEDIT_COLOR_SETTINGS_BASE : public wxPanel +class PANEL_SYM_COLOR_SETTINGS_BASE : public wxPanel { DECLARE_EVENT_TABLE() private: @@ -48,8 +48,8 @@ class PANEL_LIBEDIT_COLOR_SETTINGS_BASE : public wxPanel public: - PANEL_LIBEDIT_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - ~PANEL_LIBEDIT_COLOR_SETTINGS_BASE(); + PANEL_SYM_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + ~PANEL_SYM_COLOR_SETTINGS_BASE(); }; diff --git a/eeschema/dialogs/panel_libedit_settings.cpp b/eeschema/dialogs/panel_sym_editing_options.cpp similarity index 92% rename from eeschema/dialogs/panel_libedit_settings.cpp rename to eeschema/dialogs/panel_sym_editing_options.cpp index 305a473044..1aeceff7bf 100644 --- a/eeschema/dialogs/panel_libedit_settings.cpp +++ b/eeschema/dialogs/panel_sym_editing_options.cpp @@ -28,11 +28,11 @@ #include #include -#include "panel_libedit_settings.h" +#include "panel_sym_editing_options.h" -PANEL_LIBEDIT_SETTINGS::PANEL_LIBEDIT_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ) : - PANEL_LIBEDIT_SETTINGS_BASE( aWindow ), +PANEL_SYM_EDITING_OPTIONS::PANEL_SYM_EDITING_OPTIONS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ) : + PANEL_SYM_EDITING_OPTIONS_BASE( aWindow ), m_frame( aFrame ), m_lineWidth( aFrame, m_lineWidthLabel, m_lineWidthCtrl, m_lineWidthUnits, true ), m_textSize( aFrame, m_textSizeLabel, m_textSizeCtrl, m_textSizeUnits, true ), @@ -44,7 +44,7 @@ PANEL_LIBEDIT_SETTINGS::PANEL_LIBEDIT_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow {} -bool PANEL_LIBEDIT_SETTINGS::TransferDataToWindow() +bool PANEL_SYM_EDITING_OPTIONS::TransferDataToWindow() { LIBEDIT_SETTINGS* settings = Pgm().GetSettingsManager().GetAppSettings(); @@ -64,7 +64,7 @@ bool PANEL_LIBEDIT_SETTINGS::TransferDataToWindow() } -bool PANEL_LIBEDIT_SETTINGS::TransferDataFromWindow() +bool PANEL_SYM_EDITING_OPTIONS::TransferDataFromWindow() { LIBEDIT_SETTINGS* settings = Pgm().GetSettingsManager().GetAppSettings(); diff --git a/eeschema/dialogs/panel_libedit_settings.h b/eeschema/dialogs/panel_sym_editing_options.h similarity index 80% rename from eeschema/dialogs/panel_libedit_settings.h rename to eeschema/dialogs/panel_sym_editing_options.h index 05a22d1a56..912127e193 100644 --- a/eeschema/dialogs/panel_libedit_settings.h +++ b/eeschema/dialogs/panel_sym_editing_options.h @@ -17,16 +17,16 @@ * with this program. If not, see . */ -#ifndef PANEL_LIBEDIT_SETTINGS_H -#define PANEL_LIBEDIT_SETTINGS_H +#ifndef PANEL_SYM_EDITING_OPTIONS_H +#define PANEL_SYM_EDITING_OPTIONS_H #include -#include "panel_libedit_settings_base.h" +#include "panel_sym_editing_options_base.h" class LIB_EDIT_FRAME; -class PANEL_LIBEDIT_SETTINGS : public PANEL_LIBEDIT_SETTINGS_BASE +class PANEL_SYM_EDITING_OPTIONS : public PANEL_SYM_EDITING_OPTIONS_BASE { LIB_EDIT_FRAME* m_frame; @@ -41,7 +41,7 @@ class PANEL_LIBEDIT_SETTINGS : public PANEL_LIBEDIT_SETTINGS_BASE UNIT_BINDER m_vPitch; public: - PANEL_LIBEDIT_SETTINGS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ); + PANEL_SYM_EDITING_OPTIONS( LIB_EDIT_FRAME* aFrame, wxWindow* aWindow ); private: bool TransferDataToWindow() override; @@ -49,4 +49,4 @@ private: }; -#endif //PANEL_LIBEDIT_SETTINGS_H +#endif //PANEL_SYM_EDITING_OPTIONS_H diff --git a/eeschema/dialogs/panel_libedit_settings_base.cpp b/eeschema/dialogs/panel_sym_editing_options_base.cpp similarity index 96% rename from eeschema/dialogs/panel_libedit_settings_base.cpp rename to eeschema/dialogs/panel_sym_editing_options_base.cpp index e5b7ca1c23..18a9483504 100644 --- a/eeschema/dialogs/panel_libedit_settings_base.cpp +++ b/eeschema/dialogs/panel_sym_editing_options_base.cpp @@ -5,11 +5,11 @@ // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// -#include "panel_libedit_settings_base.h" +#include "panel_sym_editing_options_base.h" /////////////////////////////////////////////////////////////////////////// -PANEL_LIBEDIT_SETTINGS_BASE::PANEL_LIBEDIT_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) +PANEL_SYM_EDITING_OPTIONS_BASE::PANEL_SYM_EDITING_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name ) { wxBoxSizer* p1mainSizer; p1mainSizer = new wxBoxSizer( wxHORIZONTAL ); @@ -172,6 +172,6 @@ PANEL_LIBEDIT_SETTINGS_BASE::PANEL_LIBEDIT_SETTINGS_BASE( wxWindow* parent, wxWi p1mainSizer->Fit( this ); } -PANEL_LIBEDIT_SETTINGS_BASE::~PANEL_LIBEDIT_SETTINGS_BASE() +PANEL_SYM_EDITING_OPTIONS_BASE::~PANEL_SYM_EDITING_OPTIONS_BASE() { } diff --git a/eeschema/dialogs/panel_libedit_settings_base.fbp b/eeschema/dialogs/panel_sym_editing_options_base.fbp similarity index 99% rename from eeschema/dialogs/panel_libedit_settings_base.fbp rename to eeschema/dialogs/panel_sym_editing_options_base.fbp index d0afeabc4e..36117485d2 100644 --- a/eeschema/dialogs/panel_libedit_settings_base.fbp +++ b/eeschema/dialogs/panel_sym_editing_options_base.fbp @@ -11,12 +11,12 @@ res UTF-8 table - panel_libedit_settings_base + panel_sym_editing_options_base 1000 none 1 - PanelLibeditSettingsBase + PanelSymEditingOptionsBase . @@ -41,7 +41,7 @@ wxID_ANY - PANEL_LIBEDIT_SETTINGS_BASE + PANEL_SYM_EDITING_OPTIONS_BASE -1,-1 ; forward_declare diff --git a/eeschema/dialogs/panel_libedit_settings_base.h b/eeschema/dialogs/panel_sym_editing_options_base.h similarity index 83% rename from eeschema/dialogs/panel_libedit_settings_base.h rename to eeschema/dialogs/panel_sym_editing_options_base.h index a0e4d4d003..747f840ef1 100644 --- a/eeschema/dialogs/panel_libedit_settings_base.h +++ b/eeschema/dialogs/panel_sym_editing_options_base.h @@ -28,9 +28,9 @@ /////////////////////////////////////////////////////////////////////////////// -/// Class PANEL_LIBEDIT_SETTINGS_BASE +/// Class PANEL_SYM_EDITING_OPTIONS_BASE /////////////////////////////////////////////////////////////////////////////// -class PANEL_LIBEDIT_SETTINGS_BASE : public wxPanel +class PANEL_SYM_EDITING_OPTIONS_BASE : public wxPanel { private: @@ -65,8 +65,8 @@ class PANEL_LIBEDIT_SETTINGS_BASE : public wxPanel public: - PANEL_LIBEDIT_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); - ~PANEL_LIBEDIT_SETTINGS_BASE(); + PANEL_SYM_EDITING_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString ); + ~PANEL_SYM_EDITING_OPTIONS_BASE(); }; diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index 33cca87890..401106aa93 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -25,10 +25,10 @@ #include #include #include -#include +#include #include -#include -#include +#include +#include #include #include #include @@ -222,7 +222,7 @@ void SCH_EDIT_FRAME::InstallPreferences( PAGED_DIALOG* aParent, book->AddPage( new wxPanel( book ), _( "Eeschema" ) ); book->AddSubPage( new PANEL_EESCHEMA_DISPLAY_OPTIONS( this, book ), _( "Display Options" ) ); - book->AddSubPage( new PANEL_EESCHEMA_SETTINGS( this, book ), _( "Editing Options" ) ); + book->AddSubPage( new PANEL_EESCHEMA_EDITING_OPTIONS( this, book ), _( "Editing Options" ) ); book->AddSubPage( new PANEL_EESCHEMA_COLOR_SETTINGS( this, book ), _( "Colors" ) ); book->AddSubPage( new PANEL_EESCHEMA_TEMPLATE_FIELDNAMES( this, book, true ), _( "Field Name Templates" ) ); @@ -393,8 +393,8 @@ void LIB_EDIT_FRAME::InstallPreferences( PAGED_DIALOG* aParent, book->AddPage( new wxPanel( book ), _( "Symbol Editor" ) ); book->AddSubPage( new PANEL_GAL_DISPLAY_OPTIONS( this, aParent ), _( "Display Options" ) ); - book->AddSubPage( new PANEL_LIBEDIT_SETTINGS( this, book ), _( "Editing Options" ) ); - book->AddSubPage( new PANEL_LIBEDIT_COLOR_SETTINGS( this, book ), _( "Colors" ) ); + book->AddSubPage( new PANEL_SYM_EDITING_OPTIONS( this, book ), _( "Editing Options" ) ); + book->AddSubPage( new PANEL_SYM_COLOR_SETTINGS( this, book ), _( "Colors" ) ); aHotkeysPanel->AddHotKeys( GetToolManager() ); }