-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathViasAlongPathDlg.py
115 lines (68 loc) · 4.27 KB
/
ViasAlongPathDlg.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# -*- coding: utf-8 -*-
###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################
import wx
import wx.xrc
###########################################################################
## Class ViasAlongPathDlg
###########################################################################
class ViasAlongPathDlg ( wx.Dialog ):
def __init__( self, parent ):
wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Vias Along Path", pos = wx.DefaultPosition, size = wx.Size( 350,500 ), style = wx.DEFAULT_DIALOG_STYLE )
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
bSizer_Main = wx.BoxSizer( wx.VERTICAL )
bSizer_Image = wx.BoxSizer( wx.VERTICAL )
self.m_bitmapHelp = wx.StaticBitmap( self, wx.ID_ANY, wx.NullBitmap, wx.DefaultPosition, wx.Size( -1,-1 ), 0 )
bSizer_Image.Add( self.m_bitmapHelp, 1, wx.EXPAND, 5 )
self.m_staticline2 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
bSizer_Image.Add( self.m_staticline2, 0, wx.EXPAND |wx.ALL, 5 )
bSizer_Main.Add( bSizer_Image, 1, wx.ALIGN_RIGHT|wx.EXPAND|wx.TOP|wx.BOTTOM, 5 )
fgSizer_Parameters = wx.FlexGridSizer( 4, 2, 0, 0 )
fgSizer_Parameters.SetFlexibleDirection( wx.BOTH )
fgSizer_Parameters.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
self.m_DistMM_Text = wx.StaticText( self, wx.ID_ANY, u"Via distance (mm)", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_DistMM_Text.Wrap( -1 )
fgSizer_Parameters.Add( self.m_DistMM_Text, 0, wx.ALL, 5 )
self.m_DistMM = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
fgSizer_Parameters.Add( self.m_DistMM, 0, wx.ALL, 5 )
self.m_SizeMM_Text = wx.StaticText( self, wx.ID_ANY, u"Via size (mm)", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_SizeMM_Text.Wrap( -1 )
fgSizer_Parameters.Add( self.m_SizeMM_Text, 0, wx.ALL, 5 )
self.m_SizeMM = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
fgSizer_Parameters.Add( self.m_SizeMM, 0, wx.ALL, 5 )
self.m_DrillMM_Text = wx.StaticText( self, wx.ID_ANY, u"Via drill (mm)", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_DrillMM_Text.Wrap( -1 )
fgSizer_Parameters.Add( self.m_DrillMM_Text, 0, wx.ALL, 5 )
self.m_DrillMM = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
fgSizer_Parameters.Add( self.m_DrillMM, 0, wx.ALL, 5 )
self.m_NetName_Text = wx.StaticText( self, wx.ID_ANY, u"Net name", wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_NetName_Text.Wrap( -1 )
fgSizer_Parameters.Add( self.m_NetName_Text, 1, wx.ALL, 5 )
m_NetNameChoices = []
self.m_NetName = wx.ComboBox( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, m_NetNameChoices, 0 )
fgSizer_Parameters.Add( self.m_NetName, 1, wx.ALL, 5 )
fgSizer_Parameters.Add( ( 0, 0), 1, wx.EXPAND, 5 )
self.m_DistributeVias = wx.CheckBox( self, wx.ID_ANY, u"Distribute vias", wx.DefaultPosition, wx.DefaultSize, 0 )
fgSizer_Parameters.Add( self.m_DistributeVias, 0, wx.ALL, 5 )
fgSizer_Parameters.Add( ( 0, 0), 1, wx.EXPAND, 5 )
self.m_endPointVia = wx.CheckBox( self, wx.ID_ANY, u"Force via on endpoint", wx.DefaultPosition, wx.DefaultSize, 0 )
fgSizer_Parameters.Add( self.m_endPointVia, 0, wx.ALL, 5 )
bSizer_Main.Add( fgSizer_Parameters, 0, wx.EXPAND|wx.ALL, 5 )
self.m_staticline3 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
bSizer_Main.Add( self.m_staticline3, 0, wx.EXPAND |wx.ALL, 5 )
bSizer_Buttons = wx.BoxSizer( wx.HORIZONTAL )
bSizer_Buttons.Add( ( 0, 0), 1, wx.EXPAND, 5 )
self.m_buttonRun = wx.Button( self, wx.ID_ANY, u"Run", wx.DefaultPosition, wx.DefaultSize, 0 )
bSizer_Buttons.Add( self.m_buttonRun, 0, wx.ALL|wx.ALIGN_BOTTOM, 5 )
self.m_buttonCancel = wx.Button( self, wx.ID_CANCEL, u"Cancel", wx.DefaultPosition, wx.DefaultSize, 0 )
bSizer_Buttons.Add( self.m_buttonCancel, 0, wx.ALIGN_BOTTOM|wx.ALL, 5 )
bSizer_Main.Add( bSizer_Buttons, 0, wx.EXPAND, 5 )
self.SetSizer( bSizer_Main )
self.Layout()
self.Centre( wx.BOTH )
def __del__( self ):
pass