22#include <dialogs/dialog_bom_cfg_lexer.h>
39using namespace T_BOMCFG_T;
49 {
"name",
"bom_csv_grouped_extra" },
50 {
"path",
"bom_csv_grouped_extra.py" }
53 {
"name",
"bom_csv_grouped_by_value" },
54 {
"path",
"bom_csv_grouped_by_value.py" }
57 {
"name",
"bom_csv_grouped_by_value_with_fp" },
58 {
"path",
"bom_csv_grouped_by_value_with_fp.py" }
65 static wxAuiPaneInfo paneInfo;
67 paneInfo.Name( wxS(
"NetNavigator" ) )
68 .Caption(
_(
"Net Navigator" ) )
69 .CaptionVisible(
true )
71 .Left().Layer( 3 ).Position( 0 )
73 .BottomDockable(
false )
77 .FloatingSize( 200, 200 )
78 .FloatingPosition( 50, 200 )
87 static wxAuiPaneInfo paneInfo;
90 .Caption(
_(
"Properties" ) )
91 .CaptionVisible(
true )
93 .Left().Layer( 3 ).Position( 2 )
95 .BottomDockable(
false )
97 .MinSize( aWindow->FromDIP( wxSize( 240, 60 ) ) )
98 .BestSize( aWindow->FromDIP( wxSize( 300, 200 ) ) )
99 .FloatingSize( aWindow->FromDIP( wxSize( 300, 400 ) ) )
100 .FloatingPosition( aWindow->FromDIP( wxPoint( 50, 200 ) ) )
109 static wxAuiPaneInfo paneInfo;
111 paneInfo.Name( wxS(
"SelectionFilter" ) )
112 .Caption(
_(
"Selection Filter" ) )
113 .CaptionVisible(
true )
115 .Left().Layer( 3 ).Position( 4 )
116 .TopDockable(
false )
117 .BottomDockable(
false )
120 .MinSize( aWindow->FromDIP( wxSize( 180, -1 ) ) )
121 .BestSize( aWindow->FromDIP( wxSize( 180, -1 ) ) )
130 static wxAuiPaneInfo paneInfo;
133 .Caption(
_(
"Design Blocks" ) )
134 .CaptionVisible(
true )
136 .Right().Layer( 3 ).Position( 2 )
137 .TopDockable(
false )
138 .BottomDockable(
false )
140 .MinSize( aWindow->FromDIP( wxSize( 240, 60 ) ) )
141 .BestSize( aWindow->FromDIP( wxSize( 300, 200 ) ) )
142 .FloatingSize( aWindow->FromDIP( wxSize( 800, 600 ) ) )
143 .FloatingPosition( aWindow->FromDIP( wxPoint( 50, 200 ) ) )
152 static wxAuiPaneInfo paneInfo;
155 .Caption(
_(
"Remote Symbols" ) )
156 .CaptionVisible(
true )
158 .Right().Layer( 3 ).Position( 3 )
159 .TopDockable(
false )
160 .BottomDockable(
false )
162 .MinSize( aWindow->FromDIP( wxSize( 240, 60 ) ) )
163 .BestSize( aWindow->FromDIP( wxSize( 300, 200 ) ) )
164 .FloatingSize( aWindow->FromDIP( wxSize( 800, 600 ) ) )
165 .FloatingPosition( aWindow->FromDIP( wxPoint( 80, 220 ) ) )
237 &
m_Appearance.show_sexpr_file_convert_warning,
true ) );
239 m_params.emplace_back(
new PARAM<bool>(
"appearance.show_sheet_filename_case_sensitivity_dialog",
240 &
m_Appearance.show_sheet_filename_case_sensitivity_dialog,
true ) );
249 &
m_AuiPanels.hierarchy_panel_docked_height, -1 ) );
261 &
m_AuiPanels.design_blocks_panel_docked_width, -1 ) );
264 &
m_AuiPanels.design_blocks_panel_float_width, -1 ) );
267 &
m_AuiPanels.design_blocks_panel_float_height, -1 ) );
273 &
m_AuiPanels.remote_symbol_panel_docked_width, -1 ) );
276 &
m_AuiPanels.remote_symbol_panel_float_width, -1 ) );
279 &
m_AuiPanels.remote_symbol_panel_float_height, -1 ) );
303 &
m_AuiPanels.net_nav_panel_docked_size, wxSize( 120, -1 ) ) );
306 &
m_AuiPanels.net_nav_panel_float_pos, wxPoint( 50, 200 ),
false ) );
309 &
m_AuiPanels.net_nav_panel_float_size, wxSize( 200, 200 ) ) );
312 &
m_AuiPanels.net_nav_search_mode_wildcard,
true ) );
365 &
m_Drawing.default_repeat_offset_x, 0 ) );
368 &
m_Drawing.default_repeat_offset_y, 100 ) );
383 reinterpret_cast<int*
>( &
m_Drawing.arc_edit_mode ),
390 &
m_Drawing.repeat_label_increment, 1 ) );
420 &
m_Input.drag_is_move,
false ) );
423 &
m_Input.allow_unconstrained_pin_swaps,
false ) );
426 &
m_Input.esc_clears_net_highlight,
true ) );
443 m_params.emplace_back(
new PARAM<int>(
"selection.highlight_netclass_colors_thickness",
444 &
m_Selection.highlight_netclass_colors_thickness, 15, 0, 50 ) );
447 &
m_Selection.highlight_netclass_colors_alpha, 0.6, 0, 1 ) );
450 &
m_Selection.drag_net_collision_width, 4, 1, 50 ) );
476 [&](
const nlohmann::json& aObj )
478 if( !aObj.is_array() )
481 const nlohmann::json& list = aObj.empty() ? defaultBomPlugins : aObj;
483 m_BomPanel.plugins = bomSettingsFromJson( list );
489 [&](
const nlohmann::json& aObj )
491 if( !aObj.is_array() )
497 const nlohmann::json& list = aObj;
499 m_NetlistPanel.plugins = netlistSettingsFromJson( list );
578 &
m_Simulator.view.measurements_panel_height, 0 ) );
584 &
m_Simulator.preferences.mouse_wheel_actions.vertical_unmodified,
589 &
m_Simulator.preferences.mouse_wheel_actions.vertical_with_ctrl,
594 &
m_Simulator.preferences.mouse_wheel_actions.vertical_with_shift,
599 &
m_Simulator.preferences.mouse_wheel_actions.vertical_with_alt,
668 if( std::optional<int> optval =
Get<int>(
"lib_tree.column_width" ) )
671 Set(
"lib_tree.column_width", 300 );
693 std::string gridSizePtr =
"window.grid.last_size";
695 if( std::optional<int> currentSize =
Get<int>( gridSizePtr ) )
697 Set( gridSizePtr, *currentSize - 4 );
702 Set( gridSizePtr, 1 );
705 ret &=
fromLegacy<bool>( aCfg,
"FootprintPreview",
"appearance.footprint_preview" );
706 ret &=
fromLegacy<bool>( aCfg,
"NavigatorStaysOpen",
"appearance.navigator_stays_open" );
707 ret &=
fromLegacy<bool>( aCfg,
"PrintSheetReferenceAndTitleBlock",
"appearance.print_sheet_reference" );
708 ret &=
fromLegacy<bool>( aCfg,
"ShowHiddenPins",
"appearance.show_hidden_pins" );
709 ret &=
fromLegacy<bool>( aCfg,
"ShowIllegalSymbolLibDialog",
"appearance.show_illegal_symbol_lib_dialog" );
710 ret &=
fromLegacy<bool>( aCfg,
"ShowPageLimits",
"appearance.show_page_limits" );
711 ret &=
fromLegacy<bool>( aCfg,
"ShowSheetFileNameCaseSensitivityDlg",
"appearance.show_sheet_filename_case_sensitivity_dialog" );
713 ret &=
fromLegacy<bool>( aCfg,
"AutoplaceFields",
"autoplace_fields.enable" );
714 ret &=
fromLegacy<bool>( aCfg,
"AutoplaceJustify",
"autoplace_fields.allow_rejustify" );
715 ret &=
fromLegacy<bool>( aCfg,
"AutoplaceAlign",
"autoplace_fields.align_to_grid" );
717 ret &=
fromLegacy<int>( aCfg,
"DefaultBusWidth",
"drawing.default_bus_thickness" );
718 ret &=
fromLegacy<int>( aCfg,
"DefaultJunctionSize",
"drawing.default_junction_size" );
719 ret &=
fromLegacy<int>( aCfg,
"DefaultDrawLineWidth",
"drawing.default_line_thickness" );
720 ret &=
fromLegacy<int>( aCfg,
"RepeatStepX",
"drawing.default_repeat_offset_x" );
721 ret &=
fromLegacy<int>( aCfg,
"RepeatStepY",
"drawing.default_repeat_offset_y" );
722 ret &=
fromLegacy<int>( aCfg,
"DefaultWireWidth",
"drawing.default_wire_thickness" );
725 ret &=
fromLegacy<int>( aCfg,
"RepeatLabelIncrement",
"drawing.repeat_label_increment" );
729 ret &=
fromLegacy<int>( aCfg,
"SelectionThickness",
"selection.thickness" );
730 ret &=
fromLegacy<bool>( aCfg,
"SelectionDrawChildItems",
"selection.draw_selected_children" );
731 ret &=
fromLegacy<bool>( aCfg,
"SelectionFillShapes",
"selection.fill_shapes" );
732 ret &=
fromLegacy<bool>( aCfg,
"SelectPinSelectSymbolOpt",
"selection.select_pin_selects_symbol" );
734 ret &=
fromLegacy<int>( aCfg,
"AnnotateFilterMsg",
"annotation.messages_filter" );
736 ret &=
fromLegacyString( aCfg,
"bom_plugin_selected",
"bom.selected_plugin" );
741 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportRevision",
"page_settings.export_revision" );
742 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportDate",
"page_settings.export_date" );
743 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportTitle",
"page_settings.export_title" );
744 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportCompany",
"page_settings.export_company" );
745 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment1",
"page_settings.export_comment1" );
746 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment2",
"page_settings.export_comment2" );
747 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment3",
"page_settings.export_comment3" );
748 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment4",
"page_settings.export_comment4" );
749 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment5",
"page_settings.export_comment5" );
750 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment6",
"page_settings.export_comment6" );
751 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment7",
"page_settings.export_comment7" );
752 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment8",
"page_settings.export_comment8" );
753 ret &=
fromLegacy<bool>( aCfg,
"PageSettingsExportComment9",
"page_settings.export_comment9" );
757 constexpr int max_custom_commands = 8;
758 nlohmann::json js_cmd = nlohmann::json::array();
759 nlohmann::json js_title = nlohmann::json::array();
760 wxString cmd_key, title_key, cmd, title;
762 for(
int i = 1; i <= max_custom_commands; ++i )
765 cmd_key.Printf(
"CustomNetlistCommand%d", i );
766 title_key.Printf(
"CustomNetlistTitle%d", i );
768 if( aCfg->Read( cmd_key, &cmd ) && aCfg->Read( title_key, &title )
769 && !cmd.IsEmpty() && !title.IsEmpty() )
771 js_cmd.push_back( cmd.ToUTF8() );
772 js_title.push_back( title.ToUTF8() );
776 Set(
"netlist.custom_command_titles", js_title );
777 Set(
"netlist.custom_command_paths", js_cmd );
786 aCfg->SetPath(
"SymbolFieldEditor/Show/" );
788 nlohmann::json js = nlohmann::json( {} );
793 while( aCfg->GetNextEntry( key,
index ) )
795 if( aCfg->Read( key, &value ) )
797 std::string key_utf( key.ToUTF8() );
801 js[ std::move( key_utf ) ] = value;
810 Set(
"field_editor.fields_show", js );
812 aCfg->SetPath(
"../GroupBy" );
814 while( aCfg->GetNextEntry( key,
index ) )
816 if( aCfg->Read( key, &value ) )
818 std::string key_utf( key.ToUTF8() );
822 js[ std::move( key_utf ) ] = value;
831 Set(
"field_editor.fields_group_by", js );
833 aCfg->SetPath(
"../.." );
840 ret &=
fromLegacy<int>( aCfg,
"SIM_PLOT_FRAMEPos_x",
"simulator.window.pos_x" );
841 ret &=
fromLegacy<int>( aCfg,
"SIM_PLOT_FRAMEPos_y",
"simulator.window.pos_y" );
842 ret &=
fromLegacy<int>( aCfg,
"SIM_PLOT_FRAMESize_x",
"simulator.window.size_x" );
843 ret &=
fromLegacy<int>( aCfg,
"SIM_PLOT_FRAMESize_y",
"simulator.window.size_y" );
844 ret &=
fromLegacy<bool>( aCfg,
"SIM_PLOT_FRAMEMaximized",
"simulator.window.maximized" );
845 ret &=
fromLegacyString( aCfg,
"SIM_PLOT_FRAMEPerspective",
"simulator.window.perspective" );
846 ret &=
fromLegacyString( aCfg,
"SIM_PLOT_FRAMEMostRecentlyUsedPath",
"simulator.mru_path" );
847 ret &=
fromLegacy<int>( aCfg,
"SimPlotPanelWidth",
"simulator.plot_panel_width" );
848 ret &=
fromLegacy<int>( aCfg,
"SimPlotPanelHeight",
"simulator.plot_panel_height" );
849 ret &=
fromLegacy<int>( aCfg,
"SimSignalPanelHeight",
"simulator.signal_panel_height" );
850 ret &=
fromLegacy<int>( aCfg,
"SimCursorsPanelHeight",
"simulator.cursors_panel_height" );
851 ret &=
fromLegacy<bool>( aCfg,
"SimPlotWhiteBg",
"simulator.white_background" );
853 ret &=
fromLegacy<int>( aCfg,
"SymbolChooserHSashPosition",
"symbol_chooser.sash_pos_h" );
854 ret &=
fromLegacy<int>( aCfg,
"SymbolChooserVSashPosition",
"symbol_chooser.sash_pos_v" );
855 ret &=
fromLegacy<int>( aCfg,
"SymbolChooserWidth",
"symbol_chooser.width" );
856 ret &=
fromLegacy<int>( aCfg,
"SymbolChooserHeight",
"symbol_chooser.height" );
858 const std::string vlf =
"ViewlibFrame";
859 ret &=
fromLegacy<bool>( aCfg, vlf +
"Maximized",
"lib_view.window.maximized" );
860 ret &=
fromLegacyString( aCfg, vlf +
"MostRecentlyUsedPath",
"lib_view.window.mru_path" );
861 ret &=
fromLegacy<int>( aCfg, vlf +
"Size_x",
"lib_view.window.size_x" );
862 ret &=
fromLegacy<int>( aCfg, vlf +
"Size_y",
"lib_view.window.size_y" );
863 ret &=
fromLegacyString( aCfg, vlf +
"Perspective",
"lib_view.window.perspective" );
864 ret &=
fromLegacy<int>( aCfg, vlf +
"Pos_x",
"lib_view.window.pos_x" );
865 ret &=
fromLegacy<int>( aCfg, vlf +
"Pos_y",
"lib_view.window.pos_y" );
866 ret &=
fromLegacy<int>( aCfg,
"ViewLiblistWidth",
"lib_view.lib_list_width" );
867 ret &=
fromLegacy<int>( aCfg,
"ViewCmplistWidth",
"lib_view.cmp_list_width" );
869 "ViewCmpShowPinElectricalType",
"lib_view.show_pin_electrical_type" );
871 ret &=
fromLegacy<int>( aCfg, vlf +
"_LastGridSize",
"lib_view.grid.last_size" );
873 ret &=
fromLegacy<bool>( aCfg,
"RescueNeverShow",
"system.never_show_rescue_dialog" );
878 if( aCfg->Read(
"MoveWarpsCursor", &tmp ) )
884 auto migrateLegacyColor =
885 [&] (
const std::string& aKey,
int aLayerId )
889 if( aCfg->Read( aKey, &str ) )
897 migrateLegacyColor(
"Color4DBusEx",
LAYER_BUS );
909 migrateLegacyColor(
"Color4DNoteEx",
LAYER_NOTES );
910 migrateLegacyColor(
"Color4DPinEx",
LAYER_PIN );
915 migrateLegacyColor(
"Color4DSheetEx",
LAYER_SHEET );
920 migrateLegacyColor(
"Color4DWireEx",
LAYER_WIRE );
932 sym_edit_cfg->MigrateFromLegacy( aCfg );
933 sym_edit_cfg->Load();
949 BOM_CFG_PARSER( std::vector<EESCHEMA_SETTINGS::BOM_PLUGIN_SETTINGS>* aPluginList,
950 const char* aData,
const wxString& aSource );
992 nlohmann::json js = nlohmann::json::array();
996 nlohmann::json pluginJson;
998 pluginJson[
"name"] = plugin.
name.ToUTF8();
999 pluginJson[
"path"] = plugin.
path.ToUTF8();
1000 pluginJson[
"command"] = plugin.
command.ToUTF8();
1002 js.push_back( pluginJson );
1010 const nlohmann::json& aObj )
1012 std::vector<EESCHEMA_SETTINGS::BOM_PLUGIN_SETTINGS> ret;
1014 wxASSERT( aObj.is_array() );
1016 for(
const nlohmann::json& entry : aObj )
1018 if( entry.empty() || !entry.is_object() )
1021 if( !entry.contains(
"name" ) || !entry.contains(
"path" ) )
1025 entry.at(
"path" ).get<wxString>() );
1027 if( entry.contains(
"command" ) )
1028 plugin.
command = entry.at(
"command" ).get<wxString>();
1030 ret.emplace_back( plugin );
1039 nlohmann::json js = nlohmann::json::array();
1043 nlohmann::json pluginJson;
1045 pluginJson[
"name"] = plugin.
name.ToUTF8();
1046 pluginJson[
"path"] = plugin.
path.ToUTF8();
1047 pluginJson[
"command"] = plugin.
command.ToUTF8();
1049 js.push_back( pluginJson );
1057 const nlohmann::json& aObj )
1059 std::vector<EESCHEMA_SETTINGS::NETLIST_PLUGIN_SETTINGS> ret;
1061 wxASSERT( aObj.is_array() );
1063 for(
const nlohmann::json& entry : aObj )
1065 if( entry.empty() || !entry.is_object() )
1068 if( !entry.contains(
"name" ) || !entry.contains(
"path" ) )
1072 entry.at(
"path" ).get<wxString>() );
1074 if( entry.contains(
"command" ) )
1075 plugin.
command = entry.at(
"command" ).get<wxString>();
1077 ret.emplace_back( plugin );
1085 const char* aLine,
const wxString& aSource ) :
1086 DIALOG_BOM_CFG_LEXER( aLine, aSource )
1088 wxASSERT( aPluginList );
1097 while( ( token = NextTok() ) != T_RIGHT )
1102 if( token == T_LEFT )
1105 if( token == T_plugins )
1127 NeedSYMBOLorNUMBER();
1128 settings.
path = FromUTF8();
1132 while( ( token = NextTok() ) != T_RIGHT )
1143 NeedSYMBOLorNUMBER();
1145 settings.
command = FromUTF8();
1152 NeedSYMBOLorNUMBER();
1154 wxString option = FromUTF8();
1156 if( option.StartsWith( wxS(
"nickname=" ), &str ) )
1157 settings.
name = str;
1164 Unexpected( CurText() );
@ KEEP_CENTER_ADJUST_ANGLE_RADIUS
When editing endpoints, the angle and radius are adjusted.
APP_SETTINGS_BASE(const std::string &aFilename, int aSchemaVersion)
void addParamsForWindow(WINDOW_SETTINGS *aWindow, const std::string &aJsonPath, int aDefaultWidth=0, int aDefaultHeight=0)
Add parameters for the given window object.
virtual bool MigrateFromLegacy(wxConfigBase *aCfg) override
Migrates from wxConfig to JSON-based configuration.
bool migrateLibTreeWidth()
Migrate the library tree width setting from a single column (Item) to multi-column.
Used for parsing legacy-format bom plugin configurations.
BOM_CFG_PARSER(std::vector< EESCHEMA_SETTINGS::BOM_PLUGIN_SETTINGS > *aPluginList, const char *aData, const wxString &aSource)
std::vector< EESCHEMA_SETTINGS::BOM_PLUGIN_SETTINGS > * m_pluginList
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
Color settings are a bit different than most of the settings objects in that there can be more than o...
void SetColor(int aLayer, const COLOR4D &aColor)
static const wxString PropertiesPaneName()
static const wxString RemoteSymbolPaneName()
static const wxString DesignBlocksPaneName()
PANEL_ANNOTATE m_AnnotatePanel
static std::vector< BOM_PLUGIN_SETTINGS > DefaultBomPlugins()
bool migrateBomSettings()
PANEL_NETLIST m_NetlistPanel
nlohmann::json bomSettingsToJson() const
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
DIALOG_CHANGE_SYMBOLS m_ChangeSymbols
nlohmann::json netlistSettingsToJson() const
PANEL_SYM_CHOOSER m_SymChooserPanel
PAGE_SETTINGS m_PageSettings
static std::vector< BOM_PLUGIN_SETTINGS > bomSettingsFromJson(const nlohmann::json &aObj)
REMOTE_PROVIDER_SETTINGS m_RemoteSymbol
FIND_REPLACE_EXTRA m_FindReplaceExtra
wxString m_lastSymbolLibDir
PANEL_LIB_VIEW m_LibViewPanel
AUTOPLACE_FIELDS m_AutoplaceFields
static std::vector< NETLIST_PLUGIN_SETTINGS > netlistSettingsFromJson(const nlohmann::json &aObj)
PANEL_SYMBOL_FIELDS_TABLE m_FieldEditorPanel
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
bool fromLegacyString(wxConfigBase *aConfig, const std::string &aKey, const std::string &aDest)
Translates a legacy wxConfig string value to a given JSON pointer value.
bool fromLegacy(wxConfigBase *aConfig, const std::string &aKey, const std::string &aDest)
Translates a legacy wxConfig value to a given JSON pointer value.
void Set(const std::string &aPath, ValueType aVal)
Stores a value into the JSON document Will throw an exception if ValueType isn't something that the l...
bool Contains(const std::string &aPath) const
std::optional< ValueType > Get(const std::string &aPath) const
Fetches a value from within the JSON document.
std::vector< PARAM_BASE * > m_params
The list of parameters (owned by this object)
void registerMigration(int aOldSchemaVersion, int aNewSchemaVersion, std::function< bool(void)> aMigrator)
Registers a migration from one schema version to another.
nlohmann::json & At(const std::string &aPath)
Wrappers for the underlying JSON API so that most consumers don't need json.hpp All of these function...
wxString GetFilename() const
A color representation with 4 components: red, green, blue, alpha.
Stores an enum as an integer.
Like a normal param, but with custom getter and setter functions.
Represents a map of <std::string, Value>.
virtual COMMON_SETTINGS * GetCommonSettings() const
virtual SETTINGS_MANAGER & GetSettingsManager() const
void SaveColorSettings(COLOR_SETTINGS *aSettings, const std::string &aNamespace="")
Safely save a COLOR_SETTINGS to disk, preserving any changes outside the given namespace.
COLOR_SETTINGS * GetMigratedColorSettings()
Return a color theme for storing colors migrated from legacy (5.x and earlier) settings,...
#define DEFAULT_BUS_WIDTH_MILS
The default noconnect size in mils.
#define DEFAULT_JUNCTION_DIAM
The default bus and wire entry size in mils.
#define DEFAULT_WIRE_WIDTH_MILS
The default bus width in mils. (can be changed in preference menu)
#define DEFAULT_LINE_WIDTH_MILS
The default wire width in mils. (can be changed in preference menu)
#define DEFAULT_TEXT_SIZE
Ratio of the font height to the baseline of the text above the wire.
const nlohmann::json defaultBomPlugins
Default value for bom.plugins.
const wxAuiPaneInfo & defaultSchSelectionFilterPaneInfo(wxWindow *aWindow)
const wxAuiPaneInfo & defaultPropertiesPaneInfo(wxWindow *aWindow)
const wxAuiPaneInfo & defaultNetNavigatorPaneInfo()
const int eeschemaSchemaVersion
Update the schema version whenever a migration is required.
const wxAuiPaneInfo & defaultDesignBlocksPaneInfo(wxWindow *aWindow)
const wxAuiPaneInfo & defaultRemoteSymbolPaneInfo(wxWindow *aWindow)
@ LAYER_DEVICE_BACKGROUND
@ LAYER_SCHEMATIC_DRAWINGSHEET
@ LAYER_SELECTION_SHADOWS
@ LAYER_SCHEMATIC_BACKGROUND
PGM_BASE & Pgm()
The global program "get" accessor.
T * GetAppSettings(const char *aFilename)
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.
static wxString DefaultLibraryPrefix()
static wxString DefaultDestinationDir()
Functions to provide common constants and other functions to assist in making a consistent UI.