CanvasWindowBase.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Form implementation generated from reading ui file 'CanvasWindowBase.ui'
3 **
4 ** Created by User Interface Compiler
5 **
6 ** WARNING! All changes made in this file will be lost!
7 ****************************************************************************/
8 
9 #include "CanvasWindowBase.h"
10 
11 #include <qvariant.h>
12 #include <qlayout.h>
13 #include <qtooltip.h>
14 #include <qwhatsthis.h>
15 #include <qaction.h>
16 #include <qmenubar.h>
17 #include <qpopupmenu.h>
18 #include <qtoolbar.h>
19 #include <qimage.h>
20 #include <qpixmap.h>
21 
22 static const char* const image0_data[] = {
23 "48 48 7 1",
24 ". c None",
25 "c c #0000ff",
26 "# c #4a4852",
27 "a c #52485a",
28 "e c #bdbab4",
29 "d c #ff0000",
30 "b c #ffffff",
31 "................................................",
32 "....#..............##....#..#...##.#............",
33 "..a..#...............#.#.#..a.a....#a...........",
34 ".............................#..................",
35 "................................................",
36 "..##............................................",
37 ".#.....bbbb.bbbbbbbbbbbbbbbb.bbbbbbbbbbbbbbbbb..",
38 "...#...bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..",
39 ".......bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb..",
40 ".......bbbbbbbbbb..bbbbbbbbbbbbbbbbbbbbbbbbbbb..",
41 ".......bbbbbbbbbb..bbccccccccccbbbbccccccccccb..",
42 ".......bbbbbbbbbb..bbbbccccccbbbbbbbbccccccbbb..",
43 "....a..bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
44 ".#.....bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
45 ".......bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
46 ".......bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
47 ".........bbbbbbbb..bbbbbccccbbbbbbbbbbccccbb....",
48 ".......bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
49 ".......bbbbbbbbbb..bbbbbccccbbbbbbbbbbccccbbbb..",
50 ".......bbbbbbbbb...bbbbbccccbbbbbbbbbbccccbbbb..",
51 "...#...bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
52 "....#..bbbbbbbbb.d.bbbbbccccccccccccccccccbbbb..",
53 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
54 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
55 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
56 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
57 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
58 ".......bbbbbbbbb.d.bbbbbccccbbbbbbbbbbccccbbbb..",
59 ".#.#...bbbbbbbbb.d..bbbbccccbbbbbbbbbbccccbbbb..",
60 ".........bbbbbbb.dd.bbbbccccbbbbbbbbbbccccbbbb..",
61 ".......bbbbbbbbb.dd.bbbbccccbbbbbbbbbbccccbb....",
62 ".......bbbbbbbbb.dd.bbbbccccbbbbbbbbbbccccbbbb..",
63 ".......bbbbbbbbb.dd.bbbccccccbbbbbbbbccccccbbb..",
64 ".......bbbbbbbbb.dd.bccccccccccbbbbccccccccccb..",
65 ".......bbbbbbbb..dd.bbbbbbbbbbbbbbbbbbbbbbbbbb..",
66 ".#.....bbbbbbbb.ddd..bbbbbbbbbbbbbbbbbbbbbbbbb..",
67 ".......bbbbbbbb.dddd.bbbbbbbbbbbbbbbbbbbbbbbbb..",
68 ".......bbbbbbb..dddd.bbbbbb.bbbbbbbbbbbbbbbbbb..",
69 ".......bbbbbbb.ddddd..bbbbb.bbbbbbbbbbbbbb.bbb..",
70 ".......bbbbbb..dddddd..bbbb..bbbb.bbbbb..b.bbb..",
71 ".......bbbb...ddddddd..b..b....bb..bb.b..b.b.b..",
72 ".......bb....ddddddddd.......e...............b..",
73 ".#..............................................",
74 ".....#........#.......#.#..............#.#......",
75 "...#.#..........................................",
76 "................................................",
77 "................................................",
78 "................................................"};
79 
80 static const char* const image1_data[] = {
81 "22 22 7 1",
82 ". c None",
83 "# c #000000",
84 "c c #949100",
85 "d c #9c9100",
86 "e c #9c9500",
87 "a c #ffff00",
88 "b c #ffffff",
89 "......................",
90 "......................",
91 "......................",
92 "............####....#.",
93 "...........#....##.##.",
94 "..................###.",
95 ".................####.",
96 ".####...........#####.",
97 "#abab##########.......",
98 "#babababababab#.......",
99 "#ababababababa#.......",
100 "#babababababab#.......",
101 "#ababab###############",
102 "#babab##cdcdcdcdcdcd##",
103 "#abab##cececececece##.",
104 "#bab##cdcdcdcdcdcd##..",
105 "#ab##cececececece##...",
106 "#b##cdcdcdcdcdcd##....",
107 "###cececececece##.....",
108 "##cdcdcdcdcdcd##......",
109 "###############.......",
110 "......................"};
111 
112 static const char* const image2_data[] = {
113 "22 22 11 1",
114 ". c None",
115 "# c #000000",
116 "b c #949100",
117 "e c #9c9100",
118 "a c #9c9500",
119 "h c #deb6ff",
120 "f c #dedaff",
121 "i c #e6b6ff",
122 "g c #e6baff",
123 "c c #e6daff",
124 "d c #e6deff",
125 "......................",
126 ".####################.",
127 ".#ab#cdcdcdcdcdcd#dc#.",
128 ".#be#dfdfdfdfdfdf#fd#.",
129 ".#ab#cdcdcdcdcgcd####.",
130 ".#be#dfdhgfdfdfdf#be#.",
131 ".#ab#cdcgidcdcdcd#ab#.",
132 ".#be#dfdfdfdfdfdf#be#.",
133 ".#ab#cdcdcdcdcdcd#ab#.",
134 ".#be#dfdfdfdfdfdf#be#.",
135 ".#ab#cdcdcdcdcdcd#ab#.",
136 ".#beb############ebe#.",
137 ".#ababababababababab#.",
138 ".#bebebebebebebebebe#.",
139 ".#aba#############ab#.",
140 ".#beb#########fdf#be#.",
141 ".#aba#########dcd#ab#.",
142 ".#beb#########fdf#be#.",
143 ".#aba#########dcd#ab#.",
144 ".#beb#########fdf#be#.",
145 "..##################..",
146 "......................"};
147 
148 static const char* const image3_data[] = {
149 "22 22 4 1",
150 ". c None",
151 "# c #000000",
152 "b c #0000ac",
153 "a c #0000b4",
154 "......................",
155 ".......#.....#........",
156 ".......#.....#........",
157 ".......#.....#........",
158 ".......#....##........",
159 ".......##...#.........",
160 "........#...#.........",
161 "........##.##.........",
162 ".........###..........",
163 ".........###..........",
164 "..........#...........",
165 ".........a#a..........",
166 "........ab.bab........",
167 ".......a.a.a..b.......",
168 "......a..b.b...b......",
169 ".....a...a.a....b.....",
170 "....a....b.b....a.....",
171 "....b....a..b...b.....",
172 "....a....b..a..b......",
173 "....b...b....ab.......",
174 ".....bab..............",
175 "......................"};
176 
177 static const char* const image4_data[] = {
178 "22 22 8 1",
179 ". c None",
180 "# c #000000",
181 "c c #0000ac",
182 "b c #0000b4",
183 "f c #2024ff",
184 "d c #5224ff",
185 "e c #9491ff",
186 "a c #ffffff",
187 "......................",
188 "......................",
189 "########..............",
190 "#aaaaaa##.............",
191 "#a####a#a#............",
192 "#aaaaaa#aa#...........",
193 "#a####a#bcbcbcbc......",
194 "#aaaaaa#caaaaaabc.....",
195 "#a#####aba####acdc....",
196 "#aaaaaaacaaaaaabefc...",
197 "#a#####aba####acaedc..",
198 "#aaaaaaacaaaaaabcbcbc.",
199 "#a#####aba####aaaaaab.",
200 "#aaaaaaacaaaaaaaaaaac.",
201 "#a#####aba#########ab.",
202 "#aaaaaaacaaaaaaaaaaac.",
203 "########ba#########ab.",
204 "........caaaaaaaaaaac.",
205 "........ba#########ab.",
206 "........caaaaaaaaaaac.",
207 "........bcbcbcbcbcbcb.",
208 "......................"};
209 
210 static const char* const image5_data[] = {
211 "22 22 12 1",
212 ". c None",
213 "# c #000000",
214 "i c #0000ac",
215 "h c #0000b4",
216 "c c #949100",
217 "d c #9c91b4",
218 "b c #9c95b4",
219 "f c #dedaff",
220 "g c #e6daff",
221 "e c #e6deff",
222 "a c #ffff00",
223 "j c #ffffff",
224 "......................",
225 ".......#####..........",
226 "..######aaa######.....",
227 ".######aaaaa######....",
228 "##bcb##a###a##bcb##...",
229 "#dcd#efefefefe#dcd#...",
230 "#cbc#gegegegeg#cbc#...",
231 "#dcd###########dcd#...",
232 "#cbcbcbcbcbcbcbcbc#...",
233 "#dcdcdcdcdcdcdcdcd#...",
234 "#cbcbcbchihihihihi#...",
235 "#dcdcdcdijjjjjjjiji...",
236 "#cbcbcbchjhihihjhjji..",
237 "#dcdcdcdijjjjjjjijjji.",
238 "#cbcbcbchjhihihjhjjjji",
239 "#dcdcdcdijjjjjjjihihih",
240 "#cbcbcbchjhihihjjjjjji",
241 "#dcdcdcdijjjjjjjjjjjjh",
242 "#cbcbcbchjhihihihihiji",
243 ".#######ijjjjjjjjjjjjh",
244 "........hihihihihihihi",
245 "......................"};
246 
247 static const char* const image6_data[] = {
248 "22 22 36 1",
249 ". c None",
250 "q c #000000",
251 "A c #00ff00",
252 "x c #200000",
253 "p c #202400",
254 "o c #202452",
255 "G c #20245a",
256 "z c #20ff00",
257 "H c #4a2452",
258 "j c #4a4852",
259 "u c #4ada52",
260 "r c #52485a",
261 "i c #6a6d52",
262 "l c #6a6dac",
263 "B c #6aff52",
264 "n c #73715a",
265 "m c #946dac",
266 "h c #9491ac",
267 "k c #9c71b4",
268 "E c #9c91b4",
269 "C c #9c95b4",
270 "v c #9cdeb4",
271 "w c #b491ac",
272 "a c #b4b6ac",
273 "D c #bd91b4",
274 "F c #bd95b4",
275 "# c #bdbab4",
276 "t c #bddeb4",
277 "f c #dedaff",
278 "d c #e6b6ff",
279 "c c #e6daff",
280 "b c #e6deff",
281 "y c #e6ffff",
282 "g c #ffdaff",
283 "s c #ffdeff",
284 "e c #ffffff",
285 "......#abcbcbcba#d....",
286 "......aeeeeeeeeefb....",
287 "......bcbcbcbcbcbc....",
288 "......ababa#aba#ab....",
289 ".....c#cbcbcbdbc#.....",
290 ".....ba#abababfba.....",
291 ".....a#cbabdbcbc#.....",
292 ".....babababababa.....",
293 ".....abeegegegbg#a#...",
294 "...bhiabfbfbfbfehjjia.",
295 "..bhklkikikikmkhnopqra",
296 ".bhseefbfbfbftuvwjxxqo",
297 "bheeeeeeeeeeyzAzbmpqqx",
298 "aeeeeeeeeeeeeBzBesiqqx",
299 "#cbcbcbcegegecbcbcCqqq",
300 "h#a#aDaDwDaDwDwDhEiqqx",
301 "Ca#w#w#w#w#h#hFhFhnqqq",
302 "hDwDhDhDhDhDhDhDhEiqqj",
303 "Ca#wFhFhFhFhFhChChnqqa",
304 "hEhEhEhEhEhEhEhEhEiqh.",
305 "#ipqppppppppGpppGpph..",
306 "..ajHHppppppppqqqjh..."};
307 
308 static const char* const image7_data[] = {
309 "22 22 8 1",
310 ". c None",
311 "# c #000000",
312 "b c #202400",
313 "c c #4a4852",
314 "e c #52485a",
315 "d c #9491ac",
316 "f c #e6deff",
317 "a c #ffffff",
318 "......................",
319 "....##########........",
320 "....#aaaaaaa#b#.......",
321 "....#aaaaaaa#cb#......",
322 "....#aaaaaaa#deb#.....",
323 "....#aaaaaaa#fdcb#....",
324 "....#aaaaaaa#afdeb#...",
325 "....#aaaaaaa#######...",
326 "....#aaaaaaaaaaaaa#...",
327 "....#aaaaaaaaaaaaa#...",
328 "....#aaaaaaaaaaaaa#...",
329 "....#aaaaaaaaaaaaa#...",
330 "....#aaaaaaaaaaaaa#...",
331 "....#aaaaaaaaaaaaa#...",
332 "....#aaaaaaaaaaaaa#...",
333 "....#aaaaaaaaaaaaa#...",
334 "....#aaaaaaaaaaaaa#...",
335 "....#aaaaaaaaaaaaa#...",
336 "....#aaaaaaaaaaaaa#...",
337 "....###############...",
338 "......................",
339 "......................"};
340 
341 static const char* const image8_data[] = {
342 "22 23 128 2",
343 ".m c #000000",
344 "## c #000400",
345 ".C c #080808",
346 ".s c #080c08",
347 ".r c #101010",
348 ".B c #101410",
349 "#8 c #102cb4",
350 "#B c #104c83",
351 ".q c #181818",
352 ".V c #181c18",
353 "#C c #1828bd",
354 "#K c #1828c5",
355 "#5 c #1828cd",
356 "#Z c #1830cd",
357 "#7 c #1840b4",
358 "#4 c #1879d5",
359 "#X c #1879de",
360 "#P c #187dd5",
361 "#I c #187de6",
362 "#J c #188dee",
363 "#Q c #1891ee",
364 "#Y c #1895ee",
365 ".l c #202420",
366 "#H c #313873",
367 "#3 c #313c94",
368 "#G c #393839",
369 ".k c #393c39",
370 "#R c #413862",
371 ".U c #414841",
372 "#0 c #4a3c73",
373 "#x c #4a445a",
374 "#D c #4a446a",
375 ".j c #4a484a",
376 ".i c #4a4c4a",
377 "#W c #4a50ac",
378 "#O c #4a5db4",
379 "#L c #524473",
380 "#q c #52504a",
381 ".h c #525552",
382 "#6 c #5259ac",
383 "#j c #52c6bd",
384 "#y c #62557b",
385 ".g c #626562",
386 ".A c #6a6d6a",
387 ".E c #6a898b",
388 ".9 c #6ab6a4",
389 ".8 c #6ab6ac",
390 ".1 c #736d73",
391 "#1 c #737573",
392 ".2 c #73a1a4",
393 ".f c #7b797b",
394 "#A c #7b7d73",
395 "#k c #7bdaf6",
396 ".Z c #837983",
397 "#2 c #838183",
398 ".I c #83a1bd",
399 "#i c #83d6cd",
400 "#w c #8b8183",
401 ".D c #8b858b",
402 "#z c #8b898b",
403 "#S c #8b8d8b",
404 "#p c #8bb2de",
405 ".7 c #8bd2cd",
406 "#. c #8bd2e6",
407 ".t c #949194",
408 "#v c #94b6c5",
409 "#s c #94bad5",
410 "#t c #94bed5",
411 ".T c #94bee6",
412 ".N c #94c6d5",
413 "#u c #94cad5",
414 ".J c #9c999c",
415 ".3 c #9c9d9c",
416 "#d c #9cbec5",
417 "#l c #9cbed5",
418 ".H c #9cc6de",
419 "#E c #a4a1a4",
420 "#T c #a4a5a4",
421 ".F c #a4c6d5",
422 "#g c #a4d6de",
423 "#m c #a4eede",
424 ".P c #aca1ac",
425 "#n c #aca5ac",
426 "#r c #acaaac",
427 ".G c #acdaee",
428 "#e c #b4b2b4",
429 ".M c #b4b6b4",
430 "#M c #bdb6bd",
431 "#V c #bdbabd",
432 ".W c #bdbebd",
433 ".S c #bdcede",
434 ".K c #c5bec5",
435 ".4 c #c5c2c5",
436 "#U c #cdc6cd",
437 ".L c #cdcecd",
438 ".R c #cddede",
439 "#N c #d5ced5",
440 ".e c #d5d2cd",
441 "#F c #d5d6d5",
442 ".O c #d5ffff",
443 ".d c #ded6d5",
444 ".w c #dedade",
445 ".z c #dedede",
446 "#h c #def2ee",
447 ".X c #defaff",
448 "#a c #deffff",
449 ".x c #e6dee6",
450 ".v c #e6e2e6",
451 ".0 c #e6e6d5",
452 ".c c #e6e6e6",
453 "#b c #e6eeee",
454 "#o c #e6f2ee",
455 ".5 c #e6faff",
456 "#f c #eee2ee",
457 ".# c #eee6e6",
458 ".a c #eee6ee",
459 "#c c #eeeade",
460 ".o c #eeeaee",
461 ".6 c #eeeeee",
462 ".Q c #eef2ee",
463 ".b c #f6eeee",
464 ".y c #f6eef6",
465 "Qt c #f6f2f6",
466 "#9 c #f6f6f6",
467 ".Y c #fff2f6",
468 ".u c #fff6ff",
469 ".p c #fffaff",
470 ".n c #ffffff",
471 "Qt.#.#.#.a.#.#.#.a.#.#.#.a.#.#.#.a.#.#.#.a.b",
472 ".c.d.e.d.e.d.f.g.h.i.j.j.j.k.l.m.e.d.e.d.e.#",
473 ".#.d.d.d.d.f.n.n.n.n.n.n.n.n.n.m.m.d.d.d.d.#",
474 ".c.d.e.d.e.g.n.n.n.n.n.n.n.n.n.m.o.m.e.d.e.#",
475 ".a.d.d.d.d.h.n.p.m.q.r.s.t.n.n.m.u.o.m.d.d.#",
476 ".c.d.e.d.e.j.v.v.w.x.v.y.u.n.n.m.uQt.z.m.e.#",
477 ".#.d.d.d.m.m.m.m.m.A.B.C.D.p.n.m.m.m.m.m.m.#",
478 ".c.d.e.m.E.F.G.H.I.m.J.K.L.o.u.n.n.w.M.J.m.#",
479 ".a.d.m.N.O.P.Q.R.S.T.m.U.V.q.r.s.t.n.a.W.m.#",
480 ".c.d.m.X.Y.Z.0.A.A.1.2.m.3.4.v.n.n.n.v.4.m.#",
481 ".#.d.m.5.p.g.6.7.8.9#..m.j.r.s##.t.n.a.K.m.#",
482 ".c.d.m#a#b.g#c.1.A.A#d.m.t#e.w.p.n.n#f.4.m.#",
483 ".a.d.m#g#h.f.6#i#j#k#l.m.j.r.r.r.t.n.a.W.m.#",
484 ".c.d.e.m#m#n#o.A.A#p.m#q.t#r.L.y.p.n.v.4.m.#",
485 ".#.d.d.d.m#s#t#u#v.m#w#x#y.U.r.r#z.p.a.K.m.#",
486 ".c.d.e.d.e.m.m.m.m#n#A#B#C#D#E.K#F.o.z.K.m.#",
487 ".a.d.d.d.d#G.u.a.x.w#H#I#J#K#L.3#M#N#N#e.m.#",
488 ".c.d.e.d.e.q.p.y.z.x.w#O#P#Q#C#R#S#E#T#E.m.#",
489 ".#.d.d.d.d.m.v#N#U#V.K#M#W#X#Y#Z#0#1#2#2.m.#",
490 ".c.d.e.d.e.d.m.m.m.m.m.V.m#3#4#Q#5.C.q.m.e.#",
491 ".a.d.d.d.d.d.d.d.d.d.d.d.d.d#6#7#8.d.d.d.d.#",
492 ".c.d.e.d.e.d.e.d.e.d.e.d.e.d.e.d.e.d.e.d.e.#",
493 ".p.bQt.bQt.bQt.bQt.bQt.bQt.bQt.bQt.bQt.bQt#9"};
494 
495 static const char* const image9_data[] = {
496 "23 23 58 1",
497 "0 c #080831",
498 "X c #080839",
499 "Y c #080c41",
500 "Z c #101462",
501 "Q c #202062",
502 "W c #20206a",
503 "T c #20246a",
504 "P c #202473",
505 "O c #20247b",
506 "R c #29286a",
507 "S c #292873",
508 "N c #29287b",
509 "V c #292c73",
510 "U c #292c7b",
511 "M c #313483",
512 "L c #31348b",
513 "D c #393894",
514 "C c #41389c",
515 "E c #4a48a4",
516 "B c #4a4cac",
517 "J c #5250ac",
518 "F c #5255ac",
519 "I c #5a59b4",
520 "p c #5a59bd",
521 "H c #5a5db4",
522 "o c #5a5dbd",
523 "G c #5a5dc5",
524 "K c #625dbd",
525 "A c #625dc5",
526 "1 c #6261bd",
527 "n c #6261c5",
528 "q c #6265c5",
529 "k c #6265cd",
530 "m c #6a69cd",
531 "j c #6a6dcd",
532 "l c #6a6dd5",
533 "i c #736dd5",
534 "x c #7371cd",
535 "e c #7371d5",
536 "g c #7371de",
537 "h c #7375de",
538 "z c #7375e6",
539 "r c #7b75de",
540 "s c #7b79de",
541 "t c #7b79ee",
542 "y c #7b7df6",
543 "v c #837de6",
544 "f c #837df6",
545 "w c #8381e6",
546 "u c #8381f6",
547 "d c #d5d2cd",
548 "c c #ded6d5",
549 "b c #e6e6e6",
550 "# c #eee6e6",
551 "a c #eee6ee",
552 "3 c #f6eeee",
553 ". c #f6f2f6",
554 "2 c #fffaff",
555 ".###a###a###a###a###a#.",
556 "bcdcdcdcdcdcdcdcdcdcdcb",
557 "#ccccccccccccccccccccca",
558 "bcdcdcdcdcdcdcdcdcdcdcb",
559 "accccccccccccccccccccc#",
560 "bcdcdcdcefdcdcdcdcdcdcb",
561 "#ccccccgegcccccccccccca",
562 "bcdcdchijkdcdcdcdcdcdcb",
563 "acccclmkencccccccccccc#",
564 "bcdchiopqrstuvwhhixgycb",
565 "#cczABCDEFnGnHIpnJKoeca",
566 "bcdLMLNOPQRSRSTUVRVWGcb",
567 "acccXYZZZ000X000X0001c#",
568 "bcdcd00YY0dcdcdcdcdcdcb",
569 "#cccccX000cccccccccccca",
570 "bcdcdcd000dcdcdcdcdcdcb",
571 "acccccccX0cccccccccccc#",
572 "bcdcdcdcdcdcdcdcdcdcdcb",
573 "#ccccccccccccccccccccca",
574 "bcdcdcdcdcdcdcdcdcdcdcb",
575 "accccccccccccccccccccc#",
576 "bcdcdcdcdcdcdcdcdcdcdcb",
577 "23.3.3.3.3.3.3.3.3.3.32"};
578 
579 static const char* const image10_data[] = {
580 "23 23 57 1",
581 "X c #080831",
582 "Y c #080839",
583 "0 c #080c41",
584 "Z c #101462",
585 "Q c #202062",
586 "K c #20206a",
587 "O c #20246a",
588 "R c #202473",
589 "S c #20247b",
590 "M c #29286a",
591 "P c #292873",
592 "T c #29287b",
593 "L c #292c73",
594 "N c #292c7b",
595 "V c #313483",
596 "U c #31348b",
597 "F c #393894",
598 "G c #39389c",
599 "E c #4a48a4",
600 "H c #4a4cac",
601 "z c #5250ac",
602 "D c #5255ac",
603 "A c #5a59b4",
604 "w c #5a59bd",
605 "B c #5a5db4",
606 "x c #5a5dbd",
607 "C c #5a5dc5",
608 "y c #625dbd",
609 "I c #625dc5",
610 "W c #6261bd",
611 "l c #6261c5",
612 "v c #6265c5",
613 "h c #6265cd",
614 "m c #6a69cd",
615 "i c #6a6dcd",
616 "n c #6a6dd5",
617 "j c #736dd5",
618 "p c #7371cd",
619 "f c #7371d5",
620 "g c #7371de",
621 "k c #7375de",
622 "J c #7375e6",
623 "u c #7b75de",
624 "t c #7b79de",
625 "s c #7b79ee",
626 "o c #7b7dee",
627 "r c #837de6",
628 "e c #837df6",
629 "q c #8381ee",
630 "d c #d5d2cd",
631 "c c #ded6d5",
632 "b c #e6e6e6",
633 "# c #eee6e6",
634 "a c #eee6ee",
635 "2 c #f6eeee",
636 ". c #f6f2f6",
637 "1 c #fffaff",
638 ".###a###a###a###a###a#.",
639 "bcdcdcdcdcdcdcdcdcdcdcb",
640 "#ccccccccccccccccccccca",
641 "bcdcdcdcdcdcdcdcdcdcdcb",
642 "accccccccccccccccccccc#",
643 "bcdcdcdcdcdcdefcdcdcdcb",
644 "#ccccccccccccgfgcccccca",
645 "bcdcdcdcdcdcdhijkcdcdcb",
646 "acccccccccccclfhmncccc#",
647 "bcogpjkkqrqstuvwxjkcdcb",
648 "#cfxyzlwABlClDEFGHIJcca",
649 "bcCKLMLNOPMPMQRSTUVUdcb",
650 "acWXYXXXYXXXYXZZZ0Xccc#",
651 "bcdcdcdcdcdcdX00XXdcdcb",
652 "#ccccccccccccXYXXccccca",
653 "bcdcdcdcdcdcdXXXdcdcdcb",
654 "accccccccccccXXccccccc#",
655 "bcdcdcdcdcdcdcdcdcdcdcb",
656 "#ccccccccccccccccccccca",
657 "bcdcdcdcdcdcdcdcdcdcdcb",
658 "accccccccccccccccccccc#",
659 "bcdcdcdcdcdcdcdcdcdcdcb",
660 "12.2.2.2.2.2.2.2.2.2.21"};
661 
662 static const char* const image11_data[] = {
663 "32 32 6 1",
664 ". c None",
665 "d c #0000ff",
666 "# c #313031",
667 "c c #f6f200",
668 "a c #f6f600",
669 "b c #fff600",
670 "................................",
671 "..........##################....",
672 "..........#abababababababab#....",
673 "..........#bcacbcacbcacbcac#....",
674 "..........#abababababababab#....",
675 "..........#acbcacbcacbcacbc#....",
676 "..........#abababababababab#....",
677 "..........#bcacbcacbcacbcac#....",
678 "..........#abababababababab#....",
679 "..........#acbcacbcacbcacbc#....",
680 "..........#abababababababab#....",
681 "..........#bcacbcacbcacbcac#....",
682 "..........#abababababababab#....",
683 "......d...#acdcacbcacbcacbc#....",
684 ".....dd...#abddabababababab#....",
685 "....ddddddddddddcacbcacbcac#....",
686 "...ddddddddddddddababababab#....",
687 "....ddddddddddddcbcacbcacbc#....",
688 ".....dd...#abddabababababab#....",
689 "......d...#bcdcbcacbcacbcac#....",
690 "..........#abababababababab#....",
691 "..........#acbcacbcacbcacbc#....",
692 "..........#abababababababab#....",
693 "..........#bcacbcacbcacbcac#....",
694 "..........#abababababababab#....",
695 "..........#acbcacbcacbcacbc#....",
696 "..........#abababababababab#....",
697 "..........#bcacbcacbcacbcac#....",
698 "..........#abababababababab#....",
699 "..........#acbcacbcacbcacbc#....",
700 "..........##################....",
701 "................................"};
702 
703 static const char* const image12_data[] = {
704 "32 32 6 1",
705 ". c None",
706 "d c #0000ff",
707 "# c #313031",
708 "c c #f6f200",
709 "b c #f6f600",
710 "a c #fff600",
711 "................................",
712 ".......#################........",
713 ".......#abababababababa#........",
714 ".......#cbcacbcacbcacbc#........",
715 ".......#abababababababa#........",
716 ".......#cacbcacbcacbcac#........",
717 ".......#abaddbababababa#........",
718 ".......#cbddcbcacbcacbc#........",
719 "...ddd.#dddbabababababa#........",
720 "....ddddddcbcacbcacbcac#........",
721 ".....ddddbababababababa#........",
722 "......ddcbcacbcacbcacbc#........",
723 ".......#abababababababa#........",
724 ".......#cacbcacbcacbcac#........",
725 ".......#abababababababa#........",
726 ".......#cbcacbcacbcacbc#...dd...",
727 ".......#abababababababa#..dd....",
728 ".......#cacbcacbcacdddc#ddd.....",
729 ".......#ababababababdddddd......",
730 ".......#cbcacbcacbcacdddd.......",
731 ".......#abababababababdd........",
732 ".......#cacbcacbcacbcac#........",
733 ".......#abababababababa#........",
734 ".......#cbcacbcacbcacbc#........",
735 ".......#abababababababa#........",
736 ".......#cacbcacbcacbcac#........",
737 ".......#abababababababa#........",
738 ".......#cbcacbcacbcacbc#........",
739 ".......#abababababababa#........",
740 ".......#cacbcacbcacbcac#........",
741 ".......#################........",
742 "................................"};
743 
744 static const char* const image13_data[] = {
745 "32 32 7 1",
746 ". c None",
747 "a c #000041",
748 "e c #0000ff",
749 "# c #313031",
750 "d c #f6f200",
751 "b c #f6f600",
752 "c c #fff600",
753 "................................",
754 "..........#aaaaaaaaaaa..........",
755 "..........#bcbcbcbcbc#..........",
756 "..........#cdbdcdbdcd#..........",
757 "..........#bcbcbcbcbc#..........",
758 "..........#bdcdbdcdbd#..........",
759 "..........#bcbcbcbcbc#..........",
760 "..........#cdbdcdbdcd#..........",
761 "..........#bcbcbcbcbc#..........",
762 "..........#bdcdbdcdbd#..........",
763 "..........#bcbcbcbcbc#..........",
764 "..........#cdbdcdbdcd#..........",
765 "..........#bcbcbcbcbc#..........",
766 "......e...#bdcdbdcdbd#...e......",
767 ".....ee...#bcbcbcbcbc#...ee.....",
768 "....eeeeeeeeeeeeeeeeeeeeeeee....",
769 "...eeeeeeeeeeeeeeeeeeeeeeeeee...",
770 "....eeeeeeeeeeeeeeeeeeeeeeee....",
771 ".....ee...#bcbcbcbcbc#...ee.....",
772 "......e...#cdbdcdbdcd#...e......",
773 "..........#bcbcbcbcbc#..........",
774 "..........#bdcdbdcdbd#..........",
775 "..........#bcbcbcbcbc#..........",
776 "..........#cdbdcdbdcd#..........",
777 "..........#bcbcbcbcbc#..........",
778 "..........#bdcdbdcdbd#..........",
779 "..........#bcbcbcbcbc#..........",
780 "..........#cdbdcdbdcd#..........",
781 "..........#bcbcbcbcbc#..........",
782 "..........#bdcdbdcdbd#..........",
783 "..........#aaaaaaaaaa#..........",
784 "................................"};
785 
786 static const char* const image14_data[] = {
787 "32 32 3 1",
788 ". c None",
789 "a c #0000ff",
790 "# c #ff0000",
791 "................................",
792 "................................",
793 ".....#####......................",
794 "....#.....#.....................",
795 "...#.......#....................",
796 "..#.........#...................",
797 "..#.........#...................",
798 "..#.........#...................",
799 "..#.........#...................",
800 "..#.........#...................",
801 "...#.......#....................",
802 "....#.....#.....................",
803 ".....#####......................",
804 "...................#####........",
805 "..................#.....#aa.....",
806 ".................#......aa......",
807 "................#aaa..aaa.#.....",
808 "................#.aaaaaa..#.....",
809 "................#..aaaa...#.....",
810 "................#...aa....#.....",
811 "................#.........#.....",
812 ".................#.......#......",
813 "..................#.....#.......",
814 "...................#####........",
815 "................................",
816 "................................",
817 "................................",
818 "................................",
819 "................................",
820 "................................",
821 "................................",
822 "................................"};
823 
824 
825 /*
826  * Constructs a CanvasWindowBase as a child of 'parent', with the
827  * name 'name' and widget flags set to 'f'.
828  *
829  */
830 CanvasWindowBase::CanvasWindowBase( QWidget* parent, const char* name, WFlags fl )
831  : QMainWindow( parent, name, fl ),
832  image0( (const char **) image0_data ),
833  image1( (const char **) image1_data ),
834  image2( (const char **) image2_data ),
835  image3( (const char **) image3_data ),
836  image4( (const char **) image4_data ),
837  image5( (const char **) image5_data ),
838  image6( (const char **) image6_data ),
839  image7( (const char **) image7_data ),
840  image8( (const char **) image8_data ),
841  image9( (const char **) image9_data ),
842  image10( (const char **) image10_data ),
843  image11( (const char **) image11_data ),
844  image12( (const char **) image12_data ),
845  image13( (const char **) image13_data ),
846  image14( (const char **) image14_data )
847 {
848  (void)statusBar();
849  if ( !name )
850  setName( "CanvasWindowBase" );
851  setBaseSize( QSize( 640, 732 ) );
852  setIcon( image0 );
853 
854  // actions
855  m_fileOpen = new QAction( this, "m_fileOpen" );
857  m_fileSaveAction = new QAction( this, "m_fileSaveAction" );
859  m_fileSaveAsAction = new QAction( this, "m_fileSaveAsAction" );
860  m_fileExit = new QAction( this, "m_fileExit" );
861  m_editCutAction = new QAction( this, "m_editCutAction" );
862  m_editCutAction->setEnabled( TRUE );
864  m_editCopyAction = new QAction( this, "m_editCopyAction" );
865  m_editCopyAction->setEnabled( TRUE );
867  m_editPasteAction = new QAction( this, "m_editPasteAction" );
868  m_editPasteAction->setEnabled( TRUE );
870  m_helpAboutAction = new QAction( this, "m_helpAboutAction" );
871  m_filePrint = new QAction( this, "m_filePrint" );
873  m_enlarge = new QAction( this, "m_enlarge" );
874  m_zoomIn = new QAction( this, "m_zoomIn" );
875  m_zoomOut = new QAction( this, "m_zoomOut" );
876  m_fileNewAction = new QAction( this, "m_fileNewAction" );
878  m_fileCloseAction = new QAction( this, "m_fileCloseAction" );
879  m_exportTextTuple = new QAction( this, "m_exportTextTuple" );
880  m_fileSaveSelected = new QAction( this, "m_fileSaveSelected" );
881  m_fileSaveAllAction = new QAction( this, "m_fileSaveAllAction" );
882  m_viewLockAction = new QAction( this, "m_viewLockAction" );
884  m_viewUnlockAction = new QAction( this, "m_viewUnlockAction" );
885  m_viewUnlockAction->setEnabled( FALSE );
886  m_editClearAction = new QAction( this, "m_editClearAction" );
887  m_editUndoAction = new QAction( this, "m_editUndoAction" );
888  m_editUndoAction->setEnabled( TRUE );
889  m_editSelectAllAction = new QAction( this, "m_editSelectAllAction" );
890  m_editReTileAction = new QAction( this, "m_editReTileAction" );
891  m_fileSaveAllAsAction = new QAction( this, "m_fileSaveAllAsAction" );
892  m_showPlotTableAction = new QAction( this, "m_showPlotTableAction" );
893  m_showPickTableAction = new QAction( this, "m_showPickTableAction" );
894  m_set_printer = new QAction( this, "m_set_printer" );
895  m_set_canvas = new QAction( this, "m_set_canvas" );
896  m_viewzoomreset = new QAction( this, "m_viewzoomreset" );
897  m_settingsFontsAction = new QAction( this, "m_settingsFontsAction" );
898  m_editReTilePage = new QAction( this, "m_editReTilePage" );
899  m_editDeleteAction = new QAction( this, "m_editDeleteAction" );
900  m_viewInspectorAction = new QAction( this, "m_viewInspectorAction" );
901  m_aboutQt = new QAction( this, "m_aboutQt" );
902  m_fileBrowse = new QAction( this, "m_fileBrowse" );
903  m_zoomMode = new QAction( this, "m_zoomMode" );
904  m_zoomMode->setToggleAction( TRUE );
906  m_previousView = new QAction( this, "m_previousView" );
907  m_previousView->setEnabled( TRUE );
909  m_nextView = new QAction( this, "m_nextView" );
910  m_nextView->setEnabled( TRUE );
912  m_set_fitter = new QActionGroup( this, "m_set_fitter" );
913  m_set_fitter->setOn( FALSE );
914  m_set_fitter->setEnabled( TRUE );
915  m_set_fitter->setExclusive( TRUE );
916  m_set_fitter->setUsesDropDown( TRUE );
917  cutActionGroup = new QActionGroup( this, "cutActionGroup" );
919  m_cut1 = new QAction( cutActionGroup, "m_cut1" );
920  m_cut1->setToggleAction( TRUE );
921  m_cut1->setOn( TRUE );
923  m_cut2 = new QAction( cutActionGroup, "m_cut2" );
924  m_cut2->setToggleAction( TRUE );
926  m_cut3 = new QAction( cutActionGroup, "m_cut3" );
927  m_cut3->setToggleAction( TRUE );
929  m_pick = new QAction( cutActionGroup, "m_pick" );
930  m_pick->setToggleAction( TRUE );
931  m_pick->setEnabled( TRUE );
933  m_helpHelp = new QAction( this, "m_helpHelp" );
934  m_helpHelp->setEnabled( TRUE );
935  m_createNTuple = new QAction( this, "m_createNTuple" );
936  m_group = new QAction( this, "m_group" );
937  m_ungroup = new QAction( this, "m_ungroup" );
938  m_recent_files = new QActionGroup( this, "m_recent_files" );
939  m_recent_files->setOn( FALSE );
940  m_recent_files->setEnabled( TRUE );
942  m_settingDefaultDock = new QAction( this, "m_settingDefaultDock" );
943 
944 
945  // toolbars
946  toolBar = new QToolBar( QString(""), this, DockTop );
947 
952  Toolbar_2 = new QToolBar( QString(""), this, DockTop );
953 
957  Toolbar = new QToolBar( QString(""), this, DockTop );
958 
962  Toolbar_4 = new QToolBar( QString(""), this, DockTop );
963 
964  m_cut1->addTo( Toolbar_4 );
965  m_cut2->addTo( Toolbar_4 );
966  m_cut3->addTo( Toolbar_4 );
967  m_pick->addTo( Toolbar_4 );
968 
969 
970  // menubar
971  menubar = new QMenuBar( this, "menubar" );
972 
973  menubar->setGeometry( QRect( 0, 0, 728, 30 ) );
974 
975  fileMenu = new QPopupMenu( this );
995  menubar->insertItem( QString(""), fileMenu, 2 );
996 
997  editMenu = new QPopupMenu( this );
1012  menubar->insertItem( QString(""), editMenu, 3 );
1013 
1014  PopupMenu_2 = new QPopupMenu( this );
1031  m_cut1->addTo( PopupMenu_2 );
1032  m_cut2->addTo( PopupMenu_2 );
1033  m_cut3->addTo( PopupMenu_2 );
1034  m_pick->addTo( PopupMenu_2 );
1038  menubar->insertItem( QString(""), PopupMenu_2, 4 );
1039 
1040  PopupMenu = new QPopupMenu( this );
1045  menubar->insertItem( QString(""), PopupMenu, 5 );
1046 
1047  helpMenu = new QPopupMenu( this );
1052  m_aboutQt->addTo( helpMenu );
1053  menubar->insertItem( QString(""), helpMenu, 6 );
1054 
1055  languageChange();
1056  resize( QSize(728, 691).expandedTo(minimumSizeHint()) );
1057  clearWState( WState_Polished );
1058 
1059  // signals and slots connections
1060  connect( m_group, SIGNAL( activated() ), this, SLOT( groupView() ) );
1061  connect( m_fileSaveAllAction, SIGNAL( activated() ), this, SLOT( fileSaveAll() ) );
1062  connect( m_fileCloseAction, SIGNAL( activated() ), this, SLOT( close() ) );
1063  connect( m_editCutAction, SIGNAL( activated() ), this, SLOT( editCut() ) );
1064  connect( m_editCopyAction, SIGNAL( activated() ), this, SLOT( editCopy() ) );
1065  connect( m_editPasteAction, SIGNAL( activated() ), this, SLOT( editPaste() ) );
1066  connect( m_exportTextTuple, SIGNAL( activated() ), this, SLOT( fileExportTextTuple() ) );
1067  connect( m_fileNewAction, SIGNAL( activated() ), this, SLOT( fileNew() ) );
1068  connect( m_filePrint, SIGNAL( activated() ), this, SLOT( filePrint() ) );
1069  connect( m_fileExit, SIGNAL( activated() ), this, SLOT( fileExit() ) );
1070  connect( m_fileSaveAction, SIGNAL( activated() ), this, SLOT( fileSave() ) );
1071  connect( m_viewLockAction, SIGNAL( activated() ), this, SLOT( viewLock() ) );
1072  connect( m_viewUnlockAction, SIGNAL( activated() ), this, SLOT( viewUnlock() ) );
1073  connect( m_fileSaveAsAction, SIGNAL( activated() ), this, SLOT( fileSaveAs() ) );
1074  connect( m_fileSaveSelected, SIGNAL( activated() ), this, SLOT( fileSaveSelectedImages() ) );
1075  connect( m_helpAboutAction, SIGNAL( activated() ), this, SLOT( helpAbout() ) );
1076  connect( m_zoomIn, SIGNAL( activated() ), this, SLOT( viewZoomIn() ) );
1077  connect( m_zoomOut, SIGNAL( activated() ), this, SLOT( viewZoomOut() ) );
1078  connect( m_enlarge, SIGNAL( activated() ), this, SLOT( viewAddPage() ) );
1079  connect( m_editSelectAllAction, SIGNAL( activated() ), this, SLOT( editSelectAll() ) );
1080  connect( m_editReTileAction, SIGNAL( activated() ), this, SLOT( editReTile() ) );
1081  connect( m_fileSaveAllAsAction, SIGNAL( activated() ), this, SLOT( fileSaveAllAs() ) );
1082  connect( m_showPlotTableAction, SIGNAL( activated() ), this, SLOT( viewShowPlotTable() ) );
1083  connect( m_showPickTableAction, SIGNAL( activated() ), this, SLOT( viewShowPickTable() ) );
1084  connect( m_set_printer, SIGNAL( activated() ), this, SLOT( settingPrinter() ) );
1085  connect( m_set_canvas, SIGNAL( activated() ), this, SLOT( settingCanvas() ) );
1086  connect( m_viewzoomreset, SIGNAL( activated() ), this, SLOT( viewZoomReset() ) );
1087  connect( m_settingsFontsAction, SIGNAL( activated() ), this, SLOT( settingFonts() ) );
1088  connect( m_editReTilePage, SIGNAL( activated() ), this, SLOT( editReTilePage() ) );
1089  connect( m_editDeleteAction, SIGNAL( activated() ), this, SLOT( editDelete() ) );
1090  connect( m_viewInspectorAction, SIGNAL( activated() ), this, SLOT( viewShowInspector() ) );
1091  connect( m_aboutQt, SIGNAL( activated() ), this, SLOT( aboutQt() ) );
1092  connect( m_zoomMode, SIGNAL( toggled(bool) ), this, SLOT( setZoomMode(bool) ) );
1093  connect( m_previousView, SIGNAL( activated() ), this, SLOT( previousView() ) );
1094  connect( m_nextView, SIGNAL( activated() ), this, SLOT( nextView() ) );
1095  connect( m_set_fitter, SIGNAL( selected(QAction*) ), this, SLOT( setFitter(QAction*) ) );
1096  connect( m_helpHelp, SIGNAL( activated() ), this, SLOT( helpHelp() ) );
1097  connect( m_createNTuple, SIGNAL( activated() ), this, SLOT( fileCreateNTuple() ) );
1098  connect( m_fileOpen, SIGNAL( activated() ), this, SLOT( fileOpen() ) );
1099  connect( m_fileBrowse, SIGNAL( activated() ), this, SLOT( fileBrowse() ) );
1100  connect( m_editClearAction, SIGNAL( activated() ), this, SLOT( editClear() ) );
1101  connect( m_editUndoAction, SIGNAL( activated() ), this, SLOT( editUndo() ) );
1102  connect( m_ungroup, SIGNAL( activated() ), this, SLOT( ungroupView() ) );
1103  connect( cutActionGroup, SIGNAL( selected(QAction*) ), this, SLOT( setCutMode(QAction*) ) );
1104  connect( m_recent_files, SIGNAL( selected(QAction*) ), this, SLOT( openRecentFile(QAction*) ) );
1105  connect( m_settingDefaultDock, SIGNAL( activated() ), this, SLOT( defaultToolbar() ) );
1106 }
1107 
1108 /*
1109  * Destroys the object and frees any allocated resources
1110  */
1112 {
1113  // no need to delete child widgets, Qt does it all for us
1114 }
1115 
1116 /*
1117  * Sets the strings of the subwidgets using the current
1118  * language.
1119  */
1121 {
1122  setCaption( tr( "Untitled" ) );
1123  m_fileOpen->setText( tr( "Open" ) );
1124  m_fileOpen->setMenuText( tr( "&Open..." ) );
1125  m_fileOpen->setAccel( tr( "Ctrl+O" ) );
1126  m_fileSaveAction->setText( tr( "Save" ) );
1127  m_fileSaveAction->setMenuText( tr( "&Save" ) );
1128  m_fileSaveAction->setAccel( tr( "Ctrl+S" ) );
1129  m_fileSaveAsAction->setText( tr( "Save As" ) );
1130  m_fileSaveAsAction->setMenuText( tr( "Save &As..." ) );
1131  m_fileSaveAsAction->setAccel( QString::null );
1132  m_fileExit->setText( tr( "Exit" ) );
1133  m_fileExit->setMenuText( tr( "&Exit" ) );
1134  m_fileExit->setAccel( tr( "Ctrl+Q" ) );
1135  m_editCutAction->setText( tr( "Cut" ) );
1136  m_editCutAction->setMenuText( tr( "Cu&t" ) );
1137  m_editCutAction->setAccel( tr( "Ctrl+X" ) );
1138  m_editCopyAction->setText( tr( "Copy" ) );
1139  m_editCopyAction->setMenuText( tr( "C&opy" ) );
1140  m_editCopyAction->setAccel( tr( "Ctrl+C" ) );
1141  m_editPasteAction->setText( tr( "Paste" ) );
1142  m_editPasteAction->setMenuText( tr( "&Paste" ) );
1143  m_editPasteAction->setAccel( tr( "Ctrl+V" ) );
1144  m_helpAboutAction->setText( tr( "About HippoDraw" ) );
1145  m_helpAboutAction->setMenuText( tr( "&About HippoDraw" ) );
1146  m_helpAboutAction->setToolTip( tr( "Shows version and contributors" ) );
1147  m_helpAboutAction->setAccel( QString::null );
1148  m_filePrint->setText( tr( "Print" ) );
1149  m_filePrint->setMenuText( tr( "&Print" ) );
1150  m_filePrint->setToolTip( tr( "Print document" ) );
1151  m_filePrint->setAccel( tr( "Ctrl+P" ) );
1152  m_enlarge->setText( tr( "Action" ) );
1153  m_enlarge->setMenuText( tr( "Add page" ) );
1154  m_enlarge->setToolTip( tr( "Adds a page to the document." ) );
1155  m_zoomIn->setText( tr( "Action" ) );
1156  m_zoomIn->setMenuText( tr( "Zoom in" ) );
1157  m_zoomIn->setToolTip( tr( "Action" ) );
1158  m_zoomIn->setAccel( tr( "Ctrl+=" ) );
1159  m_zoomOut->setText( tr( "Action" ) );
1160  m_zoomOut->setMenuText( tr( "Zoom out" ) );
1161  m_zoomOut->setToolTip( tr( "Action" ) );
1162  m_zoomOut->setAccel( tr( "Ctrl+-" ) );
1163  m_fileNewAction->setText( tr( "New" ) );
1164  m_fileNewAction->setMenuText( tr( "&New" ) );
1165  m_fileNewAction->setAccel( tr( "Ctrl+N" ) );
1166  m_fileCloseAction->setText( tr( "Close" ) );
1167  m_fileCloseAction->setMenuText( tr( "&Close" ) );
1168  m_fileCloseAction->setAccel( tr( "Ctrl+W" ) );
1169  m_exportTextTuple->setText( tr( "Export data source" ) );
1170  m_exportTextTuple->setMenuText( tr( "Export data source" ) );
1171  m_exportTextTuple->setToolTip( tr( "Export data source to file" ) );
1172  m_exportTextTuple->setWhatsThis( tr( "Export the selected data source to text or FITS file." ) );
1173  m_fileSaveSelected->setText( tr( "Save selected as EPS" ) );
1174  m_fileSaveSelected->setMenuText( tr( "Save selected as image..." ) );
1175  m_fileSaveAllAction->setText( tr( "Save All" ) );
1176  m_fileSaveAllAction->setMenuText( tr( "Save All" ) );
1177  m_fileSaveAllAction->setToolTip( tr( "Save canvas and all ntuples" ) );
1178  m_viewLockAction->setText( tr( "Lock" ) );
1179  m_viewLockAction->setMenuText( tr( "Lock" ) );
1180  m_viewLockAction->setToolTip( tr( "Locks the position and size of selected item." ) );
1181  m_viewUnlockAction->setText( tr( "Unlock" ) );
1182  m_viewUnlockAction->setMenuText( tr( "Unlock" ) );
1183  m_viewUnlockAction->setToolTip( tr( "Unlocks the selected item" ) );
1184  m_editClearAction->setText( tr( "Clear All" ) );
1185  m_editClearAction->setMenuText( tr( "Clear All" ) );
1186  m_editClearAction->setToolTip( tr( "Clear all canvas items" ) );
1187  m_editUndoAction->setText( tr( "Undo" ) );
1188  m_editUndoAction->setMenuText( tr( "&Undo" ) );
1189  m_editUndoAction->setToolTip( tr( "Restores item to state when selected" ) );
1190  m_editUndoAction->setAccel( tr( "Ctrl+Z" ) );
1191  m_editSelectAllAction->setText( tr( "Select All" ) );
1192  m_editSelectAllAction->setMenuText( tr( "Select &All" ) );
1193  m_editSelectAllAction->setToolTip( tr( "Select all canvas items" ) );
1194  m_editSelectAllAction->setAccel( tr( "Ctrl+A" ) );
1195  m_editReTileAction->setText( tr( "Retile" ) );
1196  m_editReTileAction->setMenuText( tr( "Retile" ) );
1197  m_editReTileAction->setToolTip( tr( "Retile all items on canvas" ) );
1198  m_fileSaveAllAsAction->setText( tr( "Action" ) );
1199  m_fileSaveAllAsAction->setMenuText( tr( "Save All As..." ) );
1200  m_fileSaveAllAsAction->setToolTip( tr( "Save document and ntuples to file" ) );
1201  m_showPlotTableAction->setText( tr( "Action" ) );
1202  m_showPlotTableAction->setMenuText( tr( "Show plot table" ) );
1203  m_showPlotTableAction->setToolTip( tr( "Show a table of plots on current canvas" ) );
1204  m_showPickTableAction->setText( tr( "Show pick table" ) );
1205  m_showPickTableAction->setMenuText( tr( "Show pick table" ) );
1206  m_showPickTableAction->setToolTip( tr( "Show a list of selected points." ) );
1207  m_set_printer->setText( tr( "Printer settings" ) );
1208  m_set_printer->setMenuText( tr( "Printer settings" ) );
1209  m_set_printer->setToolTip( tr( "Set printer preferences" ) );
1210  m_set_canvas->setText( tr( "Canvas" ) );
1211  m_set_canvas->setMenuText( tr( "Canvas..." ) );
1212  m_viewzoomreset->setText( tr( "Action" ) );
1213  m_viewzoomreset->setMenuText( tr( "Zoom reset" ) );
1214  m_settingsFontsAction->setText( tr( "Fonts" ) );
1215  m_settingsFontsAction->setMenuText( tr( "Fonts..." ) );
1216  m_editReTilePage->setText( tr( "Action" ) );
1217  m_editReTilePage->setMenuText( tr( "Retile page" ) );
1218  m_editReTilePage->setToolTip( tr( "Retiles the current page" ) );
1219  m_editReTilePage->setWhatsThis( tr( "Chose this menu item to retile the current page" ) );
1220  m_editDeleteAction->setText( tr( "Delete" ) );
1221  m_editDeleteAction->setMenuText( tr( "&Delete" ) );
1222  m_editDeleteAction->setToolTip( tr( "Remove from canvas" ) );
1223  m_editDeleteAction->setWhatsThis( tr( "Remove selected items from canvas without pasting to pasteboard." ) );
1224  m_editDeleteAction->setAccel( tr( "Del" ) );
1225  m_viewInspectorAction->setText( tr( "Show Inspector" ) );
1226  m_viewInspectorAction->setMenuText( tr( "Show Inspector" ) );
1227  m_viewInspectorAction->setToolTip( tr( "Show Inspector window" ) );
1228  m_viewInspectorAction->setStatusTip( tr( "Shows Inspector window" ) );
1229  m_viewInspectorAction->setWhatsThis( tr( "Shows the Inspector window if it is hidden." ) );
1230  m_aboutQt->setText( tr( "About Qt" ) );
1231  m_aboutQt->setMenuText( tr( "About Qt" ) );
1232  m_aboutQt->setToolTip( tr( "Shows infromatoin about Qt" ) );
1233  m_fileBrowse->setText( tr( "Browse" ) );
1234  m_fileBrowse->setMenuText( tr( "&Browse..." ) );
1235  m_fileBrowse->setToolTip( tr( "Browse a document file." ) );
1236  m_fileBrowse->setWhatsThis( tr( "Browse a document file without opening it." ) );
1237  m_zoomMode->setText( tr( "Zoom Mode" ) );
1238  m_zoomMode->setMenuText( tr( "Range zoom" ) );
1239  m_zoomMode->setToolTip( tr( "Toggles range zoom mode" ) );
1240  m_previousView->setText( tr( "Zoom out" ) );
1241  m_previousView->setMenuText( tr( "Previous range" ) );
1242  m_previousView->setToolTip( tr( "Sets range to previoius saved one" ) );
1243  m_nextView->setText( tr( "Next View" ) );
1244  m_nextView->setMenuText( tr( "Next range" ) );
1245  m_nextView->setToolTip( tr( "Sets range to next saved one" ) );
1246  m_set_fitter->setText( QString::null );
1247  m_set_fitter->setMenuText( tr( "Fitter" ) );
1248  m_set_fitter->setToolTip( tr( "Select default fitter" ) );
1249  cutActionGroup->setText( tr( "ActionGroup" ) );
1250  cutActionGroup->setMenuText( tr( "ActionGroup" ) );
1251  m_cut1->setText( tr( "Drag to set cut" ) );
1252  m_cut1->setMenuText( tr( "Drag to set cut" ) );
1253  m_cut1->setToolTip( tr( "Drag to set cut edge" ) );
1254  m_cut2->setText( tr( "Click to set cut" ) );
1255  m_cut2->setMenuText( tr( "Click to set cut" ) );
1256  m_cut2->setToolTip( tr( "Click to set cut edge" ) );
1257  m_cut3->setText( tr( "Drag cut position" ) );
1258  m_cut3->setMenuText( tr( "Drag cut position" ) );
1259  m_cut3->setToolTip( tr( "Drag to set cut position" ) );
1260  m_pick->setText( tr( "Pick points" ) );
1261  m_pick->setMenuText( tr( "Pick points" ) );
1262  m_pick->setToolTip( tr( "Pick Points" ) );
1263  m_helpHelp->setText( tr( "Help" ) );
1264  m_helpHelp->setMenuText( tr( "Help" ) );
1265  m_helpHelp->setToolTip( tr( "Show help browser" ) );
1266  m_createNTuple->setText( tr( "Create NTuple..." ) );
1267  m_createNTuple->setMenuText( tr( "Create NTuple..." ) );
1268  m_createNTuple->setToolTip( tr( "Create NTuple from current datasource" ) );
1269  m_group->setText( tr( "Group Views" ) );
1270  m_group->setMenuText( tr( "Group Views" ) );
1271  m_ungroup->setText( tr( "Ungroup Views" ) );
1272  m_ungroup->setMenuText( tr( "Ungroup Views" ) );
1273  m_recent_files->setMenuText( tr( "Recently opened files" ) );
1274  m_settingDefaultDock->setText( tr( "Default Toolbar" ) );
1275  m_settingDefaultDock->setMenuText( tr( "Default Toolbar" ) );
1276  m_settingDefaultDock->setToolTip( tr( "Set toolbar to default" ) );
1277  m_settingDefaultDock->setStatusTip( tr( "Set toolbar to default position" ) );
1278  toolBar->setLabel( tr( "Files" ) );
1279  Toolbar_2->setLabel( tr( "Edit" ) );
1280  Toolbar->setLabel( tr( "Display range" ) );
1281  Toolbar_4->setLabel( tr( "Cut range" ) );
1282  if (menubar->findItem(2))
1283  menubar->findItem(2)->setText( tr( "&File" ) );
1284  if (menubar->findItem(3))
1285  menubar->findItem(3)->setText( tr( "&Edit" ) );
1286  if (menubar->findItem(4))
1287  menubar->findItem(4)->setText( tr( "View" ) );
1288  if (menubar->findItem(5))
1289  menubar->findItem(5)->setText( tr( "Settings" ) );
1290  if (menubar->findItem(6))
1291  menubar->findItem(6)->setText( tr( "&Help" ) );
1292 }
1293 
1295 {
1296  qWarning( "CanvasWindowBase::viewRemoveEmpty(): Not implemented yet" );
1297 }
1298 
1300 {
1301  qWarning( "CanvasWindowBase::menubar_activated(): Not implemented yet" );
1302 }
1303 

Generated for HippoDraw Class Library by doxygen