1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'myMain.ui'
5 # Created: Thu Jun 19 11:40:51 2008
6 # by: The PyQt User Interface Compiler (pyuic) 3.16
8 # WARNING! All changes made in this file will be lost!
14 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
15 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
16 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
17 "\x74\x49\x44\x41\x54\x38\x8d\xed\xd5\xc1\x09\xc0" \
18 "\x20\x0c\x05\xd0\x6f\xe9\x36\x81\x2c\x10\xb2\xff" \
19 "\xdd\x85\xd2\x53\x85\xb6\xa9\x91\x48\x0f\x05\x3f" \
20 "\x08\x1a\xf0\x29\x12\x10\xf8\x28\xc5\xa9\xd9\xc4" \
21 "\xde\x96\xcd\x2b\x9a\xd9\xeb\x00\x00\x66\x0e\x2f" \
22 "\xe0\xc2\x51\x98\x39\xc4\xf7\x0c\x4c\x44\x6d\x5e" \
23 "\x6b\x35\x38\xcf\x92\x82\x45\xe4\xb2\xf6\xf0\x14" \
24 "\xac\xaa\x8f\xda\x1d\x4f\xc1\xa5\x74\x1b\x22\x07" \
25 "\x9f\x9d\x11\x1d\x96\xea\x8a\x91\x2c\x78\xc1\x0b" \
26 "\xee\x64\xe6\x07\x19\xf5\x7e\x92\x03\xad\x45\x2a" \
27 "\x04\xcc\x4e\x50\x20\x00\x00\x00\x00\x49\x45\x4e" \
28 "\x44\xae\x42\x60\x82"
30 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
31 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
32 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
33 "\x99\x49\x44\x41\x54\x38\x8d\xed\x94\x41\x0e\x85" \
34 "\x20\x0c\x44\x5f\x89\xc7\x36\x7f\x61\xbc\x77\x5d" \
35 "\x28\x48\xa4\x28\x60\xff\xce\xd9\x54\x8b\xbe\x8e" \
36 "\x13\x04\x3e\x1d\x92\x81\x77\xf4\x81\xa1\x23\xdc" \
37 "\x2b\x34\xf6\xf4\x7a\x3d\xe2\xb8\x65\xa8\x84\x3f" \
38 "\x40\x01\x98\x2a\x0b\x3d\x5f\x62\xc5\x83\x00\xaa" \
39 "\x1a\xd7\x05\x50\x44\x9a\xb9\xd5\x07\xa7\x73\xa8" \
40 "\xa4\xba\x4f\x92\xa2\xdf\x33\x3c\x64\xc6\x3b\xeb" \
41 "\xbd\x82\xe5\xb8\xad\xde\xcb\xcc\x78\x20\xeb\x42" \
42 "\x66\xc6\x39\x74\x5d\xfa\x80\xf3\x6f\xaf\x66\xc6" \
43 "\x6f\xa1\x9c\x3f\x88\x2f\xb4\x70\xec\x05\xcd\xc0" \
44 "\xbe\xd0\x78\x93\xf6\x8e\x17\x14\x92\x63\x5f\x68" \
45 "\x6c\x3e\xef\xf6\xba\x3c\x8f\xdd\x36\x6d\xc4\xc0" \
46 "\x45\x2c\x87\x81\xf8\x08\x00\x00\x00\x00\x49\x45" \
47 "\x4e\x44\xae\x42\x60\x82"
49 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
50 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
51 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
52 "\xa0\x49\x44\x41\x54\x38\x8d\xd5\x95\x4d\x0a\x80" \
53 "\x20\x10\x85\x9f\xd1\x46\x68\xe1\x8d\xe6\x62\xd2" \
54 "\x22\xbc\x98\x37\x6a\x21\xb4\xac\x45\x19\x92\xc6" \
55 "\x64\x69\xe0\xb7\xf1\x87\xf1\xf1\x1c\x47\x05\x2a" \
56 "\x21\x8e\x76\x2d\xad\xdb\xfb\x9e\x99\xf6\x56\x8f" \
57 "\x80\xb5\x36\x4b\x85\x88\xce\x35\x44\x04\x00\xe8" \
58 "\x0a\x39\x8c\xe8\xf9\x90\x34\xd2\x29\x2c\xc3\x7c" \
59 "\x8e\xbd\x53\x0f\xeb\x58\x3a\x05\xe9\x54\x34\x1f" \
60 "\x8a\x02\x7b\x2a\x7d\x3a\x1f\x09\xbf\x85\x4d\xc5" \
61 "\xd5\xd9\x53\xaa\x39\x6e\x4f\x38\xca\xb1\x99\xe2" \
62 "\xd2\xe1\x08\xab\xe1\x56\xf8\x2e\x30\x97\x7f\xcb" \
63 "\x4d\x8f\xf9\x42\xd7\x5d\xbe\xbe\xd2\xe1\x43\x95" \
64 "\x3a\x93\xf6\xca\xad\x3d\x61\x11\xf4\x4b\x7d\x4f" \
65 "\x82\x0f\xf9\xc0\x06\x9b\xb5\x1e\xcd\xed\x31\x8c" \
66 "\x5c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60" \
69 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
70 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
71 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
72 "\x73\x49\x44\x41\x54\x38\x8d\xed\x92\xc1\x0e\x80" \
73 "\x20\x08\x40\xb1\xef\x66\x1d\x1c\xff\x4d\x87\x6a" \
74 "\xa8\x88\xa1\x76\x69\xf9\x36\x0f\x28\x3e\xd8\x00" \
75 "\x60\xf1\x59\x42\x5f\x3a\x71\xf5\x36\x02\xe0\x8e" \
76 "\x99\x2b\x09\x88\x01\xd0\x28\x54\x17\x6a\xe4\x7f" \
77 "\x21\xce\x1f\xb5\xb0\x5d\x38\xed\xdc\x90\x60\xd0" \
78 "\xf1\x13\x79\x63\x5b\x3b\xc9\x2b\xd5\x18\xe2\x39" \
79 "\xa9\x43\xec\x1d\x5a\xb7\x78\x5c\xee\x10\x7b\xe4" \
80 "\xb2\x15\xaf\x40\x91\xf8\x94\xde\x47\x18\x1e\xce" \
81 "\xa5\x9e\xde\x9e\xc5\x9f\x38\x00\x62\xac\x28\xb1" \
82 "\xe3\xd7\x01\xd9\x00\x00\x00\x00\x49\x45\x4e\x44" \
85 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
86 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
87 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
88 "\x74\x49\x44\x41\x54\x38\x8d\xed\x92\xc1\x0a\xc0" \
89 "\x20\x08\x40\x6d\xdf\x2d\x3b\x84\xff\xed\x0e\xa3" \
90 "\x58\x6a\x26\xd1\x65\xe0\x83\x0e\xa5\x3e\x85\x04" \
91 "\x48\x7e\x4b\x91\x0f\x54\x89\xf1\x9e\xa5\xa3\xca" \
92 "\x0f\x8a\x89\x63\x65\xb3\x06\xc4\x2d\xd6\x13\xc6" \
93 "\x49\xbd\xc2\x59\x83\x16\x13\x62\x19\xf0\xf9\x36" \
94 "\xc0\xa2\xef\x00\xd7\x5a\x62\x61\x4d\x3a\xb2\x29" \
95 "\x96\xf2\xa3\x62\xff\xa3\x37\xc5\xeb\xed\xe9\x62" \
96 "\xaa\xd1\xa2\xe8\x4a\xaa\xa2\xf7\x50\xdd\x12\x74" \
97 "\x8c\x0f\xd0\xab\x93\x24\x67\x78\x00\x59\x6e\x28" \
98 "\xb1\x74\x3f\x46\x86\x00\x00\x00\x00\x49\x45\x4e" \
99 "\x44\xae\x42\x60\x82"
101 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
102 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
103 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
104 "\x82\x49\x44\x41\x54\x38\x8d\xcd\xd3\x41\x12\x80" \
105 "\x20\x08\x05\x50\xe8\xe0\x2e\xbc\x38\xad\x32\x73" \
106 "\x50\x3e\x48\x53\x7f\xe3\xe4\x8c\x4f\x24\x25\xfa" \
107 "\x28\xe2\x9c\x6f\x39\x92\x0b\xf9\x27\x6c\xb6\x01" \
108 "\x85\x35\x88\x77\x61\x13\x88\xc2\x57\x64\x18\xcd" \
109 "\xa0\x15\xf5\x20\xb4\xe6\xb5\x5b\xe1\x09\xdc\x06" \
110 "\x22\xb8\xe2\x2a\xcf\x31\x05\x6e\x18\xdf\xdf\xf8" \
111 "\x06\x06\xaa\x55\x1c\xc6\x35\x64\xc4\xdc\xf8\x0c" \
112 "\xd0\x20\x1d\x57\x7a\x5c\x85\xa8\x84\x5f\xdc\x02" \
113 "\x5e\xa5\x30\x7a\xfc\xcd\x07\xe2\x3a\x1d\xf2\x83" \
114 "\xec\x2b\x37\xd9\xad\x5f\xb4\xdf\xef\xd4\x9c\xfb" \
115 "\xf7\x2f\xac\x98\xc8\xcc\x89\x00\x00\x00\x00\x49" \
116 "\x45\x4e\x44\xae\x42\x60\x82"
118 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
119 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
120 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
121 "\xbf\x49\x44\x41\x54\x38\x8d\xd5\x93\x41\x0a\x83" \
122 "\x30\x10\x45\xdf\x48\x8e\xe5\x1d\xbc\x8c\x3b\xa9" \
123 "\x8b\xf4\x6a\x9e\xab\xd3\x85\x35\x0d\x26\x63\x62" \
124 "\x44\x4a\x3f\x0c\x42\x66\xfc\xf3\xf8\x24\xf0\x6f" \
125 "\x12\x40\x2b\x66\xda\x8c\x55\xf3\xde\x22\x12\xcf" \
126 "\x9d\x92\xcb\x98\xc0\xba\x2d\x7c\x45\x44\xcf\x9a" \
127 "\x07\x63\x8b\xba\xd5\x3c\x44\x91\x23\x5e\xcf\x7c" \
128 "\xc1\x62\x36\x97\xa9\x25\x40\xc1\x1f\xf4\xfd\xa7" \
129 "\x52\x75\x01\x5d\x24\xa9\x38\x9e\x7d\x6f\x53\xdf" \
130 "\x4f\xe4\xcc\xab\x32\x3e\xea\x0f\x03\xc0\xc4\xb2" \
131 "\xa0\x71\x2c\xe6\xad\xd8\x9b\x59\xb7\x66\x1c\x3b" \
132 "\xe0\x95\x98\x5f\x26\x16\x79\xee\x4e\xbc\xc2\x2c" \
133 "\x97\x88\x55\x1f\xe6\xa2\xcb\xc4\x96\x9a\x89\x4b" \
134 "\xcb\x6f\x23\xee\x36\x1a\xab\x62\xe2\x52\xc5\x72" \
135 "\x94\xdf\xbf\xb6\x10\xbb\xf2\xc8\x97\xb8\xa4\x6c" \
136 "\xc6\x67\x7e\xaa\x51\x95\x71\xfa\x08\x7e\xa8\x37" \
137 "\x62\xda\x9a\xba\xcb\x20\x23\x5f\x00\x00\x00\x00" \
138 "\x49\x45\x4e\x44\xae\x42\x60\x82"
140 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
141 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
142 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
143 "\xd5\x49\x44\x41\x54\x38\x8d\xc5\x95\x5d\x0a\x84" \
144 "\x30\x0c\x84\x27\xe2\xa9\x0a\x9e\x6c\x8b\x0f\x4b" \
145 "\x3d\xd9\x82\xd7\xca\x3e\x58\xd7\xfe\x4c\xd0\xba" \
146 "\x5d\x76\x40\x02\x4d\xf2\x65\xda\x0a\x05\x7e\x24" \
147 "\x39\xc9\xeb\x8d\x9e\xaa\x88\x41\xa0\xc9\xaa\xd8" \
148 "\xc8\x2a\xb3\x2f\x9c\x42\x5b\xe1\xe3\x0e\x0d\xcf" \
149 "\x00\xc0\x03\x08\xf0\xb3\xa7\xa0\x74\x10\xa9\xd7" \
150 "\x14\x2e\x00\xb4\x2c\x5a\x5f\xab\x69\x6b\x97\x9b" \
151 "\x1c\x83\x7f\xc0\xc3\x16\xb6\xe4\x16\x5b\x64\xf7" \
152 "\x8d\x71\x63\x59\x91\x9b\xdc\x45\x70\xde\x47\xc0" \
153 "\x47\x32\xdd\x5e\x5b\xcc\x35\xf0\xc9\x77\x62\xae" \
154 "\x78\x79\x36\xdc\xcf\x75\x13\x57\x7e\x79\xf4\x8c" \
155 "\x4b\x27\xaa\x0f\x13\x27\xb2\x40\xf5\x11\x7f\xcb" \
156 "\xe3\x48\xaa\x33\xb6\xe0\x22\x4b\x05\x4d\x07\x46" \
157 "\xb8\x02\x5e\x2e\x3b\x3e\x73\xcd\xe0\xdd\x1c\x97" \
158 "\xf0\x2e\x8e\xd9\xd0\xaf\x1d\xb3\x81\x22\x4b\xdf" \
159 "\x33\xee\xe6\x98\xa9\x34\xa0\xf6\x17\xb4\x55\x40" \
160 "\xd0\x0b\xcf\x4c\xa0\x8f\xc0\xdf\xf4\x06\xe3\x25" \
161 "\xc1\x98\x1b\xc4\x18\x76\x00\x00\x00\x00\x49\x45" \
162 "\x4e\x44\xae\x42\x60\x82"
164 "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
165 "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
166 "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x02" \
167 "\x5d\x49\x44\x41\x54\x38\x8d\xd5\x93\xa1\x72\xdb" \
168 "\x40\x10\x86\x3f\x67\x0a\x56\xec\xc4\x22\x78\xd0" \
169 "\x65\x36\x93\xa0\xc2\x1c\x68\xd6\xc2\xe6\x0d\xf2" \
170 "\x1a\x81\x81\x11\x34\x94\x99\xc2\x54\xa8\x32\x9b" \
171 "\x55\xf0\xe0\x89\xdd\xb1\x5b\xa6\x02\xb7\x9d\x66" \
172 "\x92\xd6\x99\xb6\xd3\x99\xfe\xe8\x6e\x67\xe7\xdb" \
173 "\x7f\x77\xef\xe0\x7f\xd3\xe2\xc7\x4b\xd7\x75\xb3" \
174 "\x73\x0e\xef\x3d\x51\x15\x00\x23\x82\xb5\x16\x6b" \
175 "\x2d\x57\x57\x57\x8b\x17\x29\xbf\x02\xb7\x6d\x3b" \
176 "\x0f\x87\x03\xb9\x2d\x58\xae\xd7\x60\x04\x00\xef" \
177 "\x1c\xe3\xc7\x03\x06\xa8\xaa\x8a\xeb\xeb\xeb\x57" \
178 "\xc1\x17\xdf\xa0\x6d\xdb\x52\x5d\xd7\x54\xef\xb6" \
179 "\x00\xa8\x2a\x49\x13\x8a\x12\x35\x32\xec\x3a\xc4" \
180 "\x2b\x9b\xcd\xe6\x55\xce\x2f\xfa\xbe\x9f\x87\xc3" \
181 "\x40\xfd\xe1\x3d\xcb\x4d\x8d\xaa\xa2\x4e\x48\xee" \
182 "\x12\xc6\x82\x38\x08\xc1\x07\x96\x9b\x1a\x8a\x9c" \
183 "\xe3\xf1\xf8\xaa\x51\x5c\x38\xe7\xc8\xad\xa5\xaa" \
184 "\x6b\x00\xc4\x5f\x12\x9c\x67\xd2\x23\x93\x8c\x88" \
185 "\xe6\xc8\x60\xd1\x18\xb1\xd5\x92\xd1\x39\xba\xae" \
186 "\x9b\xcf\x83\xa7\x89\x65\xb5\x46\x51\x34\x80\x1b" \
187 "\x1d\x2e\x1f\x49\x45\xc0\xe3\x50\x09\x64\x08\xea" \
188 "\x15\x44\x90\xc2\xe0\xbd\x3f\xef\x58\x53\xc2\xe4" \
189 "\x86\xa0\x01\x9f\x4d\x84\xf5\x84\x18\x41\x83\x62" \
190 "\xb0\x40\x8e\x8b\x23\xc9\x24\x50\x10\x93\x31\x4d" \
191 "\xd3\x59\xf0\x1b\x80\x98\x14\x11\x20\x25\x14\x40" \
192 "\x15\xf1\x96\x4c\x0b\xbc\x1b\x48\x4b\x07\xe4\x68" \
193 "\x88\x80\xc0\x29\xeb\xd7\x8e\x41\x41\xf5\xb4\x34" \
194 "\xfd\x76\x86\x4c\x05\x3f\x1e\x08\x4b\x0f\x85\x80" \
195 "\x26\x54\x40\x63\x40\x44\xce\x83\x8b\xbc\xc0\x39" \
196 "\x87\xa6\x13\x50\xa3\xa2\x28\x5e\x1d\x5a\x44\x14" \
197 "\xd0\x70\x8a\xa5\x98\x08\x21\x62\xad\x3d\x0f\xb6" \
198 "\xd6\xe2\x87\xcf\xa4\x98\x50\x8d\x27\x40\x50\x44" \
199 "\x73\x70\x42\x8c\x91\xaf\x8d\x10\xfd\x44\x81\x60" \
200 "\x8c\x39\x0b\x5e\x00\xdc\xdd\xdd\xcd\x8e\x80\xa9" \
201 "\xde\x42\x02\x48\xe8\x04\x84\x08\x56\xf0\x3e\x02" \
202 "\x90\x7d\x72\x94\x65\xc9\xba\x5a\xe3\x46\x87\x31" \
203 "\xe6\xa7\x9f\xe5\x02\x60\xb5\x5a\x61\x02\xc4\xee" \
204 "\x40\xa6\x89\x4c\x33\xf2\xcb\x0c\xb1\x06\x51\x28" \
205 "\x14\xf8\xf8\x99\xb2\x2c\xb9\xb9\xb9\x59\xb8\xd1" \
206 "\xf1\xf8\xf8\x48\xd3\x34\xb4\x6d\xfb\xe2\x9b\xfe" \
207 "\x5e\xad\xef\xfb\xf9\x78\x3c\x32\x3a\x87\x18\x81" \
208 "\xec\xb4\x20\x0d\x11\x51\xa8\xeb\x9a\xed\x76\xbb" \
209 "\x00\x18\x86\x61\xee\xba\x8e\xfd\x7e\x8f\x31\x86" \
210 "\xed\x76\xcb\x6a\xb5\x7a\xe2\xfe\x59\x1b\x5d\xd7" \
211 "\xcd\xde\x7b\x62\x8c\x88\x08\x79\x9e\x63\xad\xa5" \
212 "\xaa\xaa\x67\xb9\xbb\xdd\x6e\x6e\x9a\x06\xef\x3d" \
213 "\x75\x5d\x3f\x29\xfe\xc7\xea\xfb\x7e\xbe\xbd\xbd" \
214 "\x9d\xad\xb5\x73\x59\x96\xf3\xfd\xfd\xfd\xfc\xa2" \
215 "\xe3\xdf\xd5\xc3\xc3\xc3\xdc\x34\x0d\xd3\x34\xb1" \
216 "\xd9\x6c\xfe\x1e\x18\x4e\x63\xdc\xef\xf7\xa4\x94" \
217 "\xfe\x26\xf6\x1f\xe9\x0b\xbc\x4c\x5e\x59\xd6\x14" \
218 "\xca\xf4\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42" \
221 class Eficas(QMainWindow):
222 def __init__(self,parent = None,name = None,fl = 0):
223 QMainWindow.__init__(self,parent,name,fl)
226 self.image0 = QPixmap()
227 self.image0.loadFromData(image0_data,"PNG")
228 self.image1 = QPixmap()
229 self.image1.loadFromData(image1_data,"PNG")
230 self.image2 = QPixmap()
231 self.image2.loadFromData(image2_data,"PNG")
232 self.image3 = QPixmap()
233 self.image3.loadFromData(image3_data,"PNG")
234 self.image4 = QPixmap()
235 self.image4.loadFromData(image4_data,"PNG")
236 self.image5 = QPixmap()
237 self.image5.loadFromData(image5_data,"PNG")
238 self.image6 = QPixmap()
239 self.image6.loadFromData(image6_data,"PNG")
240 self.image7 = QPixmap()
241 self.image7.loadFromData(image7_data,"PNG")
242 self.image8 = QPixmap()
243 self.image8.loadFromData(image8_data,"PNG")
245 self.setName("Eficas")
248 self.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,0,self.sizePolicy().hasHeightForWidth()))
249 self.setMinimumSize(QSize(21,336))
250 self.setBackgroundOrigin(QMainWindow.WidgetOrigin)
251 f = QFont(self.font())
254 self.setCentralWidget(QWidget(self,"qt_central_widget"))
256 self.line1 = QFrame(self.centralWidget(),"line1")
257 self.line1.setGeometry(QRect(-30,-10,930,20))
258 self.line1.setFrameShape(QFrame.HLine)
259 self.line1.setFrameShadow(QFrame.Sunken)
260 self.line1.setFrameShape(QFrame.HLine)
262 self.fileNewAction = QAction(self,"fileNewAction")
263 self.fileNewAction.setIconSet(QIconSet(self.image0))
264 self.fileOpenAction = QAction(self,"fileOpenAction")
265 self.fileOpenAction.setIconSet(QIconSet(self.image1))
266 self.fileSaveAction = QAction(self,"fileSaveAction")
267 self.fileSaveAction.setIconSet(QIconSet(self.image2))
268 self.fileSaveAsAction = QAction(self,"fileSaveAsAction")
269 self.fileExitAction = QAction(self,"fileExitAction")
270 self.editUndoAction = QAction(self,"editUndoAction")
271 self.editUndoAction.setEnabled(0)
272 self.editUndoAction.setIconSet(QIconSet(self.image3))
273 self.editRedoAction = QAction(self,"editRedoAction")
274 self.editRedoAction.setEnabled(0)
275 self.editRedoAction.setIconSet(QIconSet(self.image4))
276 self.editCutAction = QAction(self,"editCutAction")
277 self.editCutAction.setIconSet(QIconSet(self.image5))
278 self.editCopyAction = QAction(self,"editCopyAction")
279 self.editCopyAction.setIconSet(QIconSet(self.image6))
280 self.editPasteAction = QAction(self,"editPasteAction")
281 self.editPasteAction.setIconSet(QIconSet(self.image7))
282 self.jdcFichierResultatAction = QAction(self,"jdcFichierResultatAction")
283 self.jdcFichierResultatAction.setEnabled(1)
284 self.jdcFichierResultatAction.setIconSet(QIconSet(self.image8))
285 self.helpContentsAction = QAction(self,"helpContentsAction")
286 self.helpIndexAction = QAction(self,"helpIndexAction")
287 self.helpAboutAction = QAction(self,"helpAboutAction")
288 self.helpAboutAction.setOn(0)
289 self.fileSaveCloseAction = QAction(self,"fileSaveCloseAction")
290 self.fileCloseAction = QAction(self,"fileCloseAction")
291 self.fileNewViewAction = QAction(self,"fileNewViewAction")
292 self.fileNewViewAction.setEnabled(0)
293 self.fileCloseAllAction = QAction(self,"fileCloseAllAction")
294 self.jdcRapportDeValidationAction = QAction(self,"jdcRapportDeValidationAction")
295 self.jdcFichierSourceAction = QAction(self,"jdcFichierSourceAction")
296 self.traduitV7V8Action = QAction(self,"traduitV7V8Action")
297 self.aidenew_itemAction = QAction(self,"aidenew_itemAction")
298 self.fileNewInclude = QAction(self,"fileNewInclude")
299 self.optionEditeurAction = QAction(self,"optionEditeurAction")
300 self.optionPdfAction = QAction(self,"optionPdfAction")
303 self.toolBar = QToolBar(QString(""),self,Qt.DockTop)
305 self.toolBar.setFrameShape(QToolBar.MenuBarPanel)
306 self.toolBar.setHorizontallyStretchable(0)
307 self.fileNewAction.addTo(self.toolBar)
308 self.fileSaveAction.addTo(self.toolBar)
309 self.fileOpenAction.addTo(self.toolBar)
310 self.fileSaveAsAction.addTo(self.toolBar)
311 self.editCutAction.addTo(self.toolBar)
312 self.editPasteAction.addTo(self.toolBar)
313 self.jdcFichierResultatAction.addTo(self.toolBar)
314 self.fileExitAction.addTo(self.toolBar)
315 self.toolBar.addSeparator()
318 self.MenuBar = QMenuBar(self,"MenuBar")
320 self.MenuBar.setMargin(2)
322 self.Fichier = QPopupMenu(self)
323 self.fileNewAction.addTo(self.Fichier)
324 self.fileNewInclude.addTo(self.Fichier)
325 self.fileOpenAction.addTo(self.Fichier)
326 self.fileSaveAction.addTo(self.Fichier)
327 self.fileSaveAsAction.addTo(self.Fichier)
328 self.fileCloseAction.addTo(self.Fichier)
329 self.fileCloseAllAction.addTo(self.Fichier)
330 self.Fichier.insertSeparator()
331 self.Fichier.insertSeparator()
332 self.fileExitAction.addTo(self.Fichier)
333 self.MenuBar.insertItem(QString(""),self.Fichier,2)
335 self.Edition = QPopupMenu(self)
336 self.Edition.insertSeparator()
337 self.editCutAction.addTo(self.Edition)
338 self.editCopyAction.addTo(self.Edition)
339 self.editPasteAction.addTo(self.Edition)
340 self.MenuBar.insertItem(QString(""),self.Edition,3)
342 self.JdC = QPopupMenu(self)
343 self.jdcRapportDeValidationAction.addTo(self.JdC)
344 self.jdcFichierSourceAction.addTo(self.JdC)
345 self.jdcFichierResultatAction.addTo(self.JdC)
346 self.MenuBar.insertItem(QString(""),self.JdC,4)
348 self.Aide = QPopupMenu(self)
349 self.aidenew_itemAction.addTo(self.Aide)
350 self.MenuBar.insertItem(QString(""),self.Aide,5)
352 self.Options = QPopupMenu(self)
353 self.optionEditeurAction.addTo(self.Options)
354 self.optionPdfAction.addTo(self.Options)
355 self.MenuBar.insertItem(QString(""),self.Options,6)
357 self.Traduction = QPopupMenu(self)
358 self.traduitV7V8Action.addTo(self.Traduction)
359 self.MenuBar.insertItem(QString(""),self.Traduction,7)
361 self.Patrons = QPopupMenu(self)
362 self.MenuBar.insertItem(QString(""),self.Patrons,8)
365 self.languageChange()
367 self.resize(QSize(902,594).expandedTo(self.minimumSizeHint()))
368 self.clearWState(Qt.WState_Polished)
370 self.connect(self.fileNewAction,SIGNAL("activated()"),self.fileNew)
371 self.connect(self.fileOpenAction,SIGNAL("activated()"),self.fileOpen)
372 self.connect(self.fileSaveAction,SIGNAL("activated()"),self.fileSave)
373 self.connect(self.fileSaveAsAction,SIGNAL("activated()"),self.fileSaveAs)
374 self.connect(self.fileExitAction,SIGNAL("activated()"),self.fileExit)
375 self.connect(self.editUndoAction,SIGNAL("activated()"),self.editUndo)
376 self.connect(self.editRedoAction,SIGNAL("activated()"),self.editRedo)
377 self.connect(self.editCutAction,SIGNAL("activated()"),self.editCut)
378 self.connect(self.editPasteAction,SIGNAL("activated()"),self.editPaste)
379 self.connect(self.jdcFichierResultatAction,SIGNAL("activated()"),self.visuJdcPy)
380 self.connect(self.helpIndexAction,SIGNAL("activated()"),self.helpIndex)
381 self.connect(self.helpContentsAction,SIGNAL("activated()"),self.helpContents)
382 self.connect(self.helpAboutAction,SIGNAL("activated()"),self.helpAbout)
383 self.connect(self.fileCloseAction,SIGNAL("activated()"),self.fileClose)
384 self.connect(self.fileNewViewAction,SIGNAL("activated()"),self.fileNewView)
385 self.connect(self.fileCloseAllAction,SIGNAL("activated()"),self.fileCloseAll)
386 self.connect(self.editCopyAction,SIGNAL("activated()"),self.editCopy)
387 self.connect(self.jdcRapportDeValidationAction,SIGNAL("activated()"),self.jdcRapport)
388 self.connect(self.jdcFichierSourceAction,SIGNAL("activated()"),self.jdcFichierSource)
389 self.connect(self.traduitV7V8Action,SIGNAL("activated()"),self.traductionV7V8)
390 self.connect(self.aidenew_itemAction,SIGNAL("activated()"),self.helpAbout)
391 self.connect(self.fileNewInclude,SIGNAL("activated()"),self.NewInclude)
392 self.connect(self.optionEditeurAction,SIGNAL("activated()"),self.optionEditeur)
393 self.connect(self.optionPdfAction,SIGNAL("activated()"),self.optionPdf)
396 def languageChange(self):
397 self.setCaption(self.__tr("Eficas "))
398 self.fileNewAction.setText(self.__tr("Nouveau"))
399 self.fileNewAction.setMenuText(self.__tr("&Nouveau"))
400 self.fileNewAction.setAccel(self.__tr("Ctrl+N"))
401 self.fileOpenAction.setText(self.__tr("Ouvrir"))
402 self.fileOpenAction.setMenuText(self.__tr("&Ouvrir"))
403 self.fileOpenAction.setAccel(self.__tr("Ctrl+O"))
404 self.fileSaveAction.setText(self.__tr("Enregistrer"))
405 self.fileSaveAction.setMenuText(self.__tr("&Enregistrer"))
406 self.fileSaveAction.setAccel(self.__tr("Ctrl+E"))
407 self.fileSaveAsAction.setText(self.__tr("Enregistrer Sous"))
408 self.fileSaveAsAction.setMenuText(self.__tr("Enregistrer Sous"))
409 self.fileSaveAsAction.setAccel(QString.null)
410 self.fileExitAction.setText(self.__tr("Quitter"))
411 self.fileExitAction.setMenuText(self.__tr("Q&uitter"))
412 self.fileExitAction.setAccel(QString.null)
413 self.editUndoAction.setText(self.__tr("Undo"))
414 self.editUndoAction.setMenuText(self.__tr("&Undo"))
415 self.editUndoAction.setAccel(self.__tr("Ctrl+Z"))
416 self.editRedoAction.setText(self.__tr("Redo"))
417 self.editRedoAction.setMenuText(self.__tr("&Redo"))
418 self.editRedoAction.setAccel(self.__tr("Ctrl+Y"))
419 self.editCutAction.setText(self.__tr("Couper"))
420 self.editCutAction.setMenuText(self.__tr("C&ouper"))
421 self.editCutAction.setAccel(self.__tr("Ctrl+X"))
422 self.editCopyAction.setText(self.__tr("Copier"))
423 self.editCopyAction.setMenuText(self.__tr("&Copier"))
424 self.editCopyAction.setAccel(self.__tr("Ctrl+C"))
425 self.editPasteAction.setText(self.__tr("Coller"))
426 self.editPasteAction.setMenuText(self.__tr("&Coller"))
427 self.editPasteAction.setAccel(self.__tr("Ctrl+V"))
428 self.jdcFichierResultatAction.setText(self.__tr("Fichier Resultat"))
429 self.jdcFichierResultatAction.setMenuText(self.__tr("Fichier Resultat"))
430 self.jdcFichierResultatAction.setAccel(self.__tr("Ctrl+F"))
431 self.helpContentsAction.setText(self.__tr("Contents"))
432 self.helpContentsAction.setMenuText(self.__tr("&Contents..."))
433 self.helpContentsAction.setAccel(QString.null)
434 self.helpIndexAction.setText(self.__tr("Index"))
435 self.helpIndexAction.setMenuText(self.__tr("&Index..."))
436 self.helpIndexAction.setAccel(QString.null)
437 self.helpAboutAction.setText(self.__tr("About"))
438 self.helpAboutAction.setMenuText(self.__tr("&About"))
439 self.helpAboutAction.setAccel(QString.null)
440 self.fileSaveCloseAction.setText(self.__tr("Fermer"))
441 self.fileSaveCloseAction.setMenuText(self.__tr("Fermer"))
442 self.fileCloseAction.setText(self.__tr("Fermer"))
443 self.fileCloseAction.setMenuText(self.__tr("Fermer"))
444 self.fileCloseAction.setAccel(self.__tr("Ctrl+W"))
445 self.fileNewViewAction.setText(self.__tr("New view"))
446 self.fileCloseAllAction.setText(self.__tr("Tout Fermer"))
447 self.fileCloseAllAction.setMenuText(self.__tr("Tout Fermer"))
448 self.jdcRapportDeValidationAction.setText(self.__tr("Rapport de validation"))
449 self.jdcRapportDeValidationAction.setMenuText(self.__tr("Rapport de validation"))
450 self.jdcRapportDeValidationAction.setAccel(self.__tr("Ctrl+R"))
451 self.jdcFichierSourceAction.setText(self.__tr("Fichier source"))
452 self.jdcFichierSourceAction.setMenuText(self.__tr("Fichier source"))
453 self.jdcFichierSourceAction.setAccel(self.__tr("Ctrl+B"))
454 self.traduitV7V8Action.setText(self.__tr("traduitV7V8"))
455 self.traduitV7V8Action.setMenuText(self.__tr("traduitV7V8"))
456 self.aidenew_itemAction.setText(self.__tr("Eficas"))
457 self.fileNewInclude.setText(self.__tr("Nouvel Include"))
458 self.fileNewInclude.setMenuText(self.__tr("Nouvel Include"))
459 self.optionEditeurAction.setText(self.__tr("Parametres Eficas"))
460 self.optionEditeurAction.setMenuText(self.__tr("Parametres Eficas"))
461 self.optionPdfAction.setText(self.__tr("Lecteur Pdf"))
462 self.optionPdfAction.setMenuText(self.__tr("Lecteur Pdf"))
463 self.toolBar.setLabel(self.__tr("Tools"))
464 if self.MenuBar.findItem(2):
465 self.MenuBar.findItem(2).setText(self.__tr("&Fichier"))
466 if self.MenuBar.findItem(3):
467 self.MenuBar.findItem(3).setText(self.__tr("&Edition"))
468 if self.MenuBar.findItem(4):
469 self.MenuBar.findItem(4).setText(self.__tr("JdC"))
470 if self.MenuBar.findItem(5):
471 self.MenuBar.findItem(5).setText(self.__tr("&Aide"))
472 if self.MenuBar.findItem(6):
473 self.MenuBar.findItem(6).setText(self.__tr("Options"))
474 if self.MenuBar.findItem(7):
475 self.MenuBar.findItem(7).setText(self.__tr("Traduction"))
476 if self.MenuBar.findItem(8):
477 self.MenuBar.findItem(8).setText(self.__tr("Patrons"))
481 print "Eficas.fileNew(): Not implemented yet"
484 print "Eficas.fileOpen(): Not implemented yet"
487 print "Eficas.fileSave(): Not implemented yet"
489 def fileSaveAs(self):
490 print "Eficas.fileSaveAs(): Not implemented yet"
493 print "Eficas.filePrint(): Not implemented yet"
496 print "Eficas.fileExit(): Not implemented yet"
499 print "Eficas.editUndo(): Not implemented yet"
502 print "Eficas.editRedo(): Not implemented yet"
504 def jdcFichierSource(self):
505 print "Eficas.jdcFichierSource(): Not implemented yet"
507 def fileNewView(self):
508 print "Eficas.fileNewView(): Not implemented yet"
511 print "Eficas.editPaste(): Not implemented yet"
514 print "Eficas.visuJdcPy(): Not implemented yet"
517 print "Eficas.helpIndex(): Not implemented yet"
519 def helpContents(self):
520 print "Eficas.helpContents(): Not implemented yet"
523 print "Eficas.helpAbout(): Not implemented yet"
526 print "Eficas.fileClose(): Not implemented yet"
528 def fileCloseAll(self):
529 print "Eficas.fileCloseAll(): Not implemented yet"
531 def jdcRapport(self):
532 print "Eficas.jdcRapport(): Not implemented yet"
535 print "Eficas.editCut(): Not implemented yet"
538 print "Eficas.editCopy(): Not implemented yet"
540 def traductionV7V8(self):
541 print "Eficas.traductionV7V8(): Not implemented yet"
543 def NewInclude(self):
544 print "Eficas.NewInclude(): Not implemented yet"
546 def optionEditeur(self):
547 print "Eficas.optionEditeur(): Not implemented yet"
550 print "Eficas.optionPdf(): Not implemented yet"
552 def __tr(self,s,c = None):
553 return qApp.translate("Eficas",s,c)