-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.rsrc.py
More file actions
112 lines (99 loc) · 2.24 KB
/
main.rsrc.py
File metadata and controls
112 lines (99 loc) · 2.24 KB
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
{'application':{'type':'Application',
'name':'Template',
'backgrounds': [
{'type':'Background',
'name':'bgTemplate',
'title':u'Standard Template with no menus',
'size':(944, 649),
'menubar': {'type':'MenuBar',
'menus': [
{'type':'Menu',
'name':'menuFile',
'label':u'File',
'items': [
{'type':'MenuItem',
'name':'menuFileAbout',
'label':u'About',
'command':'about',
},
]
},
]
},
'components': [
{'type':'Button',
'name':'Refresh',
'position':(740, 85),
'command':'refresh',
'label':'Refresh',
},
{'type':'Button',
'name':'deleteRecord',
'position':(625, 85),
'command':'delrec',
'label':'Delete Record',
},
{'type':'Button',
'name':'appendRecord',
'position':(505, 85),
'command':'addrec',
'label':'Append Record',
},
{'type':'TextField',
'name':'filter',
'position':(70, 85),
'size':(410, -1),
'text':'filter',
},
{'type':'StaticText',
'name':'Filter',
'position':(20, 90),
'size':(44, -1),
'alignment':'right',
'text':'Filter:',
},
{'type':'StaticText',
'name':'Table',
'position':(590, 60),
'size':(47, -1),
'alignment':'right',
'text':'Table:',
},
{'type':'StaticText',
'name':'DSN',
'position':(20, 60),
'size':(42, -1),
'alignment':'right',
'text':'DSN:',
},
{'type':'ComboBox',
'name':'tableList',
'position':(645, 55),
'size':(240, -1),
'items':[],
'text':'tableList',
},
{'type':'ComboBox',
'name':'DSNList',
'position':(70, 55),
'size':(495, -1),
'items':[],
'text':'DSNList',
},
{'type':'StaticText',
'name':'title',
'position':(120, 10),
'size':(652, 32),
'alignment':'center',
'font':{'faceName': u'Segoe UI', 'family': 'sansSerif', 'size': 14},
'text':'title',
},
{'type':'Grid',
'name':'myGrid',
'position':(10, 120),
'size':(900, 450),
},
] # end components
} # end background
] # end backgrounds
} }