Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
bfdc13df
Commit
bfdc13df
authored
Oct 08, 2014
by
Mark Roszko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update footprint property editor (activated from board editor) to use "Footprint".
parent
08f00517
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
dialog_edit_module_for_BoardEditor_base.cpp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
+3
-3
dialog_edit_module_for_BoardEditor_base.fbp
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
+5
-5
dialog_edit_module_for_BoardEditor_base.h
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.h
+2
-2
No files found.
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.cpp
View file @
bfdc13df
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Nov 6 2013
)
// C++ code generated with wxFormBuilder (version
Jun 6 2014
)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -128,10 +128,10 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
...
@@ -128,10 +128,10 @@ DIALOG_MODULE_BOARD_EDITOR_BASE::DIALOG_MODULE_BOARD_EDITOR_BASE( wxWindow* pare
m_PropRightSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
m_PropRightSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
m_buttonExchange
=
new
wxButton
(
m_PanelProperties
,
ID_MODULE_PROPERTIES_EXCHANGE
,
_
(
"Change
Module
(s)"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_buttonExchange
=
new
wxButton
(
m_PanelProperties
,
ID_MODULE_PROPERTIES_EXCHANGE
,
_
(
"Change
Footprint
(s)"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_PropRightSizer
->
Add
(
m_buttonExchange
,
0
,
wxALL
|
wxALIGN_CENTER_HORIZONTAL
|
wxEXPAND
,
5
);
m_PropRightSizer
->
Add
(
m_buttonExchange
,
0
,
wxALL
|
wxALIGN_CENTER_HORIZONTAL
|
wxEXPAND
,
5
);
m_buttonModuleEditor
=
new
wxButton
(
m_PanelProperties
,
ID_GOTO_MODULE_EDITOR
,
_
(
"
Module
Editor"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_buttonModuleEditor
=
new
wxButton
(
m_PanelProperties
,
ID_GOTO_MODULE_EDITOR
,
_
(
"
Footprint
Editor"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_PropRightSizer
->
Add
(
m_buttonModuleEditor
,
0
,
wxALL
|
wxALIGN_CENTER_HORIZONTAL
|
wxEXPAND
,
5
);
m_PropRightSizer
->
Add
(
m_buttonModuleEditor
,
0
,
wxALL
|
wxALIGN_CENTER_HORIZONTAL
|
wxEXPAND
,
5
);
wxBoxSizer
*
bSizerAttrib
;
wxBoxSizer
*
bSizerAttrib
;
...
...
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.fbp
View file @
bfdc13df
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wxFormBuilder_Project>
<wxFormBuilder_Project>
<FileVersion
major=
"1"
minor=
"1
1
"
/>
<FileVersion
major=
"1"
minor=
"1
3
"
/>
<object
class=
"Project"
expanded=
"1"
>
<object
class=
"Project"
expanded=
"1"
>
<property
name=
"class_decoration"
></property>
<property
name=
"class_decoration"
></property>
<property
name=
"code_generation"
>
C++
</property>
<property
name=
"code_generation"
>
C++
</property>
...
@@ -44,10 +44,10 @@
...
@@ -44,10 +44,10 @@
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
DIALOG_MODULE_BOARD_EDITOR_BASE
</property>
<property
name=
"name"
>
DIALOG_MODULE_BOARD_EDITOR_BASE
</property>
<property
name=
"pos"
></property>
<property
name=
"pos"
></property>
<property
name=
"size"
>
499,
591
</property>
<property
name=
"size"
>
499,
630
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER
</property>
<property
name=
"subclass"
>
DIALOG_SHIM; dialog_shim.h
</property>
<property
name=
"subclass"
>
DIALOG_SHIM; dialog_shim.h
</property>
<property
name=
"title"
>
Module
Properties
</property>
<property
name=
"title"
>
Footprint
Properties
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_name"
></property>
...
@@ -2000,7 +2000,7 @@
...
@@ -2000,7 +2000,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
ID_MODULE_PROPERTIES_EXCHANGE
</property>
<property
name=
"id"
>
ID_MODULE_PROPERTIES_EXCHANGE
</property>
<property
name=
"label"
>
Change
Module
(s)
</property>
<property
name=
"label"
>
Change
Footprint
(s)
</property>
<property
name=
"max_size"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maximum_size"
></property>
...
@@ -2088,7 +2088,7 @@
...
@@ -2088,7 +2088,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
ID_GOTO_MODULE_EDITOR
</property>
<property
name=
"id"
>
ID_GOTO_MODULE_EDITOR
</property>
<property
name=
"label"
>
Module
Editor
</property>
<property
name=
"label"
>
Footprint
Editor
</property>
<property
name=
"max_size"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maximum_size"
></property>
...
...
pcbnew/dialogs/dialog_edit_module_for_BoardEditor_base.h
View file @
bfdc13df
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Nov 6 2013
)
// C++ code generated with wxFormBuilder (version
Jun 6 2014
)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -138,7 +138,7 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
...
@@ -138,7 +138,7 @@ class DIALOG_MODULE_BOARD_EDITOR_BASE : public DIALOG_SHIM
public
:
public
:
wxStaticBoxSizer
*
m_Sizer3DValues
;
wxStaticBoxSizer
*
m_Sizer3DValues
;
DIALOG_MODULE_BOARD_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"
Module Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
499
,
591
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_MODULE_BOARD_EDITOR_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"
Footprint Properties"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
499
,
630
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_MODULE_BOARD_EDITOR_BASE
();
~
DIALOG_MODULE_BOARD_EDITOR_BASE
();
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment