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
425ddb92
Commit
425ddb92
authored
May 03, 2015
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic enhancements in dialogs and menus
parent
04ffd0a4
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
793 additions
and
327 deletions
+793
-327
CMakeLists.txt
bitmaps_png/CMakeLists.txt
+2
-0
via_buried.cpp
bitmaps_png/cpp_26/via_buried.cpp
+87
-0
via_microvia.cpp
bitmaps_png/cpp_26/via_microvia.cpp
+71
-0
via_buried.svg
bitmaps_png/sources/via_buried.svg
+118
-0
via_microvia.svg
bitmaps_png/sources/via_microvia.svg
+97
-0
bitmaps.h
include/bitmaps.h
+2
-0
dialog_pns_diff_pair_dimensions.cpp
pcbnew/dialogs/dialog_pns_diff_pair_dimensions.cpp
+7
-16
dialog_pns_diff_pair_dimensions.h
pcbnew/dialogs/dialog_pns_diff_pair_dimensions.h
+3
-5
dialog_pns_diff_pair_dimensions_base.cpp
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp
+7
-6
dialog_pns_diff_pair_dimensions_base.fbp
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp
+86
-5
dialog_pns_diff_pair_dimensions_base.h
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h
+4
-3
dialog_pns_length_tuning_settings.cpp
pcbnew/dialogs/dialog_pns_length_tuning_settings.cpp
+3
-14
dialog_pns_length_tuning_settings.h
pcbnew/dialogs/dialog_pns_length_tuning_settings.h
+0
-2
dialog_pns_length_tuning_settings_base.cpp
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp
+41
-42
dialog_pns_length_tuning_settings_base.fbp
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp
+228
-212
dialog_pns_length_tuning_settings_base.h
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h
+2
-4
onrightclick.cpp
pcbnew/onrightclick.cpp
+2
-2
pns_tool_base.cpp
pcbnew/router/pns_tool_base.cpp
+1
-1
pns_walkaround.h
pcbnew/router/pns_walkaround.h
+1
-0
router_tool.cpp
pcbnew/router/router_tool.cpp
+31
-15
No files found.
bitmaps_png/CMakeLists.txt
View file @
425ddb92
...
@@ -535,6 +535,8 @@ set( BMAPS_MID
...
@@ -535,6 +535,8 @@ set( BMAPS_MID
up
up
use_3D_copper_thickness
use_3D_copper_thickness
via
via
via_buried
via_microvia
via_sketch
via_sketch
warning
warning
web_support
web_support
...
...
bitmaps_png/cpp_26/via_buried.cpp
0 → 100644
View file @
425ddb92
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static
const
unsigned
char
png
[]
=
{
0x89
,
0x50
,
0x4e
,
0x47
,
0x0d
,
0x0a
,
0x1a
,
0x0a
,
0x00
,
0x00
,
0x00
,
0x0d
,
0x49
,
0x48
,
0x44
,
0x52
,
0x00
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x00
,
0x1a
,
0x08
,
0x06
,
0x00
,
0x00
,
0x00
,
0xa9
,
0x4a
,
0x4c
,
0xce
,
0x00
,
0x00
,
0x04
,
0x5f
,
0x49
,
0x44
,
0x41
,
0x54
,
0x48
,
0xc7
,
0xbd
,
0x56
,
0x6d
,
0x4c
,
0x9b
,
0x55
,
0x14
,
0xbe
,
0xa5
,
0xac
,
0xb6
,
0xb0
,
0xda
,
0x52
,
0x3e
,
0x0a
,
0x5d
,
0x81
,
0x36
,
0xa5
,
0x40
,
0x5d
,
0x58
,
0x09
,
0xd8
,
0xc9
,
0x36
,
0x42
,
0x04
,
0x01
,
0xb7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0x45
,
0x4e
,
0x44
,
0xae
,
0x42
,
0x60
,
0x82
,
};
const
BITMAP_OPAQUE
via_buried_xpm
[
1
]
=
{{
png
,
sizeof
(
png
),
"via_buried_xpm"
}};
//EOF
bitmaps_png/cpp_26/via_microvia.cpp
0 → 100644
View file @
425ddb92
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static
const
unsigned
char
png
[]
=
{
0x89
,
0x50
,
0x4e
,
0x47
,
0x0d
,
0x0a
,
0x1a
,
0x0a
,
0x00
,
0x00
,
0x00
,
0x0d
,
0x49
,
0x48
,
0x44
,
0x52
,
0x00
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x00
,
0x1a
,
0x08
,
0x06
,
0x00
,
0x00
,
0x00
,
0xa9
,
0x4a
,
0x4c
,
0xce
,
0x00
,
0x00
,
0x03
,
0x61
,
0x49
,
0x44
,
0x41
,
0x54
,
0x48
,
0xc7
,
0x63
,
0xf8
,
0xff
,
0xff
,
0x3f
,
0x03
,
0x3d
,
0x30
,
0xc3
,
0xc8
,
0xb6
,
0x08
,
0x08
,
0x18
,
0x81
,
0x98
,
0x19
,
0x88
,
0x59
,
0x81
,
0x98
,
0x0d
,
0x88
,
0xb9
,
0x81
,
0x98
,
0x1d
,
0xca
,
0x67
,
0x01
,
0x62
,
0x26
,
0x8a
,
0x2d
,
0x82
,
0x1a
,
0x24
,
0x00
,
0xc4
,
0xfa
,
0x40
,
0x6c
,
0x07
,
0xc4
,
0xbe
,
0x5a
,
0x5c
,
0x5c
,
0xe9
,
0x6c
,
0xcc
,
0xcc
,
0x21
,
0x40
,
0xb6
,
0x33
,
0x10
,
0x1b
,
0x03
,
0xb1
,
0x14
,
0xc8
,
0x52
,
0xb2
,
0x2d
,
0x82
,
0xba
,
0x5e
,
0x8d
,
0x87
,
0x99
,
0x39
,
0xb4
,
0x5c
,
0x41
,
0x61
,
0xde
,
0x54
,
0x0d
,
0x8d
,
0x63
,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
,
0x67
,
0x8a
,
0xf1
,
0x00
,
0x00
,
0x00
,
0x00
,
0x49
,
0x45
,
0x4e
,
0x44
,
0xae
,
0x42
,
0x60
,
0x82
,
};
const
BITMAP_OPAQUE
via_microvia_xpm
[
1
]
=
{{
png
,
sizeof
(
png
),
"via_microvia_xpm"
}};
//EOF
bitmaps_png/sources/via_buried.svg
0 → 100644
View file @
425ddb92
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:cc=
"http://creativecommons.org/ns#"
xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:sodipodi=
"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape=
"http://www.inkscape.org/namespaces/inkscape"
height=
"48"
width=
"48"
version=
"1.1"
id=
"svg2"
inkscape:version=
"0.48.4 r9939"
sodipodi:docname=
"via_buried.svg"
>
<metadata
id=
"metadata16"
>
<rdf:RDF>
<cc:Work
rdf:about=
""
>
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource=
"http://purl.org/dc/dcmitype/StillImage"
/>
<dc:title
/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id=
"defs14"
>
<filter
inkscape:collect=
"always"
id=
"filter3808"
>
<feGaussianBlur
inkscape:collect=
"always"
stdDeviation=
"0.79203718"
id=
"feGaussianBlur3810"
/>
</filter>
</defs>
<sodipodi:namedview
pagecolor=
"#ffffff"
bordercolor=
"#666666"
borderopacity=
"1"
objecttolerance=
"10"
gridtolerance=
"10"
guidetolerance=
"10"
inkscape:pageopacity=
"0"
inkscape:pageshadow=
"2"
inkscape:window-width=
"1920"
inkscape:window-height=
"1033"
id=
"namedview12"
showgrid=
"false"
inkscape:snap-grids=
"false"
inkscape:snap-to-guides=
"false"
inkscape:zoom=
"10.873341"
inkscape:cx=
"-19.296475"
inkscape:cy=
"18.719379"
inkscape:window-x=
"-4"
inkscape:window-y=
"-4"
inkscape:window-maximized=
"1"
inkscape:current-layer=
"svg2"
/>
<g
id=
"g3764"
transform=
"translate(59.04349,6.8976039)"
>
<rect
style=
"opacity:0.38671875;fill:#000000;fill-rule:evenodd;stroke:#000000;stroke-opacity:1;filter:url(#filter3808)"
id=
"rect4-4"
x=
"-57.013744"
y=
"8.5595407"
width=
"29.813433"
height=
"8.7306871"
ry=
"2.3031542"
rx=
"0"
/>
<rect
style=
"opacity:0.38671875;fill:#000000;fill-rule:evenodd;stroke:#000000;stroke-opacity:1;filter:url(#filter3808)"
id=
"rect6-8"
x=
"11.503523"
y=
"-123.2624"
width=
"30.819489"
height=
"8.5042381"
ry=
"2.243417"
rx=
"0"
transform=
"matrix(0,1,-1,0,-150.16292,-2.7838396)"
/>
<path
style=
"opacity:0.38671875;fill:none;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:8, 4;stroke-dashoffset:0;filter:url(#filter3808)"
inkscape:connector-curvature=
"0"
id=
"path8-1"
d=
"m -15.8481,13.195204 a 15.30449,14.862257 0 0 1 -30.60898,0 15.30449,14.862257 0 1 1 30.60898,0 z"
/>
<path
style=
"opacity:0.38671875;fill:#000000;stroke:#000000;stroke-width:3.44060159;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:3.44060159, 3.44060159;stroke-dashoffset:0;filter:url(#filter3808)"
inkscape:connector-curvature=
"0"
id=
"path10-0"
d=
"m -25.72992,13.088622 a 5.7326026,5.8850078 0 0 1 -11.4652,0 5.7326026,5.8850078 0 1 1 11.4652,0 z"
/>
</g>
<path
style=
"fill:none;stroke:#2750a5;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
d=
"m 25.989245,20.890398 0.07543,27.180597"
id=
"path3766"
inkscape:connector-curvature=
"0"
/>
<rect
rx=
"0"
ry=
"2.3031542"
height=
"8.7306871"
width=
"29.813433"
y=
"16.90716"
x=
"0.41774505"
id=
"rect4"
style=
"fill:#ff0000;fill-rule:evenodd"
/>
<path
d=
"m 41.583387,21.542825 a 15.304489,14.862256 0 1 1 -30.608977,0 15.304489,14.862256 0 1 1 30.608977,0 z"
id=
"path8"
inkscape:connector-curvature=
"0"
style=
"fill:none;stroke:#6c6c6c;stroke-width:4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:8,4;stroke-dashoffset:0"
/>
<path
d=
"m 31.701569,21.436243 a 5.7326025,5.8850077 0 1 1 -11.465205,0 5.7326025,5.8850077 0 1 1 11.465205,0 z"
id=
"path10"
inkscape:connector-curvature=
"0"
style=
"fill:none;stroke:#11259b;stroke-width:3.44060159;stroke-miterlimit:4;stroke-dasharray:3.44060159,3.44060159;stroke-dashoffset:0;stroke-opacity:1"
/>
</svg>
bitmaps_png/sources/via_microvia.svg
0 → 100644
View file @
425ddb92
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:cc=
"http://creativecommons.org/ns#"
xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:sodipodi=
"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape=
"http://www.inkscape.org/namespaces/inkscape"
height=
"26"
width=
"26"
version=
"1.1"
id=
"svg2"
inkscape:version=
"0.48.4 r9939"
sodipodi:docname=
"via_microvia.svg"
>
<metadata
id=
"metadata16"
>
<rdf:RDF>
<cc:Work
rdf:about=
""
>
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource=
"http://purl.org/dc/dcmitype/StillImage"
/>
<dc:title
/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id=
"defs14"
>
<filter
inkscape:collect=
"always"
id=
"filter3808"
color-interpolation-filters=
"sRGB"
>
<feGaussianBlur
inkscape:collect=
"always"
stdDeviation=
"0.79203718"
id=
"feGaussianBlur3810"
/>
</filter>
</defs>
<sodipodi:namedview
pagecolor=
"#ffffff"
bordercolor=
"#666666"
borderopacity=
"1"
objecttolerance=
"10"
gridtolerance=
"10"
guidetolerance=
"10"
inkscape:pageopacity=
"0"
inkscape:pageshadow=
"2"
inkscape:window-width=
"1920"
inkscape:window-height=
"1033"
id=
"namedview12"
showgrid=
"false"
inkscape:snap-grids=
"false"
inkscape:snap-to-guides=
"false"
inkscape:zoom=
"18.083052"
inkscape:cx=
"2.8651129"
inkscape:cy=
"14.092202"
inkscape:window-x=
"-4"
inkscape:window-y=
"-4"
inkscape:window-maximized=
"1"
inkscape:current-layer=
"svg2"
/>
<rect
rx=
"0"
ry=
"2.3031542"
height=
"8.7306871"
width=
"29.813433"
y=
"11.34338"
x=
"93.149178"
id=
"rect4-4"
style=
"opacity:0.38671875;fill:#000000;fill-rule:evenodd;stroke:#000000;stroke-opacity:1;filter:url(#filter3808)"
transform=
"matrix(0.32916033,0,0,0.5784203,-29.973503,3.7304857)"
/>
<path
d=
"m 134.31482,15.979044 a 15.30449,14.862257 0 1 1 -30.60898,0 15.30449,14.862257 0 1 1 30.60898,0 z"
id=
"path8-1"
inkscape:connector-curvature=
"0"
style=
"opacity:0.38671875;fill:none;stroke:#000000;stroke-width:2.2720027;stroke-opacity:1;filter:url(#filter3808)"
transform=
"matrix(0.55897873,0,0,0.56826567,-50.880408,3.890002)"
/>
<rect
rx=
"0"
ry=
"1.3569629"
height=
"5.1439104"
width=
"9.5338955"
y=
"10.763303"
x=
"0.15463093"
id=
"rect4"
style=
"fill:#ff0000;fill-rule:evenodd"
/>
<path
d=
"m 22.535868,13.331969 a 6.9305552,6.9592077 0 0 1 -13.8611104,0 6.9305552,6.9592077 0 1 1 13.8611104,0 z"
id=
"path8"
inkscape:connector-curvature=
"0"
style=
"fill:none;stroke:#a22b2b;stroke-width:3.00612569;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
/>
<path
d=
"m 19.704199,13.293377 a 4.0641003,4.0542914 0 0 1 -8.128199,0 4.0641003,4.0542914 0 1 1 8.128199,0 z"
id=
"path10"
inkscape:connector-curvature=
"0"
style=
"fill:none;stroke:#345836;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:3,3;stroke-dashoffset:0"
/>
</svg>
include/bitmaps.h
View file @
425ddb92
...
@@ -530,6 +530,8 @@ EXTERN_BITMAP( update_module_board_xpm )
...
@@ -530,6 +530,8 @@ EXTERN_BITMAP( update_module_board_xpm )
EXTERN_BITMAP
(
up_xpm
)
EXTERN_BITMAP
(
up_xpm
)
EXTERN_BITMAP
(
use_3D_copper_thickness_xpm
)
EXTERN_BITMAP
(
use_3D_copper_thickness_xpm
)
EXTERN_BITMAP
(
via_xpm
)
EXTERN_BITMAP
(
via_xpm
)
EXTERN_BITMAP
(
via_microvia_xpm
)
EXTERN_BITMAP
(
via_buried_xpm
)
EXTERN_BITMAP
(
via_sketch_xpm
)
EXTERN_BITMAP
(
via_sketch_xpm
)
EXTERN_BITMAP
(
viewlibs_icon_xpm
)
EXTERN_BITMAP
(
viewlibs_icon_xpm
)
EXTERN_BITMAP
(
warning_xpm
)
EXTERN_BITMAP
(
warning_xpm
)
...
...
pcbnew/dialogs/dialog_pns_diff_pair_dimensions.cpp
View file @
425ddb92
...
@@ -38,6 +38,9 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS( wxWindow* aPar
...
@@ -38,6 +38,9 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS( wxWindow* aPar
m_viaTraceGapEqual
->
SetValue
(
m_sizes
.
DiffPairViaGapSameAsTraceGap
()
);
m_viaTraceGapEqual
->
SetValue
(
m_sizes
.
DiffPairViaGapSameAsTraceGap
()
);
updateCheckbox
();
updateCheckbox
();
GetSizer
()
->
SetSizeHints
(
this
);
Centre
();
}
}
...
@@ -49,7 +52,9 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::updateCheckbox()
...
@@ -49,7 +52,9 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::updateCheckbox()
m_viaGapText
->
Disable
();
m_viaGapText
->
Disable
();
m_viaGapLabel
->
Disable
();
m_viaGapLabel
->
Disable
();
m_viaGapUnit
->
Disable
();
m_viaGapUnit
->
Disable
();
}
else
{
}
else
{
m_sizes
.
SetDiffPairViaGapSameAsTraceGap
(
false
);
m_sizes
.
SetDiffPairViaGapSameAsTraceGap
(
false
);
m_viaGapText
->
Enable
();
m_viaGapText
->
Enable
();
m_viaGapLabel
->
Enable
();
m_viaGapLabel
->
Enable
();
...
@@ -58,13 +63,6 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::updateCheckbox()
...
@@ -58,13 +63,6 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::updateCheckbox()
}
}
void
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
::
OnClose
(
wxCloseEvent
&
aEvent
)
{
// Do nothing, it is result of ESC pressing
EndModal
(
0
);
}
void
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
::
OnOkClick
(
wxCommandEvent
&
aEvent
)
void
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
::
OnOkClick
(
wxCommandEvent
&
aEvent
)
{
{
// Save widgets' values to settings
// Save widgets' values to settings
...
@@ -73,14 +71,7 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::OnOkClick( wxCommandEvent& aEvent )
...
@@ -73,14 +71,7 @@ void DIALOG_PNS_DIFF_PAIR_DIMENSIONS::OnOkClick( wxCommandEvent& aEvent )
m_sizes
.
SetDiffPairWidth
(
m_traceWidth
.
GetValue
()
);
m_sizes
.
SetDiffPairWidth
(
m_traceWidth
.
GetValue
()
);
// todo: verify against design rules
// todo: verify against design rules
EndModal
(
1
);
EndModal
(
wxID_OK
);
}
void
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
::
OnCancelClick
(
wxCommandEvent
&
aEvent
)
{
// Do nothing
EndModal
(
0
);
}
}
...
...
pcbnew/dialogs/dialog_pns_diff_pair_dimensions.h
View file @
425ddb92
...
@@ -36,14 +36,12 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS : public DIALOG_PNS_DIFF_PAIR_DIMENSIONS_B
...
@@ -36,14 +36,12 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS : public DIALOG_PNS_DIFF_PAIR_DIMENSIONS_B
public
:
public
:
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
(
wxWindow
*
aParent
,
PNS_SIZES_SETTINGS
&
aSizes
);
DIALOG_PNS_DIFF_PAIR_DIMENSIONS
(
wxWindow
*
aParent
,
PNS_SIZES_SETTINGS
&
aSizes
);
virtual
void
OnClose
(
wxCloseEvent
&
aEvent
);
virtual
void
OnOkClick
(
wxCommandEvent
&
aEvent
);
virtual
void
OnCancelClick
(
wxCommandEvent
&
aEvent
);
virtual
void
OnViaTraceGapEqualCheck
(
wxCommandEvent
&
event
);
private
:
private
:
void
updateCheckbox
();
void
updateCheckbox
();
virtual
void
OnOkClick
(
wxCommandEvent
&
aEvent
);
virtual
void
OnViaTraceGapEqualCheck
(
wxCommandEvent
&
event
);
WX_UNIT_BINDER
m_traceWidth
;
WX_UNIT_BINDER
m_traceWidth
;
WX_UNIT_BINDER
m_traceGap
;
WX_UNIT_BINDER
m_traceGap
;
WX_UNIT_BINDER
m_viaGap
;
WX_UNIT_BINDER
m_viaGap
;
...
...
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.cpp
View file @
425ddb92
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Sep 11
2014)
// C++ code generated with wxFormBuilder (version
Jun 5
2014)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -65,11 +65,14 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
...
@@ -65,11 +65,14 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
fgSizer1
->
Add
(
m_viaGapUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
fgSizer1
->
Add
(
m_viaGapUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
bSizer7
->
Add
(
fgSizer1
,
0
,
wxEXPAND
,
5
);
bSizer7
->
Add
(
fgSizer1
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_viaTraceGapEqual
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Via gap same as trace gap"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_viaTraceGapEqual
=
new
wxCheckBox
(
this
,
wxID_ANY
,
_
(
"Via gap same as trace gap"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_viaTraceGapEqual
->
SetValue
(
true
);
m_viaTraceGapEqual
->
SetValue
(
true
);
bSizer7
->
Add
(
m_viaTraceGapEqual
,
0
,
wxALL
|
wxEXPAND
,
5
);
bSizer7
->
Add
(
m_viaTraceGapEqual
,
0
,
wxALL
|
wxEXPAND
,
10
);
m_staticline1
=
new
wxStaticLine
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLI_HORIZONTAL
);
bSizer7
->
Add
(
m_staticline1
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_stdButtons
=
new
wxStdDialogButtonSizer
();
m_stdButtons
=
new
wxStdDialogButtonSizer
();
m_stdButtonsOK
=
new
wxButton
(
this
,
wxID_OK
);
m_stdButtonsOK
=
new
wxButton
(
this
,
wxID_OK
);
...
@@ -78,14 +81,13 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
...
@@ -78,14 +81,13 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
m_stdButtons
->
AddButton
(
m_stdButtonsCancel
);
m_stdButtons
->
AddButton
(
m_stdButtonsCancel
);
m_stdButtons
->
Realize
();
m_stdButtons
->
Realize
();
bSizer7
->
Add
(
m_stdButtons
,
0
,
wxEXPAND
,
5
);
bSizer7
->
Add
(
m_stdButtons
,
0
,
wxEXPAND
|
wxALL
,
5
);
this
->
SetSizer
(
bSizer7
);
this
->
SetSizer
(
bSizer7
);
this
->
Layout
();
this
->
Layout
();
// Connect Events
// Connect Events
this
->
Connect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnClose
)
);
m_viaTraceGapEqual
->
Connect
(
wxEVT_COMMAND_CHECKBOX_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnViaTraceGapEqualCheck
),
NULL
,
this
);
m_viaTraceGapEqual
->
Connect
(
wxEVT_COMMAND_CHECKBOX_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnViaTraceGapEqualCheck
),
NULL
,
this
);
m_stdButtonsCancel
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsCancel
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsOK
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnOkClick
),
NULL
,
this
);
m_stdButtonsOK
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnOkClick
),
NULL
,
this
);
...
@@ -94,7 +96,6 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
...
@@ -94,7 +96,6 @@ DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWi
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::~
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
()
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::~
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
()
{
{
// Disconnect Events
// Disconnect Events
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnClose
)
);
m_viaTraceGapEqual
->
Disconnect
(
wxEVT_COMMAND_CHECKBOX_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnViaTraceGapEqualCheck
),
NULL
,
this
);
m_viaTraceGapEqual
->
Disconnect
(
wxEVT_COMMAND_CHECKBOX_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnViaTraceGapEqualCheck
),
NULL
,
this
);
m_stdButtonsCancel
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsCancel
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnOkClick
),
NULL
,
this
);
m_stdButtonsOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
::
OnOkClick
),
NULL
,
this
);
...
...
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.fbp
View file @
425ddb92
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<property
name=
"minimum_size"
>
400,-1
</property>
<property
name=
"minimum_size"
>
400,-1
</property>
<property
name=
"name"
>
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
</property>
<property
name=
"name"
>
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
</property>
<property
name=
"pos"
></property>
<property
name=
"pos"
></property>
<property
name=
"size"
>
400,
-1
</property>
<property
name=
"size"
>
400,
216
</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"
>
Differential Pair Dimensions
</property>
<property
name=
"title"
>
Differential Pair Dimensions
</property>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<event
name=
"OnAuiPaneRestore"
></event>
<event
name=
"OnAuiPaneRestore"
></event>
<event
name=
"OnAuiRender"
></event>
<event
name=
"OnAuiRender"
></event>
<event
name=
"OnChar"
></event>
<event
name=
"OnChar"
></event>
<event
name=
"OnClose"
>
OnClose
</event>
<event
name=
"OnClose"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnHibernate"
></event>
<event
name=
"OnHibernate"
></event>
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"flag"
>
wxEXPAND
|wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<property
name=
"cols"
>
3
</property>
<property
name=
"cols"
>
3
</property>
...
@@ -883,7 +883,7 @@
...
@@ -883,7 +883,7 @@
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
10
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"flag"
>
wxALL|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxCheckBox"
expanded=
"1"
>
<object
class=
"wxCheckBox"
expanded=
"1"
>
...
@@ -972,7 +972,88 @@
...
@@ -972,7 +972,88 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"flag"
>
wxEXPAND | wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticLine"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></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_staticline1
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"style"
>
wxLI_HORIZONTAL
</property>
<property
name=
"subclass"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"tooltip"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStdDialogButtonSizer"
expanded=
"1"
>
<object
class=
"wxStdDialogButtonSizer"
expanded=
"1"
>
<property
name=
"Apply"
>
0
</property>
<property
name=
"Apply"
>
0
</property>
...
...
pcbnew/dialogs/dialog_pns_diff_pair_dimensions_base.h
View file @
425ddb92
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Sep 11
2014)
// C++ code generated with wxFormBuilder (version
Jun 5
2014)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -23,6 +23,7 @@ class DIALOG_SHIM;
...
@@ -23,6 +23,7 @@ class DIALOG_SHIM;
#include <wx/textctrl.h>
#include <wx/textctrl.h>
#include <wx/sizer.h>
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/checkbox.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/button.h>
#include <wx/dialog.h>
#include <wx/dialog.h>
...
@@ -47,12 +48,12 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE : public DIALOG_SHIM
...
@@ -47,12 +48,12 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE : public DIALOG_SHIM
wxTextCtrl
*
m_viaGapText
;
wxTextCtrl
*
m_viaGapText
;
wxStaticText
*
m_viaGapUnit
;
wxStaticText
*
m_viaGapUnit
;
wxCheckBox
*
m_viaTraceGapEqual
;
wxCheckBox
*
m_viaTraceGapEqual
;
wxStaticLine
*
m_staticline1
;
wxStdDialogButtonSizer
*
m_stdButtons
;
wxStdDialogButtonSizer
*
m_stdButtons
;
wxButton
*
m_stdButtonsOK
;
wxButton
*
m_stdButtonsOK
;
wxButton
*
m_stdButtonsCancel
;
wxButton
*
m_stdButtonsCancel
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnViaTraceGapEqualCheck
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnViaTraceGapEqualCheck
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
...
@@ -60,7 +61,7 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE : public DIALOG_SHIM
...
@@ -60,7 +61,7 @@ class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE : public DIALOG_SHIM
public
:
public
:
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Differential Pair Dimensions"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
400
,
-
1
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Differential Pair Dimensions"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
400
,
216
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
();
~
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE
();
};
};
...
...
pcbnew/dialogs/dialog_pns_length_tuning_settings.cpp
View file @
425ddb92
...
@@ -74,13 +74,9 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS::DIALOG_PNS_LENGTH_TUNING_SETTINGS( wxWindow*
...
@@ -74,13 +74,9 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS::DIALOG_PNS_LENGTH_TUNING_SETTINGS( wxWindow*
m_stdButtonsOK
->
SetDefault
();
m_stdButtonsOK
->
SetDefault
();
m_targetLengthText
->
SetSelection
(
-
1
,
-
1
);
m_targetLengthText
->
SetSelection
(
-
1
,
-
1
);
m_targetLengthText
->
SetFocus
();
m_targetLengthText
->
SetFocus
();
}
void
DIALOG_PNS_LENGTH_TUNING_SETTINGS
::
OnClose
(
wxCloseEvent
&
aEvent
)
GetSizer
()
->
SetSizeHints
(
this
);
{
Centre
();
// Do nothing, it is result of ESC pressing
EndModal
(
0
);
}
}
...
@@ -103,12 +99,5 @@ void DIALOG_PNS_LENGTH_TUNING_SETTINGS::OnOkClick( wxCommandEvent& aEvent )
...
@@ -103,12 +99,5 @@ void DIALOG_PNS_LENGTH_TUNING_SETTINGS::OnOkClick( wxCommandEvent& aEvent )
m_settings
.
m_cornerType
=
m_miterStyle
->
GetSelection
()
?
PNS_MEANDER_SETTINGS
::
CHAMFER
:
PNS_MEANDER_SETTINGS
::
ROUND
;
m_settings
.
m_cornerType
=
m_miterStyle
->
GetSelection
()
?
PNS_MEANDER_SETTINGS
::
CHAMFER
:
PNS_MEANDER_SETTINGS
::
ROUND
;
EndModal
(
1
);
EndModal
(
wxID_OK
);
}
void
DIALOG_PNS_LENGTH_TUNING_SETTINGS
::
OnCancelClick
(
wxCommandEvent
&
aEvent
)
{
// Do nothing
EndModal
(
0
);
}
}
pcbnew/dialogs/dialog_pns_length_tuning_settings.h
View file @
425ddb92
...
@@ -38,9 +38,7 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS : public DIALOG_PNS_LENGTH_TUNING_SETTIN
...
@@ -38,9 +38,7 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS : public DIALOG_PNS_LENGTH_TUNING_SETTIN
public
:
public
:
DIALOG_PNS_LENGTH_TUNING_SETTINGS
(
wxWindow
*
aParent
,
PNS_MEANDER_SETTINGS
&
aSettings
,
PNS_ROUTER_MODE
aMode
);
DIALOG_PNS_LENGTH_TUNING_SETTINGS
(
wxWindow
*
aParent
,
PNS_MEANDER_SETTINGS
&
aSettings
,
PNS_ROUTER_MODE
aMode
);
virtual
void
OnClose
(
wxCloseEvent
&
aEvent
);
virtual
void
OnOkClick
(
wxCommandEvent
&
aEvent
);
virtual
void
OnOkClick
(
wxCommandEvent
&
aEvent
);
virtual
void
OnCancelClick
(
wxCommandEvent
&
aEvent
);
private
:
private
:
WX_UNIT_BINDER
m_minAmpl
;
WX_UNIT_BINDER
m_minAmpl
;
...
...
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.cpp
View file @
425ddb92
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun
6
2014)
// C++ code generated with wxFormBuilder (version Jun
5
2014)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
DIALOG_SHIM
(
parent
,
id
,
title
,
pos
,
size
,
style
)
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
,
const
wxString
&
title
,
const
wxPoint
&
pos
,
const
wxSize
&
size
,
long
style
)
:
DIALOG_SHIM
(
parent
,
id
,
title
,
pos
,
size
,
style
)
{
{
this
->
SetSizeHints
(
wxSize
(
345
,
668
),
wxDefaultSize
);
this
->
SetSizeHints
(
wxSize
(
400
,
-
1
),
wxDefaultSize
);
wxBoxSizer
*
bMainSizer
;
wxBoxSizer
*
bMainSizer
;
bMainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
bMainSizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
@@ -19,61 +19,64 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
...
@@ -19,61 +19,64 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
wxStaticBoxSizer
*
sbSizer1
;
wxStaticBoxSizer
*
sbSizer1
;
sbSizer1
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Length/skew"
)
),
wxVERTICAL
);
sbSizer1
=
new
wxStaticBoxSizer
(
new
wxStaticBox
(
this
,
wxID_ANY
,
_
(
"Length/skew"
)
),
wxVERTICAL
);
wxFlexGridSizer
*
fgSizer
4
;
wxFlexGridSizer
*
fgSizer
LenSkew
;
fgSizer
4
=
new
wxFlexGridSizer
(
0
,
2
,
0
,
0
);
fgSizer
LenSkew
=
new
wxFlexGridSizer
(
0
,
3
,
0
,
0
);
fgSizer
4
->
AddGrowableCol
(
1
);
fgSizer
LenSkew
->
AddGrowableCol
(
1
);
fgSizer
4
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer
LenSkew
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer
4
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
fgSizer
LenSkew
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
m_staticText4
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Tune from:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText4
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Tune from:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText4
->
Wrap
(
-
1
);
m_staticText4
->
Wrap
(
-
1
);
fgSizer
4
->
Add
(
m_staticText4
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer
LenSkew
->
Add
(
m_staticText4
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
wxArrayString
m_choicePathFromChoices
;
wxArrayString
m_choicePathFromChoices
;
m_choicePathFrom
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choicePathFromChoices
,
0
);
m_choicePathFrom
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choicePathFromChoices
,
0
);
m_choicePathFrom
->
SetSelection
(
0
);
m_choicePathFrom
->
SetSelection
(
0
);
fgSizer4
->
Add
(
m_choicePathFrom
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizerLenSkew
->
Add
(
m_choicePathFrom
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
fgSizerLenSkew
->
Add
(
0
,
0
,
0
,
0
,
5
);
m_staticText15
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Tune to:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText15
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Tune to:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText15
->
Wrap
(
-
1
);
m_staticText15
->
Wrap
(
-
1
);
fgSizer
4
->
Add
(
m_staticText15
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer
LenSkew
->
Add
(
m_staticText15
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
wxArrayString
m_choice4Choices
;
wxArrayString
m_choice4Choices
;
m_choice4
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choice4Choices
,
0
);
m_choice4
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_choice4Choices
,
0
);
m_choice4
->
SetSelection
(
0
);
m_choice4
->
SetSelection
(
0
);
fgSizer4
->
Add
(
m_choice4
,
0
,
wxALL
,
5
);
fgSizerLenSkew
->
Add
(
m_choice4
,
0
,
wxALL
|
wxEXPAND
,
5
);
fgSizerLenSkew
->
Add
(
0
,
0
,
0
,
0
,
5
);
m_staticText3
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Constraint:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText3
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Constraint:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText3
->
Wrap
(
-
1
);
m_staticText3
->
Wrap
(
-
1
);
fgSizer
4
->
Add
(
m_staticText3
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer
LenSkew
->
Add
(
m_staticText3
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
wxString
m_constraintSourceChoices
[]
=
{
_
(
"
from Design Rules"
),
_
(
"m
anual"
)
};
wxString
m_constraintSourceChoices
[]
=
{
_
(
"
From Design Rules"
),
_
(
"M
anual"
)
};
int
m_constraintSourceNChoices
=
sizeof
(
m_constraintSourceChoices
)
/
sizeof
(
wxString
);
int
m_constraintSourceNChoices
=
sizeof
(
m_constraintSourceChoices
)
/
sizeof
(
wxString
);
m_constraintSource
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_constraintSourceNChoices
,
m_constraintSourceChoices
,
0
);
m_constraintSource
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_constraintSourceNChoices
,
m_constraintSourceChoices
,
0
);
m_constraintSource
->
SetSelection
(
1
);
m_constraintSource
->
SetSelection
(
1
);
m_constraintSource
->
Enable
(
false
);
m_constraintSource
->
Enable
(
false
);
fgSizer4
->
Add
(
m_constraintSource
,
1
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizerLenSkew
->
Add
(
m_constraintSource
,
1
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
fgSizerLenSkew
->
Add
(
0
,
0
,
0
,
0
,
5
);
m_targetLengthLabel
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Target length:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_targetLengthLabel
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Target length:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_targetLengthLabel
->
Wrap
(
-
1
);
m_targetLengthLabel
->
Wrap
(
-
1
);
fgSizer4
->
Add
(
m_targetLengthLabel
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizerLenSkew
->
Add
(
m_targetLengthLabel
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
wxGridSizer
*
gSizer2
;
gSizer2
=
new
wxGridSizer
(
0
,
2
,
0
,
0
);
m_targetLengthText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_targetLengthText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
gSizer2
->
Add
(
m_targetLengthText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizerLenSkew
->
Add
(
m_targetLengthText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
m_targetLengthUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_targetLengthUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_targetLengthUnit
->
Wrap
(
-
1
);
m_targetLengthUnit
->
Wrap
(
-
1
);
gSizer2
->
Add
(
m_targetLengthUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxALL
,
5
);
fgSizerLenSkew
->
Add
(
m_targetLengthUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
fgSizer4
->
Add
(
gSizer2
,
1
,
wxEXPAND
,
5
);
sbSizer1
->
Add
(
fgSizer
4
,
1
,
wxEXPAND
,
5
);
sbSizer1
->
Add
(
fgSizer
LenSkew
,
1
,
wxEXPAND
,
5
);
bMainSizer
->
Add
(
sbSizer1
,
0
,
wxEXPAND
|
wxALL
,
5
);
bMainSizer
->
Add
(
sbSizer1
,
0
,
wxEXPAND
|
wxALL
,
5
);
...
@@ -86,53 +89,53 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
...
@@ -86,53 +89,53 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
wxFlexGridSizer
*
fgSizer3
;
wxFlexGridSizer
*
fgSizer3
;
fgSizer3
=
new
wxFlexGridSizer
(
0
,
3
,
0
,
0
);
fgSizer3
=
new
wxFlexGridSizer
(
0
,
3
,
0
,
0
);
fgSizer3
->
AddGrowableCol
(
2
);
fgSizer3
->
AddGrowableCol
(
1
);
fgSizer3
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer3
->
SetFlexibleDirection
(
wxBOTH
);
fgSizer3
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
fgSizer3
->
SetNonFlexibleGrowMode
(
wxFLEX_GROWMODE_SPECIFIED
);
m_staticText9
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Min amplitude (Amin):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText9
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Min amplitude (Amin):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText9
->
Wrap
(
-
1
);
m_staticText9
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_staticText9
,
0
,
wxAL
L
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_staticText9
,
0
,
wxAL
IGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
m_minAmplText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_minAmplText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer3
->
Add
(
m_minAmplText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_minAmplText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
m_minAmplUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_minAmplUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_minAmplUnit
->
Wrap
(
-
1
);
m_minAmplUnit
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_minAmplUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
fgSizer3
->
Add
(
m_minAmplUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
m_staticText91
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Max amplitude (Amax):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText91
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Max amplitude (Amax):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText91
->
Wrap
(
-
1
);
m_staticText91
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_staticText91
,
0
,
wxAL
L
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_staticText91
,
0
,
wxAL
IGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
m_maxAmplText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_maxAmplText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer3
->
Add
(
m_maxAmplText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_maxAmplText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
m_maxAmplUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_maxAmplUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_maxAmplUnit
->
Wrap
(
-
1
);
m_maxAmplUnit
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_maxAmplUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
fgSizer3
->
Add
(
m_maxAmplUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
m_staticText11
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Spacing (s):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText11
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Spacing (s):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText11
->
Wrap
(
-
1
);
m_staticText11
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_staticText11
,
0
,
wxAL
L
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_staticText11
,
0
,
wxAL
IGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
m_spacingText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_spacingText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer3
->
Add
(
m_spacingText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_spacingText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
m_spacingUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_spacingUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"unit"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_spacingUnit
->
Wrap
(
-
1
);
m_spacingUnit
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_spacingUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
fgSizer3
->
Add
(
m_spacingUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
m_staticText13
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Miter radius (r):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText13
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Miter radius (r):"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText13
->
Wrap
(
-
1
);
m_staticText13
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_staticText13
,
0
,
wxAL
L
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_staticText13
,
0
,
wxAL
IGN_CENTER_VERTICAL
|
wxRIGHT
|
wxLEFT
,
5
);
m_radiusText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_radiusText
=
new
wxTextCtrl
(
this
,
wxID_ANY
,
wxEmptyString
,
wxDefaultPosition
,
wxDefaultSize
,
0
);
fgSizer3
->
Add
(
m_radiusText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
,
5
);
fgSizer3
->
Add
(
m_radiusText
,
0
,
wxALL
|
wxALIGN_CENTER_VERTICAL
|
wxEXPAND
,
5
);
m_radiusUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"%"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_radiusUnit
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"%"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_radiusUnit
->
Wrap
(
-
1
);
m_radiusUnit
->
Wrap
(
-
1
);
fgSizer3
->
Add
(
m_radiusUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wx
TOP
|
wxBOTTOM
|
wx
RIGHT
,
5
);
fgSizer3
->
Add
(
m_radiusUnit
,
0
,
wxALIGN_CENTER_VERTICAL
|
wxRIGHT
,
5
);
m_staticText14
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Miter style:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText14
=
new
wxStaticText
(
this
,
wxID_ANY
,
_
(
"Miter style:"
),
wxDefaultPosition
,
wxDefaultSize
,
0
);
m_staticText14
->
Wrap
(
-
1
);
m_staticText14
->
Wrap
(
-
1
);
...
@@ -161,23 +164,19 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
...
@@ -161,23 +164,19 @@ DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE::DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE(
m_stdButtons
->
AddButton
(
m_stdButtonsCancel
);
m_stdButtons
->
AddButton
(
m_stdButtonsCancel
);
m_stdButtons
->
Realize
();
m_stdButtons
->
Realize
();
bMainSizer
->
Add
(
m_stdButtons
,
0
,
wxEXPAND
|
wx
TOP
|
wxBOTTOM
,
5
);
bMainSizer
->
Add
(
m_stdButtons
,
0
,
wxEXPAND
|
wx
ALL
,
5
);
this
->
SetSizer
(
bMainSizer
);
this
->
SetSizer
(
bMainSizer
);
this
->
Layout
();
this
->
Layout
();
// Connect Events
// Connect Events
this
->
Connect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnClose
)
);
m_stdButtonsCancel
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsOK
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnOkClick
),
NULL
,
this
);
m_stdButtonsOK
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnOkClick
),
NULL
,
this
);
}
}
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::~
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
()
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::~
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
()
{
{
// Disconnect Events
// Disconnect Events
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnClose
)
);
m_stdButtonsCancel
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnCancelClick
),
NULL
,
this
);
m_stdButtonsOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnOkClick
),
NULL
,
this
);
m_stdButtonsOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
::
OnOkClick
),
NULL
,
this
);
}
}
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.fbp
View file @
425ddb92
...
@@ -41,11 +41,11 @@
...
@@ -41,11 +41,11 @@
<property
name=
"hidden"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maximum_size"
></property>
<property
name=
"minimum_size"
>
345,668
</property>
<property
name=
"minimum_size"
>
400,-1
</property>
<property
name=
"name"
>
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
</property>
<property
name=
"name"
>
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
</property>
<property
name=
"pos"
></property>
<property
name=
"pos"
></property>
<property
name=
"size"
>
345,668
</property>
<property
name=
"size"
>
404,565
</property>
<property
name=
"style"
>
wxDEFAULT_DIALOG_STYLE
</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"
>
Trace length tuning
</property>
<property
name=
"title"
>
Trace length tuning
</property>
<property
name=
"tooltip"
></property>
<property
name=
"tooltip"
></property>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<event
name=
"OnAuiPaneRestore"
></event>
<event
name=
"OnAuiPaneRestore"
></event>
<event
name=
"OnAuiRender"
></event>
<event
name=
"OnAuiRender"
></event>
<event
name=
"OnChar"
></event>
<event
name=
"OnChar"
></event>
<event
name=
"OnClose"
>
OnClose
</event>
<event
name=
"OnClose"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnHibernate"
></event>
<event
name=
"OnHibernate"
></event>
...
@@ -110,20 +110,20 @@
...
@@ -110,20 +110,20 @@
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<property
name=
"cols"
>
2
</property>
<property
name=
"cols"
>
3
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"growablecols"
>
1
</property>
<property
name=
"growablecols"
>
1
</property>
<property
name=
"growablerows"
></property>
<property
name=
"growablerows"
></property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
fgSizer
4
</property>
<property
name=
"name"
>
fgSizer
LenSkew
</property>
<property
name=
"non_flexible_grow_mode"
>
wxFLEX_GROWMODE_SPECIFIED
</property>
<property
name=
"non_flexible_grow_mode"
>
wxFLEX_GROWMODE_SPECIFIED
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"rows"
>
0
</property>
<property
name=
"rows"
>
0
</property>
<property
name=
"vgap"
>
0
</property>
<property
name=
"vgap"
>
0
</property>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxChoice"
expanded=
"1"
>
<object
class=
"wxChoice"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -294,7 +294,17 @@
...
@@ -294,7 +294,17 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
></property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"spacer"
expanded=
"1"
>
<property
name=
"height"
>
0
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"width"
>
0
</property>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -377,7 +387,7 @@
...
@@ -377,7 +387,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL
</property>
<property
name=
"flag"
>
wxALL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxChoice"
expanded=
"1"
>
<object
class=
"wxChoice"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -463,9 +473,19 @@
...
@@ -463,9 +473,19 @@
<event
name=
"OnUpdateUI"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
></property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"spacer"
expanded=
"1"
>
<property
name=
"height"
>
0
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"width"
>
0
</property>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -548,7 +568,7 @@
...
@@ -548,7 +568,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
1
</property>
<object
class=
"wxChoice"
expanded=
"0"
>
<object
class=
"wxChoice"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -564,7 +584,7 @@
...
@@ -564,7 +584,7 @@
<property
name=
"caption"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"choices"
>
"
from Design Rules
"
"
m
anual
"
</property>
<property
name=
"choices"
>
"
From Design Rules
"
"
M
anual
"
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"context_menu"
>
1
</property>
...
@@ -634,9 +654,19 @@
...
@@ -634,9 +654,19 @@
<event
name=
"OnUpdateUI"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
></property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"spacer"
expanded=
"1"
>
<property
name=
"height"
>
0
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"width"
>
0
</property>
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"0"
>
<object
class=
"wxStaticText"
expanded=
"0"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -719,190 +749,176 @@
...
@@ -719,190 +749,176 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL|wxEXPAND
</property>
<property
name=
"proportion"
>
1
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxGridSizer"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"cols"
>
2
</property>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maxlength"
></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_targetLengthText
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</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=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<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=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
unit
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"min_size"
></property>
<property
name=
"minimize_button"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
<property
name=
"name"
>
gSizer2
</property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"permission"
>
none
</property>
<property
name=
"name"
>
m_targetLengthUnit
</property>
<property
name=
"rows"
>
0
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"vgap"
>
0
</property>
<property
name=
"pane_position"
></property>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"pane_size"
></property>
<property
name=
"border"
>
5
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"pos"
></property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"resize"
>
Resizable
</property>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"show"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"size"
></property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"style"
></property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"subclass"
></property>
<property
name=
"aui_layer"
></property>
<property
name=
"toolbar_pane"
>
0
</property>
<property
name=
"aui_name"
></property>
<property
name=
"tooltip"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"window_name"
></property>
<property
name=
"best_size"
></property>
<property
name=
"window_style"
></property>
<property
name=
"bg"
></property>
<property
name=
"wrap"
>
-1
</property>
<property
name=
"caption"
></property>
<event
name=
"OnChar"
></event>
<property
name=
"caption_visible"
>
1
</property>
<event
name=
"OnEnterWindow"
></event>
<property
name=
"center_pane"
>
0
</property>
<event
name=
"OnEraseBackground"
></event>
<property
name=
"close_button"
>
1
</property>
<event
name=
"OnKeyDown"
></event>
<property
name=
"context_help"
></property>
<event
name=
"OnKeyUp"
></event>
<property
name=
"context_menu"
>
1
</property>
<event
name=
"OnKillFocus"
></event>
<property
name=
"default_pane"
>
0
</property>
<event
name=
"OnLeaveWindow"
></event>
<property
name=
"dock"
>
Dock
</property>
<event
name=
"OnLeftDClick"
></event>
<property
name=
"dock_fixed"
>
0
</property>
<event
name=
"OnLeftDown"
></event>
<property
name=
"docking"
>
Left
</property>
<event
name=
"OnLeftUp"
></event>
<property
name=
"enabled"
>
1
</property>
<event
name=
"OnMiddleDClick"
></event>
<property
name=
"fg"
></property>
<event
name=
"OnMiddleDown"
></event>
<property
name=
"floatable"
>
1
</property>
<event
name=
"OnMiddleUp"
></event>
<property
name=
"font"
></property>
<event
name=
"OnMotion"
></event>
<property
name=
"gripper"
>
0
</property>
<event
name=
"OnMouseEvents"
></event>
<property
name=
"hidden"
>
0
</property>
<event
name=
"OnMouseWheel"
></event>
<property
name=
"id"
>
wxID_ANY
</property>
<event
name=
"OnPaint"
></event>
<property
name=
"max_size"
></property>
<event
name=
"OnRightDClick"
></event>
<property
name=
"maximize_button"
>
0
</property>
<event
name=
"OnRightDown"
></event>
<property
name=
"maximum_size"
></property>
<event
name=
"OnRightUp"
></event>
<property
name=
"maxlength"
></property>
<event
name=
"OnSetFocus"
></event>
<property
name=
"min_size"
></property>
<event
name=
"OnSize"
></event>
<property
name=
"minimize_button"
>
0
</property>
<event
name=
"OnUpdateUI"
></event>
<property
name=
"minimum_size"
></property>
<property
name=
"moveable"
>
1
</property>
<property
name=
"name"
>
m_targetLengthText
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</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=
"value"
></property>
<property
name=
"window_extra_style"
></property>
<property
name=
"window_name"
></property>
<property
name=
"window_style"
></property>
<event
name=
"OnChar"
></event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<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=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxALL
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"LeftDockable"
>
1
</property>
<property
name=
"RightDockable"
>
1
</property>
<property
name=
"TopDockable"
>
1
</property>
<property
name=
"aui_layer"
></property>
<property
name=
"aui_name"
></property>
<property
name=
"aui_position"
></property>
<property
name=
"aui_row"
></property>
<property
name=
"best_size"
></property>
<property
name=
"bg"
></property>
<property
name=
"caption"
></property>
<property
name=
"caption_visible"
>
1
</property>
<property
name=
"center_pane"
>
0
</property>
<property
name=
"close_button"
>
1
</property>
<property
name=
"context_help"
></property>
<property
name=
"context_menu"
>
1
</property>
<property
name=
"default_pane"
>
0
</property>
<property
name=
"dock"
>
Dock
</property>
<property
name=
"dock_fixed"
>
0
</property>
<property
name=
"docking"
>
Left
</property>
<property
name=
"enabled"
>
1
</property>
<property
name=
"fg"
></property>
<property
name=
"floatable"
>
1
</property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"label"
>
unit
</property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></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_targetLengthUnit
</property>
<property
name=
"pane_border"
>
1
</property>
<property
name=
"pane_position"
></property>
<property
name=
"pane_size"
></property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"pin_button"
>
1
</property>
<property
name=
"pos"
></property>
<property
name=
"resize"
>
Resizable
</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=
"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>
<event
name=
"OnKeyDown"
></event>
<event
name=
"OnKeyUp"
></event>
<event
name=
"OnKillFocus"
></event>
<event
name=
"OnLeaveWindow"
></event>
<event
name=
"OnLeftDClick"
></event>
<event
name=
"OnLeftDown"
></event>
<event
name=
"OnLeftUp"
></event>
<event
name=
"OnMiddleDClick"
></event>
<event
name=
"OnMiddleDown"
></event>
<event
name=
"OnMiddleUp"
></event>
<event
name=
"OnMotion"
></event>
<event
name=
"OnMouseEvents"
></event>
<event
name=
"OnMouseWheel"
></event>
<event
name=
"OnPaint"
></event>
<event
name=
"OnRightDClick"
></event>
<event
name=
"OnRightDown"
></event>
<event
name=
"OnRightUp"
></event>
<event
name=
"OnSetFocus"
></event>
<event
name=
"OnSize"
></event>
<event
name=
"OnUpdateUI"
></event>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
...
@@ -1009,7 +1025,7 @@
...
@@ -1009,7 +1025,7 @@
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<object
class=
"wxFlexGridSizer"
expanded=
"1"
>
<property
name=
"cols"
>
3
</property>
<property
name=
"cols"
>
3
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"flexible_direction"
>
wxBOTH
</property>
<property
name=
"growablecols"
>
2
</property>
<property
name=
"growablecols"
>
1
</property>
<property
name=
"growablerows"
></property>
<property
name=
"growablerows"
></property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"hgap"
>
0
</property>
<property
name=
"minimum_size"
></property>
<property
name=
"minimum_size"
></property>
...
@@ -1020,7 +1036,7 @@
...
@@ -1020,7 +1036,7 @@
<property
name=
"vgap"
>
0
</property>
<property
name=
"vgap"
>
0
</property>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1103,7 +1119,7 @@
...
@@ -1103,7 +1119,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1194,7 +1210,7 @@
...
@@ -1194,7 +1210,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1277,7 +1293,7 @@
...
@@ -1277,7 +1293,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1360,7 +1376,7 @@
...
@@ -1360,7 +1376,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1451,7 +1467,7 @@
...
@@ -1451,7 +1467,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1534,7 +1550,7 @@
...
@@ -1534,7 +1550,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1617,7 +1633,7 @@
...
@@ -1617,7 +1633,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1708,7 +1724,7 @@
...
@@ -1708,7 +1724,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1791,7 +1807,7 @@
...
@@ -1791,7 +1807,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxAL
L|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxAL
IGN_CENTER_VERTICAL|wxRIGHT|wxLEFT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1874,7 +1890,7 @@
...
@@ -1874,7 +1890,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
</property>
<property
name=
"flag"
>
wxALL|wxALIGN_CENTER_VERTICAL
|wxEXPAND
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<object
class=
"wxTextCtrl"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -1965,7 +1981,7 @@
...
@@ -1965,7 +1981,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"1"
>
<object
class=
"sizeritem"
expanded=
"1"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wx
TOP|wxBOTTOM|wx
RIGHT
</property>
<property
name=
"flag"
>
wxALIGN_CENTER_VERTICAL|wxRIGHT
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStaticText"
expanded=
"1"
>
<object
class=
"wxStaticText"
expanded=
"1"
>
<property
name=
"BottomDockable"
>
1
</property>
<property
name=
"BottomDockable"
>
1
</property>
...
@@ -2223,7 +2239,7 @@
...
@@ -2223,7 +2239,7 @@
</object>
</object>
<object
class=
"sizeritem"
expanded=
"0"
>
<object
class=
"sizeritem"
expanded=
"0"
>
<property
name=
"border"
>
5
</property>
<property
name=
"border"
>
5
</property>
<property
name=
"flag"
>
wxEXPAND|wx
TOP|wxBOTTOM
</property>
<property
name=
"flag"
>
wxEXPAND|wx
ALL
</property>
<property
name=
"proportion"
>
0
</property>
<property
name=
"proportion"
>
0
</property>
<object
class=
"wxStdDialogButtonSizer"
expanded=
"0"
>
<object
class=
"wxStdDialogButtonSizer"
expanded=
"0"
>
<property
name=
"Apply"
>
0
</property>
<property
name=
"Apply"
>
0
</property>
...
@@ -2238,7 +2254,7 @@
...
@@ -2238,7 +2254,7 @@
<property
name=
"name"
>
m_stdButtons
</property>
<property
name=
"name"
>
m_stdButtons
</property>
<property
name=
"permission"
>
protected
</property>
<property
name=
"permission"
>
protected
</property>
<event
name=
"OnApplyButtonClick"
></event>
<event
name=
"OnApplyButtonClick"
></event>
<event
name=
"OnCancelButtonClick"
>
OnCancelClick
</event>
<event
name=
"OnCancelButtonClick"
></event>
<event
name=
"OnContextHelpButtonClick"
></event>
<event
name=
"OnContextHelpButtonClick"
></event>
<event
name=
"OnHelpButtonClick"
></event>
<event
name=
"OnHelpButtonClick"
></event>
<event
name=
"OnNoButtonClick"
></event>
<event
name=
"OnNoButtonClick"
></event>
...
...
pcbnew/dialogs/dialog_pns_length_tuning_settings_base.h
View file @
425ddb92
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun
6
2014)
// C++ code generated with wxFormBuilder (version Jun
5
2014)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -71,14 +71,12 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE : public DIALOG_SHIM
...
@@ -71,14 +71,12 @@ class DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE : public DIALOG_SHIM
wxButton
*
m_stdButtonsCancel
;
wxButton
*
m_stdButtonsCancel
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnCancelClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
public
:
public
:
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Trace length tuning"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
345
,
668
),
long
style
=
wxDEFAULT_DIALOG_STYLE
);
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"Trace length tuning"
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
404
,
565
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
);
~
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
();
~
DIALOG_PNS_LENGTH_TUNING_SETTINGS_BASE
();
};
};
...
...
pcbnew/onrightclick.cpp
View file @
425ddb92
...
@@ -605,7 +605,7 @@ void PCB_EDIT_FRAME::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
...
@@ -605,7 +605,7 @@ void PCB_EDIT_FRAME::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
{
{
msg
=
AddHotkeyName
(
_
(
"Place Blind/Buried Via"
),
msg
=
AddHotkeyName
(
_
(
"Place Blind/Buried Via"
),
g_Board_Editor_Hokeys_Descr
,
HK_ADD_BLIND_BURIED_VIA
);
g_Board_Editor_Hokeys_Descr
,
HK_ADD_BLIND_BURIED_VIA
);
AddMenuItem
(
PopMenu
,
ID_POPUP_PCB_PLACE_BLIND_BURIED_VIA
,
msg
,
KiBitmap
(
via_xpm
)
);
AddMenuItem
(
PopMenu
,
ID_POPUP_PCB_PLACE_BLIND_BURIED_VIA
,
msg
,
KiBitmap
(
via_
buried_
xpm
)
);
msg
=
AddHotkeyName
(
_
(
"Select Layer and Place Blind/Buried Via"
),
msg
=
AddHotkeyName
(
_
(
"Select Layer and Place Blind/Buried Via"
),
g_Board_Editor_Hokeys_Descr
,
HK_SEL_LAYER_AND_ADD_BLIND_BURIED_VIA
);
g_Board_Editor_Hokeys_Descr
,
HK_SEL_LAYER_AND_ADD_BLIND_BURIED_VIA
);
...
@@ -623,7 +623,7 @@ void PCB_EDIT_FRAME::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
...
@@ -623,7 +623,7 @@ void PCB_EDIT_FRAME::createPopupMenuForTracks( TRACK* Track, wxMenu* PopMenu )
{
{
msg
=
AddHotkeyName
(
_
(
"Place Micro Via"
),
g_Board_Editor_Hokeys_Descr
,
msg
=
AddHotkeyName
(
_
(
"Place Micro Via"
),
g_Board_Editor_Hokeys_Descr
,
HK_ADD_MICROVIA
);
HK_ADD_MICROVIA
);
PopMenu
->
Append
(
ID_POPUP_PCB_PLACE_MICROVIA
,
msg
);
AddMenuItem
(
PopMenu
,
ID_POPUP_PCB_PLACE_MICROVIA
,
msg
,
KiBitmap
(
via_microvia_xpm
)
);
}
}
}
}
...
...
pcbnew/router/pns_tool_base.cpp
View file @
425ddb92
...
@@ -58,7 +58,7 @@ using boost::optional;
...
@@ -58,7 +58,7 @@ using boost::optional;
TOOL_ACTION
PNS_TOOL_BASE
::
ACT_RouterOptions
(
"pcbnew.InteractiveRouter.RouterOptions"
,
TOOL_ACTION
PNS_TOOL_BASE
::
ACT_RouterOptions
(
"pcbnew.InteractiveRouter.RouterOptions"
,
AS_CONTEXT
,
'E'
,
AS_CONTEXT
,
'E'
,
_
(
"Routing Options..."
),
_
(
"Routing Options..."
),
_
(
"Shows a dialog containing router options."
)
);
_
(
"Shows a dialog containing router options."
)
,
tools_xpm
);
PNS_TOOL_BASE
::
PNS_TOOL_BASE
(
const
std
::
string
&
aToolName
)
:
PNS_TOOL_BASE
::
PNS_TOOL_BASE
(
const
std
::
string
&
aToolName
)
:
...
...
pcbnew/router/pns_walkaround.h
View file @
425ddb92
...
@@ -45,6 +45,7 @@ public:
...
@@ -45,6 +45,7 @@ public:
// Initialize other members, to avoid uninitialized variables.
// Initialize other members, to avoid uninitialized variables.
m_recursiveBlockageCount
=
0
;
m_recursiveBlockageCount
=
0
;
m_recursiveCollision
[
0
]
=
m_recursiveCollision
[
1
]
=
false
;
m_iteration
=
0
;
m_iteration
=
0
;
m_forceCw
=
false
;
m_forceCw
=
false
;
}
}
...
...
pcbnew/router/router_tool.cpp
View file @
425ddb92
...
@@ -64,23 +64,39 @@ static TOOL_ACTION ACT_AutoEndRoute( "pcbnew.InteractiveRouter.AutoEndRoute", AS
...
@@ -64,23 +64,39 @@ static TOOL_ACTION ACT_AutoEndRoute( "pcbnew.InteractiveRouter.AutoEndRoute", AS
static
TOOL_ACTION
ACT_Drag
(
"pcbnew.InteractiveRouter.Drag"
,
AS_CONTEXT
,
'G'
,
static
TOOL_ACTION
ACT_Drag
(
"pcbnew.InteractiveRouter.Drag"
,
AS_CONTEXT
,
'G'
,
_
(
"Drag Track/Via"
),
_
(
"Drags a track or a via."
),
drag_track_segment_xpm
);
_
(
"Drag Track/Via"
),
_
(
"Drags a track or a via."
),
drag_track_segment_xpm
);
static
TOOL_ACTION
ACT_PlaceThroughVia
(
"pcbnew.InteractiveRouter.PlaceVia"
,
AS_CONTEXT
,
'V'
,
static
TOOL_ACTION
ACT_PlaceThroughVia
(
"pcbnew.InteractiveRouter.PlaceVia"
,
_
(
"Place Through Via"
),
_
(
"Adds a through-hole via at the end of currently routed track."
),
via_xpm
);
AS_CONTEXT
,
'V'
,
_
(
"Place Through Via"
),
static
TOOL_ACTION
ACT_PlaceBlindVia
(
"pcbnew.InteractiveRouter.PlaceBlindVia"
,
AS_CONTEXT
,
'Z'
,
_
(
"Adds a through-hole via at the end of currently routed track."
),
_
(
"Place Blind/Buried Via"
),
_
(
"Adds a blind or buried via at the end of currently routed track."
)
);
via_xpm
);
static
TOOL_ACTION
ACT_PlaceMicroVia
(
"pcbnew.InteractiveRouter.PlaceMicroVia"
,
AS_CONTEXT
,
'Q'
,
static
TOOL_ACTION
ACT_PlaceBlindVia
(
"pcbnew.InteractiveRouter.PlaceBlindVia"
,
_
(
"Place Microvia"
),
_
(
"Adds a microvia at the end of currently routed track."
)
);
AS_CONTEXT
,
'Z'
,
_
(
"Place Blind/Buried Via"
),
static
TOOL_ACTION
ACT_CustomTrackWidth
(
"pcbnew.InteractiveRouter.CustomTrackWidth"
,
AS_CONTEXT
,
'W'
,
_
(
"Adds a blind or buried via at the end of currently routed track."
),
_
(
"Custom Track Width"
),
_
(
"Shows a dialog for changing the track width and via size."
)
);
via_buried_xpm
);
static
TOOL_ACTION
ACT_PlaceMicroVia
(
"pcbnew.InteractiveRouter.PlaceMicroVia"
,
AS_CONTEXT
,
'Q'
,
_
(
"Place Microvia"
),
_
(
"Adds a microvia at the end of currently routed track."
),
via_microvia_xpm
);
static
TOOL_ACTION
ACT_CustomTrackWidth
(
"pcbnew.InteractiveRouter.CustomTrackWidth"
,
AS_CONTEXT
,
'W'
,
_
(
"Custom Track Width"
),
_
(
"Shows a dialog for changing the track width and via size."
),
width_track_xpm
);
static
TOOL_ACTION
ACT_SwitchPosture
(
"pcbnew.InteractiveRouter.SwitchPosture"
,
AS_CONTEXT
,
'/'
,
static
TOOL_ACTION
ACT_SwitchPosture
(
"pcbnew.InteractiveRouter.SwitchPosture"
,
AS_CONTEXT
,
'/'
,
_
(
"Switch Track Posture"
),
_
(
"Switches posture of the currenly routed track."
),
change_entry_orient_xpm
);
_
(
"Switch Track Posture"
),
_
(
"Switches posture of the currenly routed track."
),
static
TOOL_ACTION
ACT_SetDpDimensions
(
"pcbnew.InteractiveRouter.SetDpDimensions"
,
AS_CONTEXT
,
'D'
,
change_entry_orient_xpm
);
_
(
"Differential Pair Dimensions..."
),
_
(
"Sets the width and gap of the currently routed differential pair."
)
);
static
TOOL_ACTION
ACT_SetDpDimensions
(
"pcbnew.InteractiveRouter.SetDpDimensions"
,
AS_CONTEXT
,
'D'
,
_
(
"Differential Pair Dimensions..."
),
_
(
"Sets the width and gap of the currently routed differential pair."
),
ps_diff_pair_tune_length_xpm
);
ROUTER_TOOL
::
ROUTER_TOOL
()
:
ROUTER_TOOL
::
ROUTER_TOOL
()
:
...
...
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