1 | /**************************************************************************** |
2 | ** |
3 | ** Copyright (C) 2016 The Qt Company Ltd. |
4 | ** Contact: https://www.qt.io/licensing/ |
5 | ** |
6 | ** This file is part of the QtWidgets module of the Qt Toolkit. |
7 | ** |
8 | ** $QT_BEGIN_LICENSE:LGPL$ |
9 | ** Commercial License Usage |
10 | ** Licensees holding valid commercial Qt licenses may use this file in |
11 | ** accordance with the commercial license agreement provided with the |
12 | ** Software or, alternatively, in accordance with the terms contained in |
13 | ** a written agreement between you and The Qt Company. For licensing terms |
14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
15 | ** information use the contact form at https://www.qt.io/contact-us. |
16 | ** |
17 | ** GNU Lesser General Public License Usage |
18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
19 | ** General Public License version 3 as published by the Free Software |
20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
21 | ** packaging of this file. Please review the following information to |
22 | ** ensure the GNU Lesser General Public License version 3 requirements |
23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
24 | ** |
25 | ** GNU General Public License Usage |
26 | ** Alternatively, this file may be used under the terms of the GNU |
27 | ** General Public License version 2.0 or (at your option) the GNU General |
28 | ** Public license version 3 or any later version approved by the KDE Free |
29 | ** Qt Foundation. The licenses are as published by the Free Software |
30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
31 | ** included in the packaging of this file. Please review the following |
32 | ** information to ensure the GNU General Public License requirements will |
33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
35 | ** |
36 | ** $QT_END_LICENSE$ |
37 | ** |
38 | ****************************************************************************/ |
39 | |
40 | #include <QtWidgets/private/qtwidgetsglobal_p.h> |
41 | |
42 | #ifndef QT_NO_IMAGEFORMAT_XPM |
43 | |
44 | // |
45 | // W A R N I N G |
46 | // ------------- |
47 | // |
48 | // This file is not part of the Qt API. It exists purely as an |
49 | // implementation detail. This header file may change from version to |
50 | // version without notice, or even be removed. |
51 | // |
52 | // We mean it. |
53 | // |
54 | |
55 | static const char * const check_list_controller_xpm[] = { |
56 | "16 16 4 1" , |
57 | " c None" , |
58 | ". c #000000000000" , |
59 | "X c #FFFFFFFF0000" , |
60 | "o c #C71BC30BC71B" , |
61 | " " , |
62 | " " , |
63 | " .......... " , |
64 | " .XXXXXXXX. " , |
65 | " .XXXXXXXX.oo " , |
66 | " .XXXXXXXX.oo " , |
67 | " .XXXXXXXX.oo " , |
68 | " .XXXXXXXX.oo " , |
69 | " .XXXXXXXX.oo " , |
70 | " .XXXXXXXX.oo " , |
71 | " .XXXXXXXX.oo " , |
72 | " ..........oo " , |
73 | " oooooooooo " , |
74 | " oooooooooo " , |
75 | " " , |
76 | " " }; |
77 | |
78 | |
79 | static const char * const tb_extension_arrow_v_xpm[] = { |
80 | "5 8 3 1" , |
81 | " c None" , |
82 | ". c #000000" , |
83 | "+ c none" , |
84 | ".+++." , |
85 | "..+.." , |
86 | "+...+" , |
87 | "++.++" , |
88 | ".+++." , |
89 | "..+.." , |
90 | "+...+" , |
91 | "++.++" |
92 | }; |
93 | |
94 | static const char * const tb_extension_arrow_h_xpm[] = { |
95 | "8 5 3 1" , |
96 | " c None" , |
97 | ". c #000000" , |
98 | "+ c none" , |
99 | "..++..++" , |
100 | "+..++..+" , |
101 | "++..++.." , |
102 | "+..++..+" , |
103 | "..++..++" , |
104 | }; |
105 | |
106 | static const char * const filedialog_start_xpm[]={ |
107 | "16 15 8 1" , |
108 | "a c #cec6bd" , |
109 | "# c #000000" , |
110 | "e c #ffff00" , |
111 | "b c #999999" , |
112 | "f c #cccccc" , |
113 | "d c #dcdcdc" , |
114 | "c c #ffffff" , |
115 | ". c None" , |
116 | ".....######aaaaa" , |
117 | "...bb#cccc##aaaa" , |
118 | "..bcc#cccc#d#aaa" , |
119 | ".bcef#cccc#dd#aa" , |
120 | ".bcfe#cccc#####a" , |
121 | ".bcef#ccccccccc#" , |
122 | "bbbbbbbbbbbbccc#" , |
123 | "bccccccccccbbcc#" , |
124 | "bcefefefefee#bc#" , |
125 | ".bcefefefefef#c#" , |
126 | ".bcfefefefefe#c#" , |
127 | "..bcfefefefeeb##" , |
128 | "..bbbbbbbbbbbbb#" , |
129 | "...#############" , |
130 | "................" }; |
131 | |
132 | static const char * const filedialog_end_xpm[]={ |
133 | "16 15 9 1" , |
134 | "d c #a0a0a0" , |
135 | "c c #c3c3c3" , |
136 | "# c #cec6bd" , |
137 | ". c #000000" , |
138 | "f c #ffff00" , |
139 | "e c #999999" , |
140 | "g c #cccccc" , |
141 | "b c #ffffff" , |
142 | "a c None" , |
143 | "......####aaaaaa" , |
144 | ".bbbb..###aaaaaa" , |
145 | ".bbbb.c.##aaaaaa" , |
146 | ".bbbb....ddeeeea" , |
147 | ".bbbbbbb.bbbbbe." , |
148 | ".bbbbbbb.bcfgfe." , |
149 | "eeeeeeeeeeeeefe." , |
150 | "ebbbbbbbbbbeege." , |
151 | "ebfgfgfgfgff.ee." , |
152 | "aebfgfgfgfgfg.e." , |
153 | "aebgfgfgfgfgf.e." , |
154 | "aaebgfgfgfgffe.." , |
155 | "aaeeeeeeeeeeeee." , |
156 | "aaa............." , |
157 | "aaaaaaaaaaaaaaaa" }; |
158 | |
159 | |
160 | /* XPM */ |
161 | static const char * const [] = { |
162 | "16 16 72 1" , |
163 | " c None" , |
164 | ". c #65AF36" , |
165 | "+ c #66B036" , |
166 | "@ c #77B94C" , |
167 | "# c #A7D28C" , |
168 | "$ c #BADBA4" , |
169 | "% c #A4D088" , |
170 | "& c #72B646" , |
171 | "* c #9ACB7A" , |
172 | "= c #7FBD56" , |
173 | "- c #85C05F" , |
174 | "; c #F4F9F0" , |
175 | "> c #FFFFFF" , |
176 | ", c #E5F1DC" , |
177 | "' c #ECF5E7" , |
178 | ") c #7ABA50" , |
179 | "! c #83BF5C" , |
180 | "~ c #AED595" , |
181 | "{ c #D7EACA" , |
182 | "] c #A9D28D" , |
183 | "^ c #BCDDA8" , |
184 | "/ c #C4E0B1" , |
185 | "( c #81BE59" , |
186 | "_ c #D0E7C2" , |
187 | ": c #D4E9C6" , |
188 | "< c #6FB542" , |
189 | "[ c #6EB440" , |
190 | "} c #88C162" , |
191 | "| c #98CA78" , |
192 | "1 c #F4F9F1" , |
193 | "2 c #8FC56C" , |
194 | "3 c #F1F8EC" , |
195 | "4 c #E8F3E1" , |
196 | "5 c #D4E9C7" , |
197 | "6 c #74B748" , |
198 | "7 c #80BE59" , |
199 | "8 c #73B747" , |
200 | "9 c #6DB43F" , |
201 | "0 c #CBE4BA" , |
202 | "a c #80BD58" , |
203 | "b c #6DB33F" , |
204 | "c c #FEFFFE" , |
205 | "d c #68B138" , |
206 | "e c #F9FCF7" , |
207 | "f c #91C66F" , |
208 | "g c #E8F3E0" , |
209 | "h c #DCEDD0" , |
210 | "i c #91C66E" , |
211 | "j c #A3CF86" , |
212 | "k c #C9E3B8" , |
213 | "l c #B0D697" , |
214 | "m c #E3F0DA" , |
215 | "n c #95C873" , |
216 | "o c #E6F2DE" , |
217 | "p c #9ECD80" , |
218 | "q c #BEDEAA" , |
219 | "r c #C7E2B6" , |
220 | "s c #79BA4F" , |
221 | "t c #6EB441" , |
222 | "u c #BCDCA7" , |
223 | "v c #FAFCF8" , |
224 | "w c #F6FAF3" , |
225 | "x c #84BF5D" , |
226 | "y c #EDF6E7" , |
227 | "z c #FAFDF9" , |
228 | "A c #88C263" , |
229 | "B c #98CA77" , |
230 | "C c #CDE5BE" , |
231 | "D c #67B037" , |
232 | "E c #D9EBCD" , |
233 | "F c #6AB23C" , |
234 | "G c #77B94D" , |
235 | " .++++++++++++++" , |
236 | ".+++++++++++++++" , |
237 | "+++@#$%&+++*=+++" , |
238 | "++-;>,>')+!>~+++" , |
239 | "++{>]+^>/(_>:~<+" , |
240 | "+[>>}+|>123>456+" , |
241 | "+7>>8+->>90>~+++" , |
242 | "+a>>b+a>c[0>~+++" , |
243 | "+de>=+f>g+0>~+++" , |
244 | "++h>i+j>k+0>~+++" , |
245 | "++l>mno>p+q>rst+" , |
246 | "++duv>wl++xy>zA+" , |
247 | "++++B>Cb++++&D++" , |
248 | "+++++0zE++++++++" , |
249 | "++++++FG+++++++." , |
250 | "++++++++++++++. " }; |
251 | |
252 | static const char * const qt_close_xpm[] = { |
253 | "10 10 2 1" , |
254 | "# c #000000" , |
255 | ". c None" , |
256 | ".........." , |
257 | ".##....##." , |
258 | "..##..##.." , |
259 | "...####..." , |
260 | "....##...." , |
261 | "...####..." , |
262 | "..##..##.." , |
263 | ".##....##." , |
264 | ".........." , |
265 | ".........." }; |
266 | |
267 | static const char * const qt_maximize_xpm[]={ |
268 | "10 10 2 1" , |
269 | "# c #000000" , |
270 | ". c None" , |
271 | "#########." , |
272 | "#########." , |
273 | "#.......#." , |
274 | "#.......#." , |
275 | "#.......#." , |
276 | "#.......#." , |
277 | "#.......#." , |
278 | "#.......#." , |
279 | "#########." , |
280 | ".........." }; |
281 | |
282 | static const char * const qt_minimize_xpm[] = { |
283 | "10 10 2 1" , |
284 | "# c #000000" , |
285 | ". c None" , |
286 | ".........." , |
287 | ".........." , |
288 | ".........." , |
289 | ".........." , |
290 | ".........." , |
291 | ".........." , |
292 | ".........." , |
293 | ".#######.." , |
294 | ".#######.." , |
295 | ".........." }; |
296 | |
297 | static const char * const qt_normalizeup_xpm[] = { |
298 | "10 10 2 1" , |
299 | "# c #000000" , |
300 | ". c None" , |
301 | "...######." , |
302 | "...######." , |
303 | "...#....#." , |
304 | ".######.#." , |
305 | ".######.#." , |
306 | ".#....###." , |
307 | ".#....#..." , |
308 | ".#....#..." , |
309 | ".######..." , |
310 | ".........." }; |
311 | |
312 | static const char * const qt_help_xpm[] = { |
313 | "10 10 2 1" , |
314 | ". c None" , |
315 | "# c #000000" , |
316 | ".........." , |
317 | "..######.." , |
318 | ".##....##." , |
319 | "......##.." , |
320 | ".....##..." , |
321 | "....##...." , |
322 | "....##...." , |
323 | ".........." , |
324 | "....##...." , |
325 | ".........." }; |
326 | |
327 | static const char * const qt_shade_xpm[] = { |
328 | "10 10 2 1" , |
329 | "# c #000000" , |
330 | ". c None" , |
331 | ".........." , |
332 | ".........." , |
333 | ".........." , |
334 | ".........." , |
335 | "....#....." , |
336 | "...###...." , |
337 | "..#####..." , |
338 | ".#######.." , |
339 | ".........." , |
340 | ".........." }; |
341 | |
342 | static const char * const qt_unshade_xpm[] = { |
343 | "10 10 2 1" , |
344 | "# c #000000" , |
345 | ". c None" , |
346 | ".........." , |
347 | ".........." , |
348 | ".........." , |
349 | ".#######.." , |
350 | "..#####..." , |
351 | "...###...." , |
352 | "....#....." , |
353 | ".........." , |
354 | ".........." , |
355 | ".........." }; |
356 | |
357 | static const char * const dock_widget_close_xpm[] = { |
358 | "8 8 2 1" , |
359 | "# c #000000" , |
360 | ". c None" , |
361 | "........" , |
362 | ".##..##." , |
363 | "..####.." , |
364 | "...##..." , |
365 | "..####.." , |
366 | ".##..##." , |
367 | "........" , |
368 | "........" }; |
369 | |
370 | /* XPM */ |
371 | static const char * const information_xpm[]={ |
372 | "32 32 5 1" , |
373 | ". c None" , |
374 | "c c #000000" , |
375 | "* c #999999" , |
376 | "a c #ffffff" , |
377 | "b c #0000ff" , |
378 | "...........********............." , |
379 | "........***aaaaaaaa***.........." , |
380 | "......**aaaaaaaaaaaaaa**........" , |
381 | ".....*aaaaaaaaaaaaaaaaaa*......." , |
382 | "....*aaaaaaaabbbbaaaaaaaac......" , |
383 | "...*aaaaaaaabbbbbbaaaaaaaac....." , |
384 | "..*aaaaaaaaabbbbbbaaaaaaaaac...." , |
385 | ".*aaaaaaaaaaabbbbaaaaaaaaaaac..." , |
386 | ".*aaaaaaaaaaaaaaaaaaaaaaaaaac*.." , |
387 | "*aaaaaaaaaaaaaaaaaaaaaaaaaaaac*." , |
388 | "*aaaaaaaaaabbbbbbbaaaaaaaaaaac*." , |
389 | "*aaaaaaaaaaaabbbbbaaaaaaaaaaac**" , |
390 | "*aaaaaaaaaaaabbbbbaaaaaaaaaaac**" , |
391 | "*aaaaaaaaaaaabbbbbaaaaaaaaaaac**" , |
392 | "*aaaaaaaaaaaabbbbbaaaaaaaaaaac**" , |
393 | "*aaaaaaaaaaaabbbbbaaaaaaaaaaac**" , |
394 | ".*aaaaaaaaaaabbbbbaaaaaaaaaac***" , |
395 | ".*aaaaaaaaaaabbbbbaaaaaaaaaac***" , |
396 | "..*aaaaaaaaaabbbbbaaaaaaaaac***." , |
397 | "...caaaaaaabbbbbbbbbaaaaaac****." , |
398 | "....caaaaaaaaaaaaaaaaaaaac****.." , |
399 | ".....caaaaaaaaaaaaaaaaaac****..." , |
400 | "......ccaaaaaaaaaaaaaacc****...." , |
401 | ".......*cccaaaaaaaaccc*****....." , |
402 | "........***cccaaaac*******......" , |
403 | "..........****caaac*****........" , |
404 | ".............*caaac**..........." , |
405 | "...............caac**..........." , |
406 | "................cac**..........." , |
407 | ".................cc**..........." , |
408 | "..................***..........." , |
409 | "...................**..........." }; |
410 | /* XPM */ |
411 | static const char* const warning_xpm[]={ |
412 | "32 32 4 1" , |
413 | ". c None" , |
414 | "a c #ffff00" , |
415 | "* c #000000" , |
416 | "b c #999999" , |
417 | ".............***................" , |
418 | "............*aaa*..............." , |
419 | "...........*aaaaa*b............." , |
420 | "...........*aaaaa*bb............" , |
421 | "..........*aaaaaaa*bb..........." , |
422 | "..........*aaaaaaa*bb..........." , |
423 | ".........*aaaaaaaaa*bb.........." , |
424 | ".........*aaaaaaaaa*bb.........." , |
425 | "........*aaaaaaaaaaa*bb........." , |
426 | "........*aaaa***aaaa*bb........." , |
427 | ".......*aaaa*****aaaa*bb........" , |
428 | ".......*aaaa*****aaaa*bb........" , |
429 | "......*aaaaa*****aaaaa*bb......." , |
430 | "......*aaaaa*****aaaaa*bb......." , |
431 | ".....*aaaaaa*****aaaaaa*bb......" , |
432 | ".....*aaaaaa*****aaaaaa*bb......" , |
433 | "....*aaaaaaaa***aaaaaaaa*bb....." , |
434 | "....*aaaaaaaa***aaaaaaaa*bb....." , |
435 | "...*aaaaaaaaa***aaaaaaaaa*bb...." , |
436 | "...*aaaaaaaaaa*aaaaaaaaaa*bb...." , |
437 | "..*aaaaaaaaaaa*aaaaaaaaaaa*bb..." , |
438 | "..*aaaaaaaaaaaaaaaaaaaaaaa*bb..." , |
439 | ".*aaaaaaaaaaaa**aaaaaaaaaaa*bb.." , |
440 | ".*aaaaaaaaaaa****aaaaaaaaaa*bb.." , |
441 | "*aaaaaaaaaaaa****aaaaaaaaaaa*bb." , |
442 | "*aaaaaaaaaaaaa**aaaaaaaaaaaa*bb." , |
443 | "*aaaaaaaaaaaaaaaaaaaaaaaaaaa*bbb" , |
444 | "*aaaaaaaaaaaaaaaaaaaaaaaaaaa*bbb" , |
445 | ".*aaaaaaaaaaaaaaaaaaaaaaaaa*bbbb" , |
446 | "..*************************bbbbb" , |
447 | "....bbbbbbbbbbbbbbbbbbbbbbbbbbb." , |
448 | ".....bbbbbbbbbbbbbbbbbbbbbbbbb.." }; |
449 | /* XPM */ |
450 | static const char* const critical_xpm[]={ |
451 | "32 32 4 1" , |
452 | ". c None" , |
453 | "a c #999999" , |
454 | "* c #ff0000" , |
455 | "b c #ffffff" , |
456 | "...........********............." , |
457 | ".........************..........." , |
458 | ".......****************........." , |
459 | "......******************........" , |
460 | ".....********************a......" , |
461 | "....**********************a....." , |
462 | "...************************a...." , |
463 | "..*******b**********b*******a..." , |
464 | "..******bbb********bbb******a..." , |
465 | ".******bbbbb******bbbbb******a.." , |
466 | ".*******bbbbb****bbbbb*******a.." , |
467 | "*********bbbbb**bbbbb*********a." , |
468 | "**********bbbbbbbbbb**********a." , |
469 | "***********bbbbbbbb***********aa" , |
470 | "************bbbbbb************aa" , |
471 | "************bbbbbb************aa" , |
472 | "***********bbbbbbbb***********aa" , |
473 | "**********bbbbbbbbbb**********aa" , |
474 | "*********bbbbb**bbbbb*********aa" , |
475 | ".*******bbbbb****bbbbb*******aa." , |
476 | ".******bbbbb******bbbbb******aa." , |
477 | "..******bbb********bbb******aaa." , |
478 | "..*******b**********b*******aa.." , |
479 | "...************************aaa.." , |
480 | "....**********************aaa..." , |
481 | "....a********************aaa...." , |
482 | ".....a******************aaa....." , |
483 | "......a****************aaa......" , |
484 | ".......aa************aaaa......." , |
485 | ".........aa********aaaaa........" , |
486 | "...........aaaaaaaaaaa.........." , |
487 | ".............aaaaaaa............" }; |
488 | /* XPM */ |
489 | static const char *const question_xpm[] = { |
490 | "32 32 5 1" , |
491 | ". c None" , |
492 | "c c #000000" , |
493 | "* c #999999" , |
494 | "a c #ffffff" , |
495 | "b c #0000ff" , |
496 | "...........********............." , |
497 | "........***aaaaaaaa***.........." , |
498 | "......**aaaaaaaaaaaaaa**........" , |
499 | ".....*aaaaaaaaaaaaaaaaaa*......." , |
500 | "....*aaaaaaaaaaaaaaaaaaaac......" , |
501 | "...*aaaaaaaabbbbbbaaaaaaaac....." , |
502 | "..*aaaaaaaabaaabbbbaaaaaaaac...." , |
503 | ".*aaaaaaaabbaaaabbbbaaaaaaaac..." , |
504 | ".*aaaaaaaabbbbaabbbbaaaaaaaac*.." , |
505 | "*aaaaaaaaabbbbaabbbbaaaaaaaaac*." , |
506 | "*aaaaaaaaaabbaabbbbaaaaaaaaaac*." , |
507 | "*aaaaaaaaaaaaabbbbaaaaaaaaaaac**" , |
508 | "*aaaaaaaaaaaaabbbaaaaaaaaaaaac**" , |
509 | "*aaaaaaaaaaaaabbaaaaaaaaaaaaac**" , |
510 | "*aaaaaaaaaaaaabbaaaaaaaaaaaaac**" , |
511 | "*aaaaaaaaaaaaaaaaaaaaaaaaaaaac**" , |
512 | ".*aaaaaaaaaaaabbaaaaaaaaaaaac***" , |
513 | ".*aaaaaaaaaaabbbbaaaaaaaaaaac***" , |
514 | "..*aaaaaaaaaabbbbaaaaaaaaaac***." , |
515 | "...caaaaaaaaaabbaaaaaaaaaac****." , |
516 | "....caaaaaaaaaaaaaaaaaaaac****.." , |
517 | ".....caaaaaaaaaaaaaaaaaac****..." , |
518 | "......ccaaaaaaaaaaaaaacc****...." , |
519 | ".......*cccaaaaaaaaccc*****....." , |
520 | "........***cccaaaac*******......" , |
521 | "..........****caaac*****........" , |
522 | ".............*caaac**..........." , |
523 | "...............caac**..........." , |
524 | "................cac**..........." , |
525 | ".................cc**..........." , |
526 | "..................***..........." , |
527 | "...................**..........." }; |
528 | |
529 | #endif //QT_NO_IMAGEFORMAT_XPM |
530 | |