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
760d02e4
Commit
760d02e4
authored
Dec 14, 2012
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kicad manager: shows *.kicad_pcb files the project tree.
parent
a564d2f8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
113 deletions
+100
-113
tree_project_frame.cpp
kicad/tree_project_frame.cpp
+1
-1
dialog_pad_properties_base.cpp
pcbnew/dialogs/dialog_pad_properties_base.cpp
+20
-23
dialog_pad_properties_base.fbp
pcbnew/dialogs/dialog_pad_properties_base.fbp
+77
-87
dialog_pad_properties_base.h
pcbnew/dialogs/dialog_pad_properties_base.h
+2
-2
No files found.
kicad/tree_project_frame.cpp
View file @
760d02e4
...
...
@@ -65,7 +65,7 @@ static const wxChar* s_allowedExtensionsToList[] =
wxT
(
"^.*
\\
.pro$"
),
wxT
(
"^.*
\\
.pdf$"
),
wxT
(
"^[^$].*
\\
.brd$"
),
// Legacy Pcbnew files
wxT
(
"^[^$].*
\\
.kicad_
brd
$"
),
// S format Pcbnew files
wxT
(
"^[^$].*
\\
.kicad_
pcb
$"
),
// S format Pcbnew files
wxT
(
"^.*
\\
.net$"
),
wxT
(
"^.*
\\
.txt$"
),
wxT
(
"^.*
\\
.pho$"
),
// Gerber file (Kicad extension)
...
...
pcbnew/dialogs/dialog_pad_properties_base.cpp
View file @
760d02e4
...
...
@@ -28,7 +28,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_LeftBoxSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxFlexGridSizer
*
fgSizerPadType
;
fgSizerPadType
=
new
wxFlexGridSizer
(
0
,
2
,
0
,
0
);
fgSizerPadType
=
new
wxFlexGridSizer
(
4
,
2
,
0
,
0
);
fgSizerPadType
->
AddGrowableCol
(
1
);
fgSizerPadType
->
SetFlexibleDirection
(
wxBOTH
);
fgSizerPadType
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
...
...
@@ -49,19 +49,29 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_staticText44
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Pad type:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText44
->
Wrap
(
-
1
);
fgSizerPadType
->
Add
(
m_staticText44
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
BOTTOM
|
wx
RIGHT
|
wxLEFT
,
5
);
fgSizerPadType
->
Add
(
m_staticText44
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
wxString
m_PadTypeChoices
[]
=
{
_
(
"Through-hole"
),
_
(
"SMD"
),
_
(
"Connector"
),
_
(
"NPTH, Mechanical"
)
};
int
m_PadTypeNChoices
=
sizeof
(
m_PadTypeChoices
)
/
sizeof
(
wxString
);
m_PadType
=
new
wxChoice
(
m_panelGeneral
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_PadTypeNChoices
,
m_PadTypeChoices
,
0
);
m_PadType
->
SetSelection
(
0
);
fgSizerPadType
->
Add
(
m_PadType
,
0
,
wxEXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
fgSizerPadType
->
Add
(
m_PadType
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_staticText45
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Shape:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText45
->
Wrap
(
-
1
);
fgSizerPadType
->
Add
(
m_staticText45
,
0
,
wxRIGHT
|
wxLEFT
|
wxALIGN_CENTER_VERTICAL
,
5
);
wxString
m_PadShapeChoices
[]
=
{
_
(
"Circular"
),
_
(
"Oval"
),
_
(
"Rectangular"
),
_
(
"Trapezoidal"
)
};
int
m_PadShapeNChoices
=
sizeof
(
m_PadShapeChoices
)
/
sizeof
(
wxString
);
m_PadShape
=
new
wxChoice
(
m_panelGeneral
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_PadShapeNChoices
,
m_PadShapeChoices
,
0
);
m_PadShape
->
SetSelection
(
0
);
fgSizerPadType
->
Add
(
m_PadShape
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
m_LeftBoxSizer
->
Add
(
fgSizerPadType
,
0
,
wxEXPAND
|
wxTOP
|
wxRIGHT
|
wxLEFT
,
5
);
wxFlexGridSizer
*
fgSizerShapeType
;
fgSizerShapeType
=
new
wxFlexGridSizer
(
0
,
3
,
0
,
0
);
fgSizerShapeType
=
new
wxFlexGridSizer
(
11
,
3
,
0
,
0
);
fgSizerShapeType
->
AddGrowableCol
(
1
);
fgSizerShapeType
->
SetFlexibleDirection
(
wxBOTH
);
fgSizerShapeType
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
...
...
@@ -88,19 +98,6 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_PadPosY_Unit
->
Wrap
(
-
1
);
fgSizerShapeType
->
Add
(
m_PadPosY_Unit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
m_staticText45
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Shape:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText45
->
Wrap
(
-
1
);
fgSizerShapeType
->
Add
(
m_staticText45
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
wxString
m_PadShapeChoices
[]
=
{
_
(
"Circular"
),
_
(
"Oval"
),
_
(
"Rectangular"
),
_
(
"Trapezoidal"
)
};
int
m_PadShapeNChoices
=
sizeof
(
m_PadShapeChoices
)
/
sizeof
(
wxString
);
m_PadShape
=
new
wxChoice
(
m_panelGeneral
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_PadShapeNChoices
,
m_PadShapeChoices
,
0
);
m_PadShape
->
SetSelection
(
0
);
fgSizerShapeType
->
Add
(
m_PadShape
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
fgSizerShapeType
->
Add
(
0
,
0
,
0
,
wxEXPAND
,
5
);
m_staticText12
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Size X:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText12
->
Wrap
(
-
1
);
fgSizerShapeType
->
Add
(
m_staticText12
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxLEFT
,
5
);
...
...
@@ -117,7 +114,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
fgSizerShapeType
->
Add
(
m_staticText15
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxLEFT
,
5
);
m_ShapeSize_Y_Ctrl
=
new
wxTextCtrl
(
m_panelGeneral
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizerShapeType
->
Add
(
m_ShapeSize_Y_Ctrl
,
0
,
wxEXPAND
|
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
fgSizerShapeType
->
Add
(
m_ShapeSize_Y_Ctrl
,
0
,
wxEXPAND
|
wxALIGN_CENTER_VERTICAL
|
wx
BOTTOM
|
wx
RIGHT
|
wxLEFT
,
5
);
m_PadShapeSizeY_Unit
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Inch"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_PadShapeSizeY_Unit
->
Wrap
(
-
1
);
...
...
@@ -130,7 +127,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
wxString
m_PadOrientChoices
[]
=
{
_
(
"0"
),
_
(
"90"
),
_
(
"-90"
),
_
(
"180"
),
_
(
"Custom"
)
};
int
m_PadOrientNChoices
=
sizeof
(
m_PadOrientChoices
)
/
sizeof
(
wxString
);
m_PadOrient
=
new
wxChoice
(
m_panelGeneral
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_PadOrientNChoices
,
m_PadOrientChoices
,
0
);
m_PadOrient
->
SetSelection
(
0
);
m_PadOrient
->
SetSelection
(
4
);
fgSizerShapeType
->
Add
(
m_PadOrient
,
0
,
wxEXPAND
|
wxALIGN_CENTER_VERTICAL
|
wxTOP
|
wxRIGHT
|
wxLEFT
,
5
);
m_staticText491
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"deg"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
...
...
@@ -142,7 +139,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
fgSizerShapeType
->
Add
(
m_PadOrientText
,
0
,
wxTOP
|
wxRIGHT
|
wxLEFT
|
wxALIGN_CENTER_VERTICAL
,
5
);
m_PadOrientCtrl
=
new
wxTextCtrl
(
m_panelGeneral
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizerShapeType
->
Add
(
m_PadOrientCtrl
,
0
,
wxEXPAND
|
wx
TOP
|
wxRIGHT
|
wxLEFT
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizerShapeType
->
Add
(
m_PadOrientCtrl
,
0
,
wxEXPAND
|
wx
ALIGN_CENTER_VERTICAL
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
m_customOrientUnits
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"0.1 deg"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_customOrientUnits
->
Wrap
(
-
1
);
...
...
@@ -174,10 +171,10 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_staticText38
->
Wrap
(
-
1
);
m_staticText38
->
SetToolTip
(
_
(
"Wire length from pad to die on chip ( used to calculate actual track length)"
)
);
fgSizerShapeType
->
Add
(
m_staticText38
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wx
LEFT
,
5
);
fgSizerShapeType
->
Add
(
m_staticText38
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxLEFT
,
5
);
m_LengthPadToDieCtrl
=
new
wxTextCtrl
(
m_panelGeneral
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizerShapeType
->
Add
(
m_LengthPadToDieCtrl
,
0
,
wxEXPAND
|
wx
TOP
|
wxRIGHT
|
wxLEFT
,
5
);
fgSizerShapeType
->
Add
(
m_LengthPadToDieCtrl
,
0
,
wxEXPAND
|
wx
ALL
,
5
);
m_PadLengthDie_Unit
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Inch"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_PadLengthDie_Unit
->
Wrap
(
-
1
);
...
...
@@ -239,7 +236,7 @@ DIALOG_PAD_PROPERTIES_BASE::DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWind
m_staticModuleRotValue
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"0"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticModuleRotValue
->
Wrap
(
-
1
);
fgSizer4
->
Add
(
m_staticModuleRotValue
,
0
,
wx
TOP
|
wxRIGHT
|
wxLEFT
|
wxEXPAND
,
5
);
fgSizer4
->
Add
(
m_staticModuleRotValue
,
0
,
wx
EXPAND
|
wxTOP
|
wxRIGHT
|
wxLEFT
,
5
);
m_staticTitleModuleSide
=
new
wxStaticText
(
m_panelGeneral
,
wxID_ANY
,
_
(
"Board side:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticTitleModuleSide
->
Wrap
(
-
1
);
...
...
pcbnew/dialogs/dialog_pad_properties_base.fbp
View file @
760d02e4
...
...
@@ -288,7 +288,7 @@
<property
name=
"name"
>
fgSizerPadType
</property>
<property
name=
"non_flexible_grow_mode"
>
wxFLEX_GROWMODE_SPECIFIED
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"rows"
>
0
</property>
<property
name=
"rows"
>
4
</property>
<property
name=
"vgap"
>
0
</property>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
...
...
@@ -640,7 +640,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
BOTTOM|wx
RIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -723,7 +723,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wx
BOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wxEXPAND|wx
ALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxChoice"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -809,27 +809,9 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"0"
>
<property
name=
"cols"
>
3
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"growablecols"
>
1
</property>
<property
name=
"growablerows"
></property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
fgSizerShapeType
</property>
<property
name=
"non_flexible_grow_mode"
>
wxFLEX_GROWMODE_SPECIFIED
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"rows"
>
0
</property>
<property
name=
"vgap"
>
0
</property>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT
</property>
<property
name=
"flag"
>
wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -859,7 +841,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Position X
:
</property>
<property
name=
"label"
>
Shape
:
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -867,7 +849,7 @@
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_staticText4
</property>
<property
name=
"name"
>
m_staticText4
5
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -912,9 +894,9 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
TOP|wxRIGHT|wxLEFT|wxEXPAND|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wx
ALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wx
TextCtrl
"
expanded=
"0"
>
<object
class=
"wx
Choice
"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -928,6 +910,7 @@
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"choices"
>
"
Circular
"
"
Oval
"
"
Rectangular
"
"
Trapezoidal
"
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
...
...
@@ -945,12 +928,11 @@
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maxlength"
>
0
</property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_Pad
Position_X_Ctrl
</property>
<property
name=
"name"
>
m_Pad
Shape
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -958,6 +940,7 @@
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"selection"
>
0
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
...
...
@@ -968,11 +951,11 @@
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnChoice"
>
OnPadShapeSelection
</event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
...
...
@@ -994,16 +977,30 @@
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnText"
></event>
<event
name=
"OnTextEnter"
></event>
<event
name=
"OnTextMaxLen"
></event>
<event
name=
"OnTextURL"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"flag"
>
wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"0"
>
<property
name=
"cols"
>
3
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"growablecols"
>
1
</property>
<property
name=
"growablerows"
></property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
fgSizerShapeType
</property>
<property
name=
"non_flexible_grow_mode"
>
wxFLEX_GROWMODE_SPECIFIED
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"rows"
>
11
</property>
<property
name=
"vgap"
>
0
</property>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -1033,7 +1030,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Inch
</property>
<property
name=
"label"
>
Position X:
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -1041,7 +1038,7 @@
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_
PadPosX_Unit
</property>
<property
name=
"name"
>
m_
staticText4
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1086,9 +1083,9 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
ALIGN_CENTER_VERTICAL|wxLEFT
</property>
<property
name=
"flag"
>
wx
TOP|wxRIGHT|wxLEFT|wxEXPAND|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wx
StaticText
"
expanded=
"0"
>
<object
class=
"wx
TextCtrl
"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1116,15 +1113,15 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Position Y:
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maxlength"
>
0
</property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_
staticText41
</property>
<property
name=
"name"
>
m_
PadPosition_X_Ctrl
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1138,10 +1135,14 @@
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
...
...
@@ -1164,14 +1165,18 @@
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnText"
></event>
<event
name=
"OnTextEnter"
></event>
<event
name=
"OnTextMaxLen"
></event>
<event
name=
"OnTextURL"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
EXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEF
T
</property>
<property
name=
"flag"
>
wx
ALIGN_CENTER_VERTICAL|wxRIGH
T
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wx
TextCtrl
"
expanded=
"0"
>
<object
class=
"wx
StaticText
"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1199,15 +1204,15 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Inch
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maxlength"
>
0
</property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_PadPos
ition_Y_Ctrl
</property>
<property
name=
"name"
>
m_PadPos
X_Unit
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1221,14 +1226,10 @@
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
...
...
@@ -1251,16 +1252,12 @@
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnText"
></event>
<event
name=
"OnTextEnter"
></event>
<event
name=
"OnTextMaxLen"
></event>
<event
name=
"OnTextURL"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
RIGH
T
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
LEF
T
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -1290,7 +1287,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Inch
</property>
<property
name=
"label"
>
Position Y:
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -1298,7 +1295,7 @@
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_
PadPosY_Unit
</property>
<property
name=
"name"
>
m_
staticText41
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1343,9 +1340,9 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
ALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wx
EXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wx
StaticText
"
expanded=
"0"
>
<object
class=
"wx
TextCtrl
"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1373,15 +1370,15 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Shape:
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maxlength"
>
0
</property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_
staticText45
</property>
<property
name=
"name"
>
m_
PadPosition_Y_Ctrl
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1395,10 +1392,14 @@
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
...
...
@@ -1421,14 +1422,18 @@
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnText"
></event>
<event
name=
"OnTextEnter"
></event>
<event
name=
"OnTextMaxLen"
></event>
<event
name=
"OnTextURL"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL|wxEXPAND
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wx
Choice
"
expanded=
"0"
>
<object
class=
"wx
StaticText
"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
...
...
@@ -1442,7 +1447,6 @@
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"choices"
>
"
Circular
"
"
Oval
"
"
Rectangular
"
"
Trapezoidal
"
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
...
...
@@ -1457,6 +1461,7 @@
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
Inch
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
...
...
@@ -1464,7 +1469,7 @@
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_Pad
Shape
</property>
<property
name=
"name"
>
m_Pad
PosY_Unit
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
...
...
@@ -1472,22 +1477,17 @@
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"selection"
>
0
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
></property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"validator_data_type"
></property>
<property
name=
"validator_style"
>
wxFILTER_NONE
</property>
<property
name=
"validator_type"
>
wxDefaultValidator
</property>
<property
name=
"validator_variable"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<property
name=
"wrap"
>
-1
</property>
<event
name=
"OnChar"
></event>
<event
name=
"OnChoice"
>
OnPadShapeSelection
</event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
...
...
@@ -1512,16 +1512,6 @@
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"spacer"
expanded=
"0"
>
<property
name=
"height"
>
0
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"width"
>
0
</property>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxLEFT
</property>
...
...
@@ -1864,7 +1854,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wxEXPAND|wxALIGN_CENTER_VERTICAL|wx
BOTTOM|wx
RIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -2375,7 +2365,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wx
TOP|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxEXPAND|wx
ALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -3063,7 +3053,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wx
LEFT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -3146,7 +3136,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wx
TOP|wxRIGHT|wxLEFT
</property>
<property
name=
"flag"
>
wxEXPAND|wx
ALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
@@ -3894,7 +3884,7 @@
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wx
TOP|wxRIGHT|wxLEFT|wxEXPAND
</property>
<property
name=
"flag"
>
wx
EXPAND|wxTOP|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
...
...
pcbnew/dialogs/dialog_pad_properties_base.h
View file @
760d02e4
...
...
@@ -56,14 +56,14 @@ class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
wxTextCtrl
*
m_PadNetNameCtrl
;
wxStaticText
*
m_staticText44
;
wxChoice
*
m_PadType
;
wxStaticText
*
m_staticText45
;
wxChoice
*
m_PadShape
;
wxStaticText
*
m_staticText4
;
wxTextCtrl
*
m_PadPosition_X_Ctrl
;
wxStaticText
*
m_PadPosX_Unit
;
wxStaticText
*
m_staticText41
;
wxTextCtrl
*
m_PadPosition_Y_Ctrl
;
wxStaticText
*
m_PadPosY_Unit
;
wxStaticText
*
m_staticText45
;
wxChoice
*
m_PadShape
;
wxStaticText
*
m_staticText12
;
wxTextCtrl
*
m_ShapeSize_X_Ctrl
;
wxStaticText
*
m_PadShapeSizeX_Unit
;
...
...
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