SIP4 python bindings for TQt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mainwindow.py 32KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097
  1. # -*- coding: utf-8 -*-
  2. # Form implementation generated from reading ui file 'mainwindow.ui'
  3. #
  4. # Created: Sun Dec 5 14:50:47 2004
  5. # by: The PyTQt User Interface Compiler (pyuic) snapshot-20041203
  6. #
  7. # WARNING! All changes made in this file will be lost!
  8. from python_tqt.qt import *
  9. from python_tqt.qtaxcontainer import TQAxWidget
  10. image0_data = [
  11. "32 32 3 1",
  12. ". c None",
  13. "a c #000080",
  14. "# c #808080",
  15. "................................",
  16. "................................",
  17. "................................",
  18. "................................",
  19. "................................",
  20. "................................",
  21. "................................",
  22. "................................",
  23. ".......#aaaaaaaaa...............",
  24. "......#aaaaaaaaaaa.........a....",
  25. ".....#aaa.......aaa.......aa....",
  26. "....#aaa.........aaaa....aaa....",
  27. "....aaa...........aaaa..aaaa....",
  28. "....aa..............aaaaaaaa....",
  29. "....aa...............aaaaaaa....",
  30. "....aa...............aaaaaaa....",
  31. "....aa..............aaaaaaaa....",
  32. "....aa.............aaaaaaaaa....",
  33. "....#aa...........aaaaaaaaaa....",
  34. ".....#aa.........aaaaaaaaaaa....",
  35. "......aa#.......................",
  36. ".......aa#......................",
  37. "................................",
  38. "................................",
  39. "................................",
  40. "................................",
  41. "................................",
  42. "................................",
  43. "................................",
  44. "................................",
  45. "................................",
  46. "................................"
  47. ]
  48. image1_data = [
  49. "32 32 142 2",
  50. "TQt c None",
  51. "#O c #0010f7",
  52. "#P c #0021ef",
  53. "#R c #0021f7",
  54. "#S c #0021ff",
  55. "#T c #0029ff",
  56. "ah c #0031ff",
  57. "#N c #0829f7",
  58. "#x c #0831ff",
  59. "#C c #0839ff",
  60. "#E c #1029e7",
  61. "#r c #1039ff",
  62. "#o c #1042ff",
  63. "#Q c #1831de",
  64. "ak c #1831e7",
  65. "#k c #1842ff",
  66. "#H c #184aff",
  67. "aj c #2139e7",
  68. "#s c #2142de",
  69. "#G c #214aff",
  70. ".9 c #2152ff",
  71. "#2 c #2939c6",
  72. "ag c #2939d6",
  73. "a# c #2942ce",
  74. "#p c #2942de",
  75. "#U c #2952ff",
  76. "ae c #295aff",
  77. "#y c #3152de",
  78. ".2 c #3152e7",
  79. "#I c #315aff",
  80. "#z c #3163ff",
  81. "#1 c #394abd",
  82. "#L c #394ade",
  83. "#B c #3963ff",
  84. "#w c #396bff",
  85. "#V c #4252d6",
  86. "#l c #4252de",
  87. "#W c #4263ef",
  88. "#q c #426bff",
  89. ".1 c #4273ff",
  90. "#5 c #4a5ad6",
  91. "#J c #4a73ff",
  92. "#K c #4a7bff",
  93. "ac c #4a84ff",
  94. "ab c #5263c6",
  95. ".T c #5263ce",
  96. ".M c #5273d6",
  97. ".c c #5273e7",
  98. ".U c #527bde",
  99. "#t c #527bf7",
  100. "#A c #5284ff",
  101. "#X c #5a63ad",
  102. ".V c #5a84ef",
  103. "#F c #5a84ff",
  104. "#v c #5a8cff",
  105. "ad c #636bbd",
  106. ".e c #637bc6",
  107. ".W c #637bce",
  108. ".3 c #637bd6",
  109. ".Q c #6384de",
  110. ".5 c #638cef",
  111. "#b c #638cff",
  112. "#j c #6394ff",
  113. "af c #6b73bd",
  114. "#0 c #6b73c6",
  115. ".S c #6b84ce",
  116. "#u c #6b94ff",
  117. ".C c #6b9cff",
  118. "ai c #737bce",
  119. ".z c #7384b5",
  120. ".j c #7384c6",
  121. "#6 c #738cce",
  122. ".4 c #738cd6",
  123. ".b c #739ce7",
  124. ".I c #73a5ff",
  125. "#n c #73adff",
  126. "#Z c #7b84b5",
  127. ".R c #7b8cbd",
  128. ".J c #7b94bd",
  129. ".n c #7ba5e7",
  130. ".P c #7badff",
  131. "#c c #7bb5ff",
  132. "#M c #84849c",
  133. "#3 c #8484ad",
  134. ".i c #848cc6",
  135. "al c #8494bd",
  136. "aa c #849cc6",
  137. ".y c #84adff",
  138. ".O c #84b5ff",
  139. "#a c #84bdff",
  140. ".t c #8c94ad",
  141. ".a c #8c94b5",
  142. ".D c #8c9cbd",
  143. ".m c #8c9cce",
  144. ".A c #8ca5ef",
  145. ".f c #8cadf7",
  146. ".H c #8cbdff",
  147. "#D c #9494a5",
  148. "#8 c #9494bd",
  149. "#9 c #9494c6",
  150. "a. c #949cbd",
  151. ".r c #94c6ff",
  152. "#d c #94ceff",
  153. "#4 c #9ca5ad",
  154. "#7 c #9ca5b5",
  155. ".u c #9cbdf7",
  156. ".6 c #9cc6ff",
  157. ".0 c #9cceff",
  158. ".x c #9cd6ff",
  159. ".L c #a5a5b5",
  160. "#Y c #a5a5bd",
  161. "#e c #a5ceff",
  162. "## c #a5d6ff",
  163. ".X c #adadb5",
  164. ".k c #adc6ff",
  165. "#i c #add6ff",
  166. ".E c #b5b5b5",
  167. ".d c #b5b5bd",
  168. ".K c #b5bdc6",
  169. ".F c #b5ceff",
  170. ".N c #b5d6ff",
  171. ".B c #b5deff",
  172. ".s c #bdbdbd",
  173. ".# c #bdbdc6",
  174. "#. c #bdd6ff",
  175. ".G c #bde7ff",
  176. "#h c #c6e7ff",
  177. "#f c #c6efff",
  178. ".w c #c6f7ff",
  179. ".h c #ced6ff",
  180. ".Y c #cee7ff",
  181. ".q c #ceefff",
  182. ".Z c #cef7ff",
  183. ".l c #d6efff",
  184. ".8 c #d6f7ff",
  185. ".o c #deefff",
  186. ".7 c #def7ff",
  187. "#m c #deffff",
  188. "#g c #e7ffff",
  189. ".v c #efffff",
  190. ".p c #f7ffff",
  191. ".g c #ffffff",
  192. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  193. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtT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TQtTQtTQtTQtTQt#4#Q#T#xahaiTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  219. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQt#4adajakalTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  220. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  221. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  222. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  223. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt"
  224. ]
  225. image2_data = [
  226. "32 32 142 2",
  227. "TQt c None",
  228. "#Y c #0018e7",
  229. "aa c #0018ef",
  230. "#E c #0018ff",
  231. "#Q c #0021ef",
  232. "#K c #0021ff",
  233. "a# c #0029ff",
  234. "a. c #0829ff",
  235. "#P c #0831ff",
  236. "#4 c #1021d6",
  237. "#R c #1021de",
  238. "#L c #1029d6",
  239. "#V c #1029e7",
  240. "#n c #1039f7",
  241. "#W c #1039ff",
  242. "#O c #1042ff",
  243. "ah c #1831ce",
  244. "#y c #1842ff",
  245. "aj c #2131c6",
  246. "#S c #2131ce",
  247. "#z c #2139de",
  248. ".0 c #2142de",
  249. "ai c #2142e7",
  250. ".t c #214aef",
  251. "#D c #214aff",
  252. ".x c #2152ff",
  253. "al c #2939de",
  254. "#d c #294ae7",
  255. "#I c #2952ff",
  256. "#J c #295aff",
  257. "#T c #3142bd",
  258. "#N c #315aff",
  259. "#s c #3163ff",
  260. "#F c #394ac6",
  261. "#G c #3952d6",
  262. "ag c #395ae7",
  263. ".B c #3963f7",
  264. "ae c #3963ff",
  265. ".g c #396bff",
  266. "#U c #424ab5",
  267. "#2 c #4252b5",
  268. ".J c #425ace",
  269. "#A c #4263de",
  270. ".b c #426be7",
  271. "#p c #426bef",
  272. "#x c #426bff",
  273. ".n c #4273ff",
  274. ".o c #4a63ce",
  275. "#t c #4a6be7",
  276. ".Q c #4a73de",
  277. "#3 c #4a73ff",
  278. "#C c #4a7bff",
  279. "#Z c #525abd",
  280. ".1 c #526bbd",
  281. ".W c #526bc6",
  282. ".R c #526bce",
  283. ".P c #527be7",
  284. "#w c #5284ff",
  285. "#m c #528cff",
  286. "ac c #5a63bd",
  287. "ak c #5a6bbd",
  288. ".O c #5a7bf7",
  289. "#H c #5a84ff",
  290. "#9 c #5a8cff",
  291. "af c #636bb5",
  292. ".h c #636bbd",
  293. "ab c #6384ef",
  294. "#v c #638cff",
  295. ".w c #6394ff",
  296. ".s c #639cff",
  297. "#M c #6b73b5",
  298. ".C c #6b73bd",
  299. "#u c #6b9cff",
  300. ".c c #737bb5",
  301. ".S c #7384ce",
  302. ".N c #738ce7",
  303. ".a c #7394de",
  304. ".8 c #7394ef",
  305. "#8 c #739cf7",
  306. "#B c #739cff",
  307. ".A c #73a5ff",
  308. "#0 c #7b84b5",
  309. ".T c #7b8cbd",
  310. ".9 c #7b94c6",
  311. "#. c #7b94d6",
  312. ".7 c #7ba5ff",
  313. ".X c #7badff",
  314. ".I c #7bb5ff",
  315. "#5 c #848ca5",
  316. ".y c #848cad",
  317. ".M c #8494b5",
  318. "## c #849cd6",
  319. "#c c #84adff",
  320. ".G c #84b5ff",
  321. ".Z c #84bdff",
  322. "#o c #8c8cad",
  323. "#a c #8ca5ce",
  324. ".Y c #8cb5ff",
  325. ".H c #8cbdff",
  326. "#1 c #9494a5",
  327. ".U c #9494ad",
  328. "#7 c #949cad",
  329. "#b c #94ade7",
  330. ".z c #94c6ff",
  331. ".v c #94ceff",
  332. ".j c #9c9cad",
  333. ".u c #9ca5ad",
  334. "#r c #9cc6ff",
  335. ".m c #9cceff",
  336. ".d c #a5a5a5",
  337. "#6 c #a5a5ad",
  338. ".V c #a5a5b5",
  339. ".K c #a5adb5",
  340. ".2 c #a5ceff",
  341. ".r c #a5d6ff",
  342. ".L c #adadad",
  343. ".i c #adadb5",
  344. ".p c #adadbd",
  345. ".q c #addeff",
  346. "#e c #ade7ff",
  347. "#X c #b5b5b5",
  348. ".D c #b5b5bd",
  349. ".E c #b5b5c6",
  350. ".F c #b5bdc6",
  351. ".f c #b5deff",
  352. "#q c #b5efff",
  353. ".# c #bdbdbd",
  354. "ad c #bdbdc6",
  355. ".6 c #bddeff",
  356. "#i c #bde7ff",
  357. "#h c #bdefff",
  358. "#g c #c6f7ff",
  359. "#l c #cee7ff",
  360. "#j c #cef7ff",
  361. "#f c #ceffff",
  362. ".k c #d6efff",
  363. "#k c #d6f7ff",
  364. ".l c #d6ffff",
  365. ".e c #deefff",
  366. ".5 c #e7ffff",
  367. ".4 c #efffff",
  368. ".3 c #f7ffff",
  369. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  370. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  371. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  372. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  373. "TQ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TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  398. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  399. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  400. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt"
  401. ]
  402. image3_data = [
  403. "25 25 2 1",
  404. "# c #000000",
  405. ". c #ffffff",
  406. ".........................",
  407. ".........................",
  408. ".........................",
  409. ".........######..........",
  410. ".......##########........",
  411. "......####....####.......",
  412. ".....###........###......",
  413. "....#####........###.....",
  414. "....##.###........##.....",
  415. "...###..###.......###....",
  416. "...##....###.......##....",
  417. "...##.....###......##....",
  418. "...##......###.....##....",
  419. "...##.......###....##....",
  420. "...###.......###..###....",
  421. "....##........###.##.....",
  422. "....###........#####.....",
  423. ".....###........###......",
  424. "......####....####.......",
  425. ".......##########........",
  426. ".........######..........",
  427. ".........................",
  428. ".........................",
  429. ".........................",
  430. "........................."
  431. ]
  432. image4_data = [
  433. "32 32 3 1",
  434. ". c None",
  435. "# c #000080",
  436. "a c #808080",
  437. "................................",
  438. "................................",
  439. "................................",
  440. "................................",
  441. "................................",
  442. "................................",
  443. "................................",
  444. "................................",
  445. "................................",
  446. "...............#########a.......",
  447. "....#.........###########a......",
  448. "....##.......###.......###a.....",
  449. "....###....####.........###a....",
  450. "....####..####...........###....",
  451. "....########..............##....",
  452. "....#######...............##....",
  453. "....#######...............##....",
  454. "....########..............##....",
  455. "....#########.............##....",
  456. "....##########...........##a....",
  457. "....###########.........##a.....",
  458. ".......................a##......",
  459. "......................a##.......",
  460. "................................",
  461. "................................",
  462. "................................",
  463. "................................",
  464. "................................",
  465. "................................",
  466. "................................",
  467. "................................",
  468. "................................"
  469. ]
  470. image5_data = [
  471. "32 32 211 2",
  472. "TQt c None",
  473. "aJ c #000000",
  474. "#W c #080800",
  475. "#N c #100800",
  476. "#V c #101000",
  477. "#E c #101008",
  478. "#M c #181000",
  479. "#L c #181800",
  480. "#D c #181808",
  481. "#F c #181810",
  482. "as c #211800",
  483. "#K c #211808",
  484. "#J c #212110",
  485. "#G c #212118",
  486. "#q c #212121",
  487. "an c #292100",
  488. "#I c #292110",
  489. "aN c #292910",
  490. "#H c #292918",
  491. "#y c #292921",
  492. "aF c #312900",
  493. "#C c #312918",
  494. "#i c #312929",
  495. ".0 c #313131",
  496. "#7 c #393100",
  497. "#U c #393108",
  498. "aG c #393931",
  499. ".M c #393939",
  500. "#u c #423939",
  501. "#c c #424a42",
  502. "aE c #4a4200",
  503. "aY c #4a4210",
  504. ".V c #4a4239",
  505. "#B c #4a4a39",
  506. ".m c #4a4a42",
  507. "aP c #4a5218",
  508. ".G c #4a5252",
  509. ".z c #4a5a52",
  510. "aO c #524200",
  511. "am c #524a00",
  512. "#T c #524a08",
  513. "#p c #524a4a",
  514. ".s c #525252",
  515. "#a c #525a52",
  516. ".7 c #52635a",
  517. "#b c #526363",
  518. "az c #5a4a00",
  519. "#6 c #5a5208",
  520. "aw c #5a5210",
  521. ".Z c #5a524a",
  522. ".L c #5a5a52",
  523. ".y c #5a5a5a",
  524. ".F c #5a635a",
  525. "#S c #635208",
  526. "ax c #635a10",
  527. ".U c #635a52",
  528. ".r c #635a5a",
  529. "aZ c #636321",
  530. "## c #63635a",
  531. ".A c #636363",
  532. "#h c #636b6b",
  533. "aL c #637329",
  534. "af c #6b5a00",
  535. ".6 c #6b635a",
  536. "#o c #6b6363",
  537. ".E c #6b6b63",
  538. "a4 c #6b7321",
  539. "aS c #6b7329",
  540. "aR c #6b7331",
  541. "aX c #736300",
  542. "al c #736308",
  543. "#R c #736b10",
  544. ".T c #736b63",
  545. "a5 c #737329",
  546. ".i c #73736b",
  547. ".K c #737373",
  548. "a7 c #737b29",
  549. "#g c #737b73",
  550. "a9 c #7b7318",
  551. "#A c #7b7373",
  552. "a8 c #7b7b21",
  553. "aV c #7b7b29",
  554. "aQ c #7b7b5a",
  555. ".J c #7b7b73",
  556. ".1 c #7b7b7b",
  557. "b# c #7b8431",
  558. "a3 c #7b844a",
  559. ".8 c #7b847b",
  560. "ay c #847308",
  561. "#5 c #847310",
  562. "aT c #847b21",
  563. "b. c #847b29",
  564. ".S c #847b73",
  565. ".d c #847b7b",
  566. "aW c #848421",
  567. "a1 c #848429",
  568. "a0 c #848431",
  569. "bq c #84844a",
  570. ".H c #848484",
  571. "ae c #8c7b08",
  572. "ak c #8c7b10",
  573. "#j c #8c8484",
  574. "ba c #8c8c63",
  575. "a2 c #8c8c7b",
  576. ".x c #8c8c84",
  577. ".2 c #8c948c",
  578. ".9 c #8cada5",
  579. "aC c #947b08",
  580. ".Y c #947b73",
  581. "aK c #948c10",
  582. "#Q c #948c18",
  583. "a6 c #948c29",
  584. "#m c #948c84",
  585. "bp c #949442",
  586. "aH c #949484",
  587. ".D c #94948c",
  588. ".n c #949494",
  589. "bn c #949c4a",
  590. "bl c #949c5a",
  591. "bj c #949c63",
  592. ".u c #949c94",
  593. ".v c #94a59c",
  594. "aI c #9c8c10",
  595. "#4 c #9c8c18",
  596. "#O c #9c8c29",
  597. "aM c #9c9418",
  598. "#r c #9c948c",
  599. "bo c #9c9c4a",
  600. "bm c #9c9c52",
  601. "bk c #9c9c5a",
  602. "bh c #9c9c6b",
  603. ".k c #9c9c94",
  604. ".a c #9c9c9c",
  605. "bi c #9ca56b",
  606. "bf c #9ca573",
  607. ".h c #9ca59c",
  608. "#f c #9ca5a5",
  609. ".B c #9cbdb5",
  610. "#P c #a59400",
  611. "aB c #a59418",
  612. "#k c #a5948c",
  613. "ar c #a59c29",
  614. ".N c #a59c8c",
  615. ".P c #a59c94",
  616. ".W c #a59c9c",
  617. "bg c #a5a573",
  618. "bd c #a5a584",
  619. ".q c #a5a59c",
  620. ".c c #a5a5a5",
  621. "be c #a5ad7b",
  622. ".o c #a5ada5",
  623. ".C c #a5adad",
  624. ".I c #a5b5ad",
  625. "#d c #a5bdb5",
  626. ".w c #a5c6bd",
  627. "ad c #ad9c10",
  628. "aj c #ad9c18",
  629. "#w c #ad9c94",
  630. ".f c #ada59c",
  631. "bc c #adad7b",
  632. "bb c #adad84",
  633. ".# c #adada5",
  634. ".t c #adadad",
  635. ".4 c #adb5ad",
  636. "ai c #b5a518",
  637. "aq c #b5a529",
  638. "aD c #b5a542",
  639. "ao c #b5a54a",
  640. ".O c #b5a594",
  641. "#v c #b5a59c",
  642. "at c #b5ad52",
  643. "#z c #b5ad9c",
  644. ".5 c #b5ada5",
  645. ".j c #b5b5ad",
  646. ".e c #b5b5b5",
  647. ".3 c #b5bdb5",
  648. ".Q c #b5bdbd",
  649. "#e c #b5cec6",
  650. "#8 c #bda539",
  651. "#x c #bda59c",
  652. "#3 c #bdad29",
  653. "#X c #bdad31",
  654. "ag c #bdad42",
  655. "#n c #bdb5ad",
  656. ".b c #bdbdbd",
  657. ".X c #bdcec6",
  658. "aU c #c6b510",
  659. "#. c #c6c6bd",
  660. ".p c #c6cece",
  661. ".g c #c6ded6",
  662. "ac c #cebd31",
  663. "#l c #ced6ce",
  664. "#s c #ced6d6",
  665. "#t c #cedede",
  666. "#9 c #d6c610",
  667. "#2 c #d6c631",
  668. "ap c #dec608",
  669. "ah c #dece10",
  670. "ab c #dece31",
  671. ".l c #deefe7",
  672. ".R c #deefef",
  673. "au c #e7ce08",
  674. "a. c #e7d621",
  675. "a# c #e7d631",
  676. "aa c #e7d639",
  677. "#1 c #e7de39",
  678. "#Y c #efde10",
  679. "av c #efde21",
  680. "aA c #efde29",
  681. "#Z c #f7e729",
  682. "#0 c #f7e739",
  683. "TQtTQtTQtTQtTQtTQtTQtTQtTQ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QtTQtTQtTQtTQt",
  707. "TQtTQtTQtTQtTQtTQtTQtTQtTQtatahaAaB#W#N#M#V#V#RaCalazas.JTQtTQtTQtTQtTQtTQtTQtTQt",
  708. "TQtTQtTQtTQtTQtTQtTQtTQt.baDap#Z#Q#N#M#V#M#N#6akafaEaFaG.E#h.JTQtTQtTQtTQtTQt",
  709. "TQtTQtTQtTQtTQtTQtTQtTQtaHaIahaAaB#W#W#N#WaJ#6aKalamaF#WaJaJ#yTQtTQtTQtTQtTQt",
  710. "TQtTQtTQtTQtTQtTQtTQt.qaLaIahavaM#WaJ#W#DaN#RaealaOan#NaNaPaTQTQtTQtTQtTQtTQt",
  711. "TQtTQtTQtTQtTQtTQt.jaRaSaTaUavaB#WaNaPaLaVaWaeaX#6aYaZa0a1a2TQtTQtTQtTQtTQt",
  712. "TQtTQtTQtTQtTQt.ba3a4a5a5aVa6a1aZa7aSaSa5a8a9a4a5b.b#a5a5.kTQtTQtTQtTQtTQt",
  713. "TQtTQtTQtTQtTQtbaa7a7aVa0b.b#a7b#a0a7a7a7aSaSa7b.aVa0aVaR.#TQtTQtTQtTQtTQt",
  714. "TQtTQtTQtTQtTQtbbbcbdbebebfbgbhbhbibjbjbkbkblbmbmbnbobpbq.bTQtTQtTQtTQtTQt"
  715. ]
  716. image6_data = [
  717. "22 22 165 2",
  718. "TQt c None",
  719. ".h c #000000",
  720. ".o c #010101",
  721. "aF c #030303",
  722. "#n c #060606",
  723. ".H c #080808",
  724. ".r c #0c0c0c",
  725. ".q c #121212",
  726. "#V c #124e7f",
  727. "#m c #131313",
  728. ".G c #161615",
  729. "aI c #172cac",
  730. ".6 c #181818",
  731. "aH c #1841b2",
  732. ".p c #191919",
  733. "#8 c #1928ba",
  734. "#W c #1929ba",
  735. "aj c #192aba",
  736. "av c #1a31c2",
  737. "aE c #1b1b1b",
  738. "aD c #1b2bc8",
  739. "at c #1c79d2",
  740. "ah c #1c7dd4",
  741. "aA c #1d1d1d",
  742. "aC c #1d7ad7",
  743. "#6 c #1d7eda",
  744. ".5 c #1e1e1e",
  745. "#7 c #1e8ae0",
  746. "ai c #1e8de0",
  747. "au c #1e90e0",
  748. ".g c #242424",
  749. "#5 c #313b6c",
  750. "aB c #343d8d",
  751. "#3 c #393939",
  752. ".f c #3d3d3d",
  753. "ak c #433967",
  754. "#C c #434442",
  755. "aw c #443c6e",
  756. "#l c #454643",
  757. "as c #454fa3",
  758. ".4 c #474845",
  759. "#R c #474846",
  760. ".e c #484848",
  761. "aG c #4856a0",
  762. ".d c #4a4a4a",
  763. "#9 c #4c416a",
  764. ".c c #4c4c4c",
  765. "ag c #4c5cae",
  766. "#X c #4d4669",
  767. "#z c #4dc2b2",
  768. "#P c #4e445a",
  769. "#G c #53504e",
  770. ".l c #545454",
  771. ".b c #555555",
  772. "#Q c #595274",
  773. "#i c #62b2a2",
  774. ".a c #676767",
  775. "#j c #69b6a3",
  776. ".F c #6f6f6a",
  777. ".K c #6f8b89",
  778. "ax c #747474",
  779. "#a c #76a1a0",
  780. ".# c #797979",
  781. "#A c #7bd7e8",
  782. "ay c #7d7d7d",
  783. "#U c #7e7d73",
  784. ".I c #808080",
  785. ".O c #81a3b8",
  786. "az c #828282",
  787. "#y c #82d1c0",
  788. "#S c #848484",
  789. "#O c #857e7c",
  790. "#F c #86add2",
  791. "#k c #86cdda",
  792. "#N c #89b1bd",
  793. "#h c #8acec3",
  794. "#o c #8c8c8c",
  795. "#L c #8cbbca",
  796. "al c #8d8d8d",
  797. ".s c #8f8f8f",
  798. "#H c #909090",
  799. "#K c #90bac9",
  800. "#M c #91c4cf",
  801. "#t c #929292",
  802. ".X c #94c2cf",
  803. ".N c #94c2d0",
  804. ".W c #959595",
  805. "#B c #96b9cb",
  806. ".3 c #97bede",
  807. ".L c #98c2ce",
  808. ".P c #9b9b9b",
  809. "a. c #9c9c9c",
  810. "am c #9d9d9d",
  811. "#s c #9dbdc4",
  812. "#b c #9e9e9e",
  813. "#Y c #a0a0a0",
  814. "an c #a6a6a6",
  815. "#v c #a6d1d6",
  816. ".Z c #a7a1a1",
  817. "#I c #a7a7a7",
  818. "#D c #a7edde",
  819. ".M c #a8d8e5",
  820. "#u c #aeaeae",
  821. "ac c #b1b1b1",
  822. "a# c #b2b2b2",
  823. ".2 c #b5cbd6",
  824. ".V c #b6b6b6",
  825. "ar c #b7b7b7",
  826. "#Z c #b8b8b8",
  827. "#2 c #bababa",
  828. ".Q c #babbb9",
  829. "aq c #bbbbbb",
  830. "#c c #bcbcbc",
  831. ".8 c #bfbfbf",
  832. "ap c #c0c0c0",
  833. ".1 c #c1d9d2",
  834. "aa c #c8c8c8",
  835. "ab c #cacaca",
  836. "ao c #cbcbcb",
  837. ".Y c #ccf8f1",
  838. "#J c #cdcdcd",
  839. ".R c #cecece",
  840. "#p c #d1f9f4",
  841. "#4 c #d5d5d5",
  842. "#w c #d5ece4",
  843. ".9 c #d5f6f5",
  844. "#0 c #d6d6d6",
  845. ".U c #d7d7d7",
  846. "af c #d8d8d8",
  847. ".x c #dadada",
  848. ".y c #dbdbdb",
  849. ".w c #dcdcdc",
  850. "#e c #dcf7f4",
  851. "#1 c #dddddd",
  852. "ae c #dedede",
  853. ".E c #dfdfdf",
  854. ".z c #e0e0e0",
  855. "#g c #e0ebe4",
  856. "#q c #e1edea",
  857. "#d c #e2e2e2",
  858. "#x c #e2ebe2",
  859. ".0 c #e2eee5",
  860. ".v c #e3e3e3",
  861. "## c #e3e7d5",
  862. "#r c #e4ebd9",
  863. "#E c #e4f2ec",
  864. ".u c #e5e5e5",
  865. ".S c #e7e7e7",
  866. ".k c #e9e9e9",
  867. ".A c #ebebeb",
  868. ".D c #ededed",
  869. ".t c #f0f0f0",
  870. "#T c #f4f4f4",
  871. ".n c #f6f6f6",
  872. ".C c #f7f7f7",
  873. "#f c #f8f5f2",
  874. ".m c #f8f8f8",
  875. ".7 c #f9f9f9",
  876. "ad c #fafafa",
  877. "#. c #fbf0eb",
  878. ".J c #fbfbfb",
  879. ".T c #fcfcfc",
  880. ".B c #fdfdfd",
  881. ".j c #fefefe",
  882. ".i c #ffffff",
  883. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt",
  884. "TQtTQtTQtTQtTQt.#.a.b.c.d.d.e.f.g.hTQtTQtTQtTQtTQtTQtTQt",
  885. "TQtTQtTQtTQt.#.i.i.i.i.i.i.i.i.i.h.hTQtTQtTQtTQtTQtTQt",
  886. "TQtTQtTQtTQt.a.j.j.j.j.j.j.i.i.i.h.k.hTQtTQtTQtTQtTQt",
  887. "TQtTQtTQtTQt.l.m.n.o.p.q.r.s.j.i.h.t.u.hTQtTQtTQtTQt",
  888. "TQtTQtTQtTQt.e.v.w.x.y.z.A.n.B.B.h.C.D.E.hTQtTQtTQt",
  889. "TQtTQtTQt.h.h.h.h.h.F.G.H.I.n.J.h.h.h.h.h.hTQtTQt",
  890. "TQtTQt.h.K.L.M.N.O.h.P.Q.R.S.n.T.j.U.V.W.hTQtTQt",
  891. "TQt.h.X.Y.Z.0.1.2.3.h.4.5.6.q.r.s.7.v.8.hTQtTQt",
  892. "TQt.h.9#..###.F.F.F#a.h#b#c#d.m.j.7.v#c.hTQtTQt",
  893. "TQt.h#e#f.a#g#h#i#j#k.h#l#m.r#n#o.7.v#c.hTQtTQt",
  894. "TQt.h#p#q.a#r.F.F.F#s.h#t#u.x.n.j.7.v#c.hTQtTQt",
  895. "TQt.h#v#w.##x#y#z#A#B.h#C#m#m.q#o.7.v#c.hTQtTQt",
  896. "TQtTQt.h#D.Z#E.F.F#F.h#G#H#I#J.A.7.m.v#c.hTQtTQt",
  897. "TQtTQtTQt.h#K#L#M#N.h#O#P#Q#R#m.q#S#T#d#c.hTQtTQt",
  898. "TQtTQtTQtTQt.h.h.h.h.Z#U#V#W#X#Y#Z#0.S#1#2.hTQtTQt",
  899. "TQtTQtTQtTQt#3.t.v.x#4#5#6#7#8#9a.a#aaabac.hTQtTQt",
  900. "TQtTQtTQtTQt.6ad.kae.yafagahaiajakalamana..oTQtTQt",
  901. "TQtTQtTQtTQt.haeaoapaqaqarasatauavawaxayaz.oTQtTQt",
  902. "TQtTQtTQtTQtTQt.h.h.h.h.haA.oaBaCaiaD.HaEaFTQtTQtTQt",
  903. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtaGaHaITQtTQtTQtTQtTQtTQt",
  904. "TQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQtTQt"
  905. ]
  906. class MainWindow(TQMainWindow):
  907. def __init__(self,parent = None,name = None,fl = 0):
  908. TQMainWindow.__init__(self,parent,name,fl)
  909. self.statusBar()
  910. self.image0 = TQPixmap(image0_data)
  911. self.image1 = TQPixmap(image1_data)
  912. self.image2 = TQPixmap(image2_data)
  913. self.image3 = TQPixmap(image3_data)
  914. self.image4 = TQPixmap(image4_data)
  915. self.image5 = TQPixmap(image5_data)
  916. self.image6 = TQPixmap(image6_data)
  917. if not name:
  918. self.setName("MainWindow")
  919. self.setCentralWidget(TQWidget(self,"qt_central_widget"))
  920. MainWindowLayout = TQHBoxLayout(self.centralWidget(),0,6,"MainWindowLayout")
  921. self.Frame3 = TQFrame(self.centralWidget(),"Frame3")
  922. self.Frame3.setFrameShape(TQFrame.StyledPanel)
  923. self.Frame3.setFrameShadow(TQFrame.Sunken)
  924. Frame3Layout = TQVBoxLayout(self.Frame3,1,0,"Frame3Layout")
  925. self.WebBrowser = TQAxWidget(self.Frame3,"WebBrowser")
  926. self.WebBrowser.setControl("{8856F961-340A-11D0-A96B-00C04FD705A2}")
  927. self.WebBrowser.setFocusPolicy(TQAxWidget.StrongFocus)
  928. Frame3Layout.addWidget(self.WebBrowser)
  929. MainWindowLayout.addWidget(self.Frame3)
  930. self.actionGo = TQAction(self,"actionGo")
  931. self.actionGo.setIconSet(TQIconSet(self.image0))
  932. self.actionBack = TQAction(self,"actionBack")
  933. self.actionBack.setIconSet(TQIconSet(self.image1))
  934. self.actionForward = TQAction(self,"actionForward")
  935. self.actionForward.setIconSet(TQIconSet(self.image2))
  936. self.actionStop = TQAction(self,"actionStop")
  937. self.actionStop.setIconSet(TQIconSet(self.image3))
  938. self.actionRefresh = TQAction(self,"actionRefresh")
  939. self.actionRefresh.setIconSet(TQIconSet(self.image4))
  940. self.actionHome = TQAction(self,"actionHome")
  941. self.actionHome.setIconSet(TQIconSet(self.image5))
  942. self.actionFileClose = TQAction(self,"actionFileClose")
  943. self.FileNewGroup = TQActionGroup(self,"FileNewGroup")
  944. self.FileNewGroup.setUsesDropDown(1)
  945. self.actionNewWindow = TQAction(self.FileNewGroup,"actionNewWindow")
  946. self.actionSearch = TQAction(self,"actionSearch")
  947. self.actionSearch.setIconSet(TQIconSet(self.image6))
  948. self.actionAbout = TQAction(self,"actionAbout")
  949. self.actionAboutTQt = TQAction(self,"actionAboutTQt")
  950. self.Toolbar = TQToolBar(TQString(""),self,TQt.DockTop)
  951. self.actionBack.addTo(self.Toolbar)
  952. self.actionForward.addTo(self.Toolbar)
  953. self.actionStop.addTo(self.Toolbar)
  954. self.actionRefresh.addTo(self.Toolbar)
  955. self.actionHome.addTo(self.Toolbar)
  956. self.Toolbar.addSeparator()
  957. self.actionSearch.addTo(self.Toolbar)
  958. self.Toolbar_2 = TQToolBar(TQString(""),self,TQt.DockTop)
  959. self.Toolbar_2.setHorizontallyStretchable(1)
  960. self.lblAddress = TQLabel(self.Toolbar_2,"lblAddress")
  961. self.addressEdit = TQLineEdit(self.Toolbar_2,"addressEdit")
  962. self.actionGo.addTo(self.Toolbar_2)
  963. self.menubar = TQMenuBar(self,"menubar")
  964. self.PopupMenu = TQPopupMenu(self)
  965. self.FileNewGroup_2 = TQPopupMenu(self)
  966. self.PopupMenu.setAccel(TQString.null,self.PopupMenu.insertItem(self.FileNewGroup.iconSet(),self.__tr("New"),self.FileNewGroup_2))
  967. self.actionNewWindow.addTo(self.FileNewGroup_2)
  968. self.PopupMenu.insertSeparator()
  969. self.actionFileClose.addTo(self.PopupMenu)
  970. self.menubar.insertItem(TQString(""),self.PopupMenu,1)
  971. self.unnamed = TQPopupMenu(self)
  972. self.actionAbout.addTo(self.unnamed)
  973. self.actionAboutTQt.addTo(self.unnamed)
  974. self.menubar.insertItem(TQString(""),self.unnamed,2)
  975. self.languageChange()
  976. self.resize(TQSize(812,605).expandedTo(self.minimumSizeHint()))
  977. self.clearWState(TQt.WState_Polished)
  978. self.connect(self.actionHome,SIGNAL("activated()"),self.WebBrowser,SLOT("GoHome()"))
  979. self.connect(self.actionRefresh,SIGNAL("activated()"),self.WebBrowser,SLOT("Refresh()"))
  980. self.connect(self.actionStop,SIGNAL("activated()"),self.WebBrowser,SLOT("Stop()"))
  981. self.connect(self.actionForward,SIGNAL("activated()"),self.WebBrowser,SLOT("GoForward()"))
  982. self.connect(self.actionBack,SIGNAL("activated()"),self.WebBrowser,SLOT("GoBack()"))
  983. self.connect(self.actionGo,SIGNAL("activated()"),self.go)
  984. self.connect(self.actionFileClose,SIGNAL("activated()"),self.close)
  985. self.connect(self.actionSearch,SIGNAL("activated()"),self.WebBrowser,SLOT("GoSearch()"))
  986. self.connect(self.addressEdit,SIGNAL("returnPressed()"),self.go)
  987. self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const TQString&)"),self.addressEdit.setText)
  988. self.connect(self.WebBrowser,SIGNAL("TitleChange(const TQString&)"),self.setTitle)
  989. self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const TQString&)"),self.navigateComplete)
  990. self.connect(self.WebBrowser,SIGNAL("CommandStateChange(int,bool)"),self.setCommandState)
  991. self.connect(self.WebBrowser,SIGNAL("BeforeNavigate(const TQString&,int,const TQString&,const TQVariant&,const TQString&,bool&)"),self.navigateBegin)
  992. self.connect(self.actionStop,SIGNAL("activated()"),self.navigateComplete)
  993. self.connect(self.actionNewWindow,SIGNAL("activated()"),self.newWindow)
  994. self.connect(self.actionAbout,SIGNAL("activated()"),self.aboutSlot)
  995. self.connect(self.actionAboutTQt,SIGNAL("activated()"),self.aboutTQtSlot)
  996. self.init()
  997. def languageChange(self):
  998. self.setCaption(self.__tr("TQt WebBrowser"))
  999. self.WebBrowser.setControl(self.__tr("{8856F961-340A-11D0-A96B-00C04FD705A2}"))
  1000. self.actionGo.setText(self.__tr("Go"))
  1001. self.actionGo.setMenuText(self.__tr("Go"))
  1002. self.actionBack.setText(self.__tr("Back"))
  1003. self.actionBack.setAccel(self.__tr("Backspace"))
  1004. self.actionBack.setMenuText(self.__tr("Back"))
  1005. self.actionForward.setText(self.__tr("Forward"))
  1006. self.actionForward.setMenuText(self.__tr("Forward"))
  1007. self.actionStop.setText(self.__tr("Stop"))
  1008. self.actionStop.setMenuText(self.__tr("Stop"))
  1009. self.actionRefresh.setText(self.__tr("Refresh"))
  1010. self.actionRefresh.setMenuText(self.__tr("Refresh"))
  1011. self.actionHome.setText(self.__tr("Home"))
  1012. self.actionHome.setMenuText(self.__tr("Home"))
  1013. self.actionFileClose.setText(self.__tr("Close"))
  1014. self.actionFileClose.setMenuText(self.__tr("C&lose"))
  1015. self.FileNewGroup.setText(self.__tr("New"))
  1016. self.actionNewWindow.setText(self.__tr("Window"))
  1017. self.actionNewWindow.setAccel(self.__tr("Ctrl+N"))
  1018. self.actionNewWindow.setMenuText(self.__tr("Window"))
  1019. self.FileNewGroup.setMenuText(self.__tr("New"))
  1020. self.actionSearch.setText(self.__tr("Search"))
  1021. self.actionSearch.setMenuText(self.__tr("Search"))
  1022. self.actionAbout.setText(self.__tr("About"))
  1023. self.actionAbout.setMenuText(self.__tr("About"))
  1024. self.actionAboutTQt.setText(self.__tr("About TQt"))
  1025. self.actionAboutTQt.setMenuText(self.__tr("About TQt"))
  1026. self.Toolbar.setLabel(self.__tr("Toolbar"))
  1027. self.Toolbar_2.setLabel(self.__tr("Toolbar_2"))
  1028. self.lblAddress.setText(self.__tr("Address"))
  1029. self.PopupMenu.changeItem(self.PopupMenu.idAt(0),self.__tr("New"))
  1030. if self.menubar.findItem(1):
  1031. self.menubar.findItem(1).setText(self.__tr("&File"))
  1032. if self.menubar.findItem(2):
  1033. self.menubar.findItem(2).setText(self.__tr("&Help"))
  1034. def go(self):
  1035. print "MainWindow.go(): Not implemented yet"
  1036. def newWindow(self):
  1037. print "MainWindow.newWindow(): Not implemented yet"
  1038. def setProgress(self,a0,a1):
  1039. print "MainWindow.setProgress(int,int): Not implemented yet"
  1040. def init(self):
  1041. pass
  1042. def setTitle(self,a0):
  1043. print "MainWindow.setTitle(const TQString&): Not implemented yet"
  1044. def setCommandState(self,a0,a1):
  1045. print "MainWindow.setCommandState(int,bool): Not implemented yet"
  1046. def navigateComplete(self):
  1047. print "MainWindow.navigateComplete(): Not implemented yet"
  1048. def navigateBegin(self):
  1049. print "MainWindow.navigateBegin(): Not implemented yet"
  1050. def aboutSlot(self):
  1051. print "MainWindow.aboutSlot(): Not implemented yet"
  1052. def aboutTQtSlot(self):
  1053. print "MainWindow.aboutTQtSlot(): Not implemented yet"
  1054. def __tr(self,s,c = None):
  1055. return tqApp.translate("MainWindow",s,c)