diff options
Diffstat (limited to 'python/pyqt/examples3/webbrowser/mainwindow.py')
-rw-r--r-- | python/pyqt/examples3/webbrowser/mainwindow.py | 1097 |
1 files changed, 0 insertions, 1097 deletions
diff --git a/python/pyqt/examples3/webbrowser/mainwindow.py b/python/pyqt/examples3/webbrowser/mainwindow.py deleted file mode 100644 index 6afdfc8b..00000000 --- a/python/pyqt/examples3/webbrowser/mainwindow.py +++ /dev/null @@ -1,1097 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mainwindow.ui' -# -# Created: Sun Dec 5 14:50:47 2004 -# by: The PyQt User Interface Compiler (pyuic) snapshot-20041203 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * -from qtaxcontainer import QAxWidget - -image0_data = [ -"32 32 3 1", -". c None", -"a c #000080", -"# c #808080", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -".......#aaaaaaaaa...............", -"......#aaaaaaaaaaa.........a....", -".....#aaa.......aaa.......aa....", -"....#aaa.........aaaa....aaa....", -"....aaa...........aaaa..aaaa....", -"....aa..............aaaaaaaa....", -"....aa...............aaaaaaa....", -"....aa...............aaaaaaa....", -"....aa..............aaaaaaaa....", -"....aa.............aaaaaaaaa....", -"....#aa...........aaaaaaaaaa....", -".....#aa.........aaaaaaaaaaa....", -"......aa#.......................", -".......aa#......................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................" -] -image1_data = [ -"32 32 142 2", -"Qt c None", -"#O c #0010f7", -"#P c #0021ef", -"#R c #0021f7", -"#S c #0021ff", -"#T c #0029ff", -"ah c #0031ff", -"#N c #0829f7", -"#x c #0831ff", -"#C c #0839ff", -"#E c #1029e7", -"#r c #1039ff", -"#o c #1042ff", -"#Q c #1831de", -"ak c #1831e7", -"#k c #1842ff", -"#H c #184aff", -"aj c #2139e7", -"#s c #2142de", -"#G c #214aff", -".9 c #2152ff", -"#2 c #2939c6", -"ag c #2939d6", -"a# c #2942ce", -"#p c #2942de", -"#U c #2952ff", -"ae c #295aff", -"#y c #3152de", -".2 c #3152e7", -"#I c #315aff", -"#z c #3163ff", -"#1 c #394abd", -"#L c #394ade", -"#B c #3963ff", -"#w c #396bff", -"#V c #4252d6", -"#l c #4252de", -"#W c #4263ef", -"#q c #426bff", -".1 c #4273ff", -"#5 c #4a5ad6", -"#J c #4a73ff", -"#K c #4a7bff", -"ac c #4a84ff", -"ab c #5263c6", -".T c #5263ce", -".M c #5273d6", -".c c #5273e7", -".U c #527bde", -"#t c #527bf7", -"#A c #5284ff", -"#X c #5a63ad", -".V c #5a84ef", -"#F c #5a84ff", -"#v c #5a8cff", -"ad c #636bbd", -".e c #637bc6", -".W c #637bce", -".3 c #637bd6", -".Q c #6384de", -".5 c #638cef", -"#b c #638cff", -"#j c #6394ff", -"af c #6b73bd", -"#0 c #6b73c6", -".S c #6b84ce", -"#u c #6b94ff", -".C c #6b9cff", -"ai c #737bce", -".z c #7384b5", -".j c #7384c6", -"#6 c #738cce", -".4 c #738cd6", -".b c #739ce7", -".I c #73a5ff", -"#n c #73adff", -"#Z c #7b84b5", -".R c #7b8cbd", -".J c #7b94bd", -".n c #7ba5e7", -".P c #7badff", -"#c c #7bb5ff", -"#M c #84849c", -"#3 c #8484ad", -".i c #848cc6", -"al c #8494bd", -"aa c #849cc6", -".y c #84adff", -".O c #84b5ff", -"#a c #84bdff", -".t c #8c94ad", -".a c #8c94b5", -".D c #8c9cbd", -".m c #8c9cce", -".A c #8ca5ef", -".f c #8cadf7", -".H c #8cbdff", -"#D c #9494a5", -"#8 c #9494bd", -"#9 c #9494c6", -"a. c #949cbd", -".r c #94c6ff", -"#d c #94ceff", -"#4 c #9ca5ad", -"#7 c #9ca5b5", -".u c #9cbdf7", -".6 c #9cc6ff", -".0 c #9cceff", -".x c #9cd6ff", -".L c #a5a5b5", -"#Y c #a5a5bd", -"#e c #a5ceff", -"## c #a5d6ff", -".X c #adadb5", -".k c #adc6ff", -"#i c #add6ff", -".E c #b5b5b5", -".d c #b5b5bd", -".K c #b5bdc6", -".F c #b5ceff", -".N c #b5d6ff", -".B c #b5deff", -".s c #bdbdbd", -".# c #bdbdc6", -"#. c #bdd6ff", -".G c #bde7ff", -"#h c #c6e7ff", -"#f c #c6efff", -".w c #c6f7ff", -".h c #ced6ff", -".Y c #cee7ff", -".q c #ceefff", -".Z c #cef7ff", -".l c #d6efff", -".8 c #d6f7ff", -".o c #deefff", -".7 c #def7ff", -"#m c #deffff", -"#g c #e7ffff", -".v c #efffff", -".p c #f7ffff", -".g c #ffffff", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQt.#.a.b.c.aQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQt.d.e.f.g.h.iQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQt.d.j.k.g.g.l.mQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQt.a.n.o.g.p.q.r.mQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQt.s.t.u.g.g.v.w.x.y.mQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQt.z.A.g.g.v.B.x.r.C.DQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQt.E.a.F.g.g.v.G.r.H.H.I.JQtQtQtQtQtQtQtQtQtQt.s.s.K.K.KQ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Q#T#xahaiQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQt#4adajakalQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt" -] -image2_data = [ -"32 32 142 2", -"Qt c None", -"#Y c #0018e7", -"aa c #0018ef", -"#E c #0018ff", -"#Q c #0021ef", -"#K c #0021ff", -"a# c #0029ff", -"a. c #0829ff", -"#P c #0831ff", -"#4 c #1021d6", -"#R c #1021de", -"#L c #1029d6", -"#V c #1029e7", -"#n c #1039f7", -"#W c #1039ff", -"#O c #1042ff", -"ah c #1831ce", -"#y c #1842ff", -"aj c #2131c6", -"#S c #2131ce", -"#z c #2139de", -".0 c #2142de", -"ai c #2142e7", -".t c #214aef", -"#D c #214aff", -".x c #2152ff", -"al c #2939de", -"#d c #294ae7", -"#I c #2952ff", -"#J c #295aff", -"#T c #3142bd", -"#N c #315aff", -"#s c #3163ff", -"#F c #394ac6", -"#G c #3952d6", -"ag c #395ae7", -".B c #3963f7", -"ae c #3963ff", -".g c #396bff", -"#U c #424ab5", -"#2 c #4252b5", -".J c #425ace", -"#A c #4263de", -".b c #426be7", -"#p c #426bef", -"#x c #426bff", -".n c #4273ff", -".o c #4a63ce", -"#t c #4a6be7", -".Q c #4a73de", -"#3 c #4a73ff", -"#C c #4a7bff", -"#Z c #525abd", -".1 c #526bbd", -".W c #526bc6", -".R c #526bce", -".P c #527be7", -"#w c #5284ff", -"#m c #528cff", -"ac c #5a63bd", -"ak c #5a6bbd", -".O c #5a7bf7", -"#H c #5a84ff", -"#9 c #5a8cff", -"af c #636bb5", -".h c #636bbd", -"ab c #6384ef", -"#v c #638cff", -".w c #6394ff", -".s c #639cff", -"#M c #6b73b5", -".C c #6b73bd", -"#u c #6b9cff", -".c c #737bb5", -".S c #7384ce", -".N c #738ce7", -".a c #7394de", -".8 c #7394ef", -"#8 c #739cf7", -"#B c #739cff", -".A c #73a5ff", -"#0 c #7b84b5", -".T c #7b8cbd", -".9 c #7b94c6", -"#. c #7b94d6", -".7 c #7ba5ff", -".X c #7badff", -".I c #7bb5ff", -"#5 c #848ca5", -".y c #848cad", -".M c #8494b5", -"## c #849cd6", -"#c c #84adff", -".G c #84b5ff", -".Z c #84bdff", -"#o c #8c8cad", -"#a c #8ca5ce", -".Y c #8cb5ff", -".H c #8cbdff", -"#1 c #9494a5", -".U c #9494ad", -"#7 c #949cad", -"#b c #94ade7", -".z c #94c6ff", -".v c #94ceff", -".j c #9c9cad", -".u c #9ca5ad", -"#r c #9cc6ff", -".m c #9cceff", -".d c #a5a5a5", -"#6 c #a5a5ad", -".V c #a5a5b5", -".K c #a5adb5", -".2 c #a5ceff", -".r c #a5d6ff", -".L c #adadad", -".i c #adadb5", -".p c #adadbd", -".q c #addeff", -"#e c #ade7ff", -"#X c #b5b5b5", -".D c #b5b5bd", -".E c #b5b5c6", -".F c #b5bdc6", -".f c #b5deff", -"#q c #b5efff", -".# c #bdbdbd", -"ad c #bdbdc6", -".6 c #bddeff", -"#i c #bde7ff", -"#h c #bdefff", -"#g c #c6f7ff", -"#l c #cee7ff", -"#j c #cef7ff", -"#f c #ceffff", -".k c #d6efff", -"#k c #d6f7ff", -".l c #d6ffff", -".e c #deefff", -".5 c #e7ffff", -".4 c #efffff", -".3 c #f7ffff", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQ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QtQtQtQtQt" -] -image3_data = [ -"25 25 2 1", -"# c #000000", -". c #ffffff", -".........................", -".........................", -".........................", -".........######..........", -".......##########........", -"......####....####.......", -".....###........###......", -"....#####........###.....", -"....##.###........##.....", -"...###..###.......###....", -"...##....###.......##....", -"...##.....###......##....", -"...##......###.....##....", -"...##.......###....##....", -"...###.......###..###....", -"....##........###.##.....", -"....###........#####.....", -".....###........###......", -"......####....####.......", -".......##########........", -".........######..........", -".........................", -".........................", -".........................", -"........................." -] -image4_data = [ -"32 32 3 1", -". c None", -"# c #000080", -"a c #808080", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"...............#########a.......", -"....#.........###########a......", -"....##.......###.......###a.....", -"....###....####.........###a....", -"....####..####...........###....", -"....########..............##....", -"....#######...............##....", -"....#######...............##....", -"....########..............##....", -"....#########.............##....", -"....##########...........##a....", -"....###########.........##a.....", -".......................a##......", -"......................a##.......", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................", -"................................" -] -image5_data = [ -"32 32 211 2", -"Qt c None", -"aJ c #000000", -"#W c #080800", -"#N c #100800", -"#V c #101000", -"#E c #101008", -"#M c #181000", -"#L c #181800", -"#D c #181808", -"#F c #181810", -"as c #211800", -"#K c #211808", -"#J c #212110", -"#G c #212118", -"#q c #212121", -"an c #292100", -"#I c #292110", -"aN c #292910", -"#H c #292918", -"#y c #292921", -"aF c #312900", -"#C c #312918", -"#i c #312929", -".0 c #313131", -"#7 c #393100", -"#U c #393108", -"aG c #393931", -".M c #393939", -"#u c #423939", -"#c c #424a42", -"aE c #4a4200", -"aY c #4a4210", -".V c #4a4239", -"#B c #4a4a39", -".m c #4a4a42", -"aP c #4a5218", -".G c #4a5252", -".z c #4a5a52", -"aO c #524200", -"am c #524a00", -"#T c #524a08", -"#p c #524a4a", -".s c #525252", -"#a c #525a52", -".7 c #52635a", -"#b c #526363", -"az c #5a4a00", -"#6 c #5a5208", -"aw c #5a5210", -".Z c #5a524a", -".L c #5a5a52", -".y c #5a5a5a", -".F c #5a635a", -"#S c #635208", -"ax c #635a10", -".U c #635a52", -".r c #635a5a", -"aZ c #636321", -"## c #63635a", -".A c #636363", -"#h c #636b6b", -"aL c #637329", -"af c #6b5a00", -".6 c #6b635a", -"#o c #6b6363", -".E c #6b6b63", -"a4 c #6b7321", -"aS c #6b7329", -"aR c #6b7331", -"aX c #736300", -"al c #736308", -"#R c #736b10", -".T c #736b63", -"a5 c #737329", -".i c #73736b", -".K c #737373", -"a7 c #737b29", -"#g c #737b73", -"a9 c #7b7318", -"#A c #7b7373", -"a8 c #7b7b21", -"aV c #7b7b29", -"aQ c #7b7b5a", -".J c #7b7b73", -".1 c #7b7b7b", -"b# c #7b8431", -"a3 c #7b844a", -".8 c #7b847b", -"ay c #847308", -"#5 c #847310", -"aT c #847b21", -"b. c #847b29", -".S c #847b73", -".d c #847b7b", -"aW c #848421", -"a1 c #848429", -"a0 c #848431", -"bq c #84844a", -".H c #848484", -"ae c #8c7b08", -"ak c #8c7b10", -"#j c #8c8484", -"ba c #8c8c63", -"a2 c #8c8c7b", -".x c #8c8c84", -".2 c #8c948c", -".9 c #8cada5", -"aC c #947b08", -".Y c #947b73", -"aK c #948c10", -"#Q c #948c18", -"a6 c #948c29", -"#m c #948c84", -"bp c #949442", -"aH c #949484", -".D c #94948c", -".n c #949494", -"bn c #949c4a", -"bl c #949c5a", -"bj c #949c63", -".u c #949c94", -".v c #94a59c", -"aI c #9c8c10", -"#4 c #9c8c18", -"#O c #9c8c29", -"aM c #9c9418", -"#r c #9c948c", -"bo c #9c9c4a", -"bm c #9c9c52", -"bk c #9c9c5a", -"bh c #9c9c6b", -".k c #9c9c94", -".a c #9c9c9c", -"bi c #9ca56b", -"bf c #9ca573", -".h c #9ca59c", -"#f c #9ca5a5", -".B c #9cbdb5", -"#P c #a59400", -"aB c #a59418", -"#k c #a5948c", -"ar c #a59c29", -".N c #a59c8c", -".P c #a59c94", -".W c #a59c9c", -"bg c #a5a573", -"bd c #a5a584", -".q c #a5a59c", -".c c #a5a5a5", -"be c #a5ad7b", -".o c #a5ada5", -".C c #a5adad", -".I c #a5b5ad", -"#d c #a5bdb5", -".w c #a5c6bd", -"ad c #ad9c10", -"aj c #ad9c18", -"#w c #ad9c94", -".f c #ada59c", -"bc c #adad7b", -"bb c #adad84", -".# c #adada5", -".t c #adadad", -".4 c #adb5ad", -"ai c #b5a518", -"aq c #b5a529", -"aD c #b5a542", -"ao c #b5a54a", -".O c #b5a594", -"#v c #b5a59c", -"at c #b5ad52", -"#z c #b5ad9c", -".5 c #b5ada5", -".j c #b5b5ad", -".e c #b5b5b5", -".3 c #b5bdb5", -".Q c #b5bdbd", -"#e c #b5cec6", -"#8 c #bda539", -"#x c #bda59c", -"#3 c #bdad29", -"#X c #bdad31", -"ag c #bdad42", -"#n c #bdb5ad", -".b c #bdbdbd", -".X c #bdcec6", -"aU c #c6b510", -"#. c #c6c6bd", -".p c #c6cece", -".g c #c6ded6", -"ac c #cebd31", -"#l c #ced6ce", -"#s c #ced6d6", -"#t c #cedede", -"#9 c #d6c610", -"#2 c #d6c631", -"ap c #dec608", -"ah c #dece10", -"ab c #dece31", -".l c #deefe7", -".R c #deefef", -"au c #e7ce08", -"a. c #e7d621", -"a# c #e7d631", -"aa c #e7d639", -"#1 c #e7de39", -"#Y c #efde10", -"av c #efde21", -"aA c #efde29", -"#Z c #f7e729", -"#0 c #f7e739", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#.aQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQt.b.c.d.eQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQt.f.g.h.i.bQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQt.j.k.l.e.m.nQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQt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#7#M#V#AQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQt.b#8#9a.a#aaaaabac#3adaeaf#7#M.JQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQt.bagaha.a##1aaaa#2aiajakalaman#AQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtaoapa.a#aaaqaraq#3aj#5afamas.JQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtatauava#aw#V#W#Max#4ayafazan.JQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtatahaAaB#W#N#M#V#V#RaCalazas.JQtQtQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQt.baDap#Z#Q#N#M#V#M#N#6akafaEaFaG.E#h.JQtQtQtQtQt", -"QtQtQtQtQtQtQtQtaHaIahaAaB#W#W#N#WaJ#6aKalamaF#WaJaJ#yQtQtQtQtQt", -"QtQtQtQtQtQtQt.qaLaIahavaM#WaJ#W#DaN#RaealaOan#NaNaPaQQtQtQtQtQt", -"QtQtQtQtQtQt.jaRaSaTaUavaB#WaNaPaLaVaWaeaX#6aYaZa0a1a2QtQtQtQtQt", -"QtQtQtQtQt.ba3a4a5a5aVa6a1aZa7aSaSa5a8a9a4a5b.b#a5a5.kQtQtQtQtQt", -"QtQtQtQtQtbaa7a7aVa0b.b#a7b#a0a7a7a7aSaSa7b.aVa0aVaR.#QtQtQtQtQt", -"QtQtQtQtQtbbbcbdbebebfbgbhbhbibjbjbkbkblbmbmbnbobpbq.bQtQtQtQtQt" -] -image6_data = [ -"22 22 165 2", -"Qt c None", -".h c #000000", -".o c #010101", -"aF c #030303", -"#n c #060606", -".H c #080808", -".r c #0c0c0c", -".q c #121212", -"#V c #124e7f", -"#m c #131313", -".G c #161615", -"aI c #172cac", -".6 c #181818", -"aH c #1841b2", -".p c #191919", -"#8 c #1928ba", -"#W c #1929ba", -"aj c #192aba", -"av c #1a31c2", -"aE c #1b1b1b", -"aD c #1b2bc8", -"at c #1c79d2", -"ah c #1c7dd4", -"aA c #1d1d1d", -"aC c #1d7ad7", -"#6 c #1d7eda", -".5 c #1e1e1e", -"#7 c #1e8ae0", -"ai c #1e8de0", -"au c #1e90e0", -".g c #242424", -"#5 c #313b6c", -"aB c #343d8d", -"#3 c #393939", -".f c #3d3d3d", -"ak c #433967", -"#C c #434442", -"aw c #443c6e", -"#l c #454643", -"as c #454fa3", -".4 c #474845", -"#R c #474846", -".e c #484848", -"aG c #4856a0", -".d c #4a4a4a", -"#9 c #4c416a", -".c c #4c4c4c", -"ag c #4c5cae", -"#X c #4d4669", -"#z c #4dc2b2", -"#P c #4e445a", -"#G c #53504e", -".l c #545454", -".b c #555555", -"#Q c #595274", -"#i c #62b2a2", -".a c #676767", -"#j c #69b6a3", -".F c #6f6f6a", -".K c #6f8b89", -"ax c #747474", -"#a c #76a1a0", -".# c #797979", -"#A c #7bd7e8", -"ay c #7d7d7d", -"#U c #7e7d73", -".I c #808080", -".O c #81a3b8", -"az c #828282", -"#y c #82d1c0", -"#S c #848484", -"#O c #857e7c", -"#F c #86add2", -"#k c #86cdda", -"#N c #89b1bd", -"#h c #8acec3", -"#o c #8c8c8c", -"#L c #8cbbca", -"al c #8d8d8d", -".s c #8f8f8f", -"#H c #909090", -"#K c #90bac9", -"#M c #91c4cf", -"#t c #929292", -".X c #94c2cf", -".N c #94c2d0", -".W c #959595", -"#B c #96b9cb", -".3 c #97bede", -".L c #98c2ce", -".P c #9b9b9b", -"a. c #9c9c9c", -"am c #9d9d9d", -"#s c #9dbdc4", -"#b c #9e9e9e", -"#Y c #a0a0a0", -"an c #a6a6a6", -"#v c #a6d1d6", -".Z c #a7a1a1", -"#I c #a7a7a7", -"#D c #a7edde", -".M c #a8d8e5", -"#u c #aeaeae", -"ac c #b1b1b1", -"a# c #b2b2b2", -".2 c #b5cbd6", -".V c #b6b6b6", -"ar c #b7b7b7", -"#Z c #b8b8b8", -"#2 c #bababa", -".Q c #babbb9", -"aq c #bbbbbb", -"#c c #bcbcbc", -".8 c #bfbfbf", -"ap c #c0c0c0", -".1 c #c1d9d2", -"aa c #c8c8c8", -"ab c #cacaca", -"ao c #cbcbcb", -".Y c #ccf8f1", -"#J c #cdcdcd", -".R c #cecece", -"#p c #d1f9f4", -"#4 c #d5d5d5", -"#w c #d5ece4", -".9 c #d5f6f5", -"#0 c #d6d6d6", -".U c #d7d7d7", -"af c #d8d8d8", -".x c #dadada", -".y c #dbdbdb", -".w c #dcdcdc", -"#e c #dcf7f4", -"#1 c #dddddd", -"ae c #dedede", -".E c #dfdfdf", -".z c #e0e0e0", -"#g c #e0ebe4", -"#q c #e1edea", -"#d c #e2e2e2", -"#x c #e2ebe2", -".0 c #e2eee5", -".v c #e3e3e3", -"## c #e3e7d5", -"#r c #e4ebd9", -"#E c #e4f2ec", -".u c #e5e5e5", -".S c #e7e7e7", -".k c #e9e9e9", -".A c #ebebeb", -".D c #ededed", -".t c #f0f0f0", -"#T c #f4f4f4", -".n c #f6f6f6", -".C c #f7f7f7", -"#f c #f8f5f2", -".m c #f8f8f8", -".7 c #f9f9f9", -"ad c #fafafa", -"#. c #fbf0eb", -".J c #fbfbfb", -".T c #fcfcfc", -".B c #fdfdfd", -".j c #fefefe", -".i c #ffffff", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", -"QtQtQtQtQt.#.a.b.c.d.d.e.f.g.hQtQtQtQtQtQtQt", -"QtQtQtQt.#.i.i.i.i.i.i.i.i.i.h.hQtQtQtQtQtQt", -"QtQtQtQt.a.j.j.j.j.j.j.i.i.i.h.k.hQtQtQtQtQt", -"QtQtQtQt.l.m.n.o.p.q.r.s.j.i.h.t.u.hQtQtQtQt", -"QtQtQtQt.e.v.w.x.y.z.A.n.B.B.h.C.D.E.hQtQtQt", -"QtQtQt.h.h.h.h.h.F.G.H.I.n.J.h.h.h.h.h.hQtQt", -"QtQt.h.K.L.M.N.O.h.P.Q.R.S.n.T.j.U.V.W.hQtQt", -"Qt.h.X.Y.Z.0.1.2.3.h.4.5.6.q.r.s.7.v.8.hQtQt", -"Qt.h.9#..###.F.F.F#a.h#b#c#d.m.j.7.v#c.hQtQt", -"Qt.h#e#f.a#g#h#i#j#k.h#l#m.r#n#o.7.v#c.hQtQt", -"Qt.h#p#q.a#r.F.F.F#s.h#t#u.x.n.j.7.v#c.hQtQt", -"Qt.h#v#w.##x#y#z#A#B.h#C#m#m.q#o.7.v#c.hQtQt", -"QtQt.h#D.Z#E.F.F#F.h#G#H#I#J.A.7.m.v#c.hQtQt", -"QtQtQt.h#K#L#M#N.h#O#P#Q#R#m.q#S#T#d#c.hQtQt", -"QtQtQtQt.h.h.h.h.Z#U#V#W#X#Y#Z#0.S#1#2.hQtQt", -"QtQtQtQt#3.t.v.x#4#5#6#7#8#9a.a#aaabac.hQtQt", -"QtQtQtQt.6ad.kae.yafagahaiajakalamana..oQtQt", -"QtQtQtQt.haeaoapaqaqarasatauavawaxayaz.oQtQt", -"QtQtQtQtQt.h.h.h.h.haA.oaBaCaiaD.HaEaFQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtaGaHaIQtQtQtQtQtQt", -"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt" -] - -class MainWindow(QMainWindow): - def __init__(self,parent = None,name = None,fl = 0): - QMainWindow.__init__(self,parent,name,fl) - self.statusBar() - - self.image0 = QPixmap(image0_data) - self.image1 = QPixmap(image1_data) - self.image2 = QPixmap(image2_data) - self.image3 = QPixmap(image3_data) - self.image4 = QPixmap(image4_data) - self.image5 = QPixmap(image5_data) - self.image6 = QPixmap(image6_data) - - if not name: - self.setName("MainWindow") - - - self.setCentralWidget(QWidget(self,"qt_central_widget")) - MainWindowLayout = QHBoxLayout(self.centralWidget(),0,6,"MainWindowLayout") - - self.Frame3 = QFrame(self.centralWidget(),"Frame3") - self.Frame3.setFrameShape(QFrame.StyledPanel) - self.Frame3.setFrameShadow(QFrame.Sunken) - Frame3Layout = QVBoxLayout(self.Frame3,1,0,"Frame3Layout") - - self.WebBrowser = QAxWidget(self.Frame3,"WebBrowser") - self.WebBrowser.setControl("{8856F961-340A-11D0-A96B-00C04FD705A2}") - self.WebBrowser.setFocusPolicy(QAxWidget.StrongFocus) - Frame3Layout.addWidget(self.WebBrowser) - MainWindowLayout.addWidget(self.Frame3) - - self.actionGo = QAction(self,"actionGo") - self.actionGo.setIconSet(QIconSet(self.image0)) - self.actionBack = QAction(self,"actionBack") - self.actionBack.setIconSet(QIconSet(self.image1)) - self.actionForward = QAction(self,"actionForward") - self.actionForward.setIconSet(QIconSet(self.image2)) - self.actionStop = QAction(self,"actionStop") - self.actionStop.setIconSet(QIconSet(self.image3)) - self.actionRefresh = QAction(self,"actionRefresh") - self.actionRefresh.setIconSet(QIconSet(self.image4)) - self.actionHome = QAction(self,"actionHome") - self.actionHome.setIconSet(QIconSet(self.image5)) - self.actionFileClose = QAction(self,"actionFileClose") - self.FileNewGroup = QActionGroup(self,"FileNewGroup") - self.FileNewGroup.setUsesDropDown(1) - self.actionNewWindow = QAction(self.FileNewGroup,"actionNewWindow") - self.actionSearch = QAction(self,"actionSearch") - self.actionSearch.setIconSet(QIconSet(self.image6)) - self.actionAbout = QAction(self,"actionAbout") - self.actionAboutQt = QAction(self,"actionAboutQt") - - - self.Toolbar = QToolBar(QString(""),self,Qt.DockTop) - - self.actionBack.addTo(self.Toolbar) - self.actionForward.addTo(self.Toolbar) - self.actionStop.addTo(self.Toolbar) - self.actionRefresh.addTo(self.Toolbar) - self.actionHome.addTo(self.Toolbar) - self.Toolbar.addSeparator() - self.actionSearch.addTo(self.Toolbar) - self.Toolbar_2 = QToolBar(QString(""),self,Qt.DockTop) - - self.Toolbar_2.setHorizontallyStretchable(1) - - self.lblAddress = QLabel(self.Toolbar_2,"lblAddress") - - self.addressEdit = QLineEdit(self.Toolbar_2,"addressEdit") - self.actionGo.addTo(self.Toolbar_2) - - - self.menubar = QMenuBar(self,"menubar") - - - self.PopupMenu = QPopupMenu(self) - self.FileNewGroup_2 = QPopupMenu(self) - self.PopupMenu.setAccel(QString.null,self.PopupMenu.insertItem(self.FileNewGroup.iconSet(),self.__tr("New"),self.FileNewGroup_2)) - self.actionNewWindow.addTo(self.FileNewGroup_2) - self.PopupMenu.insertSeparator() - self.actionFileClose.addTo(self.PopupMenu) - self.menubar.insertItem(QString(""),self.PopupMenu,1) - - self.unnamed = QPopupMenu(self) - self.actionAbout.addTo(self.unnamed) - self.actionAboutQt.addTo(self.unnamed) - self.menubar.insertItem(QString(""),self.unnamed,2) - - - self.languageChange() - - self.resize(QSize(812,605).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.actionHome,SIGNAL("activated()"),self.WebBrowser,SLOT("GoHome()")) - self.connect(self.actionRefresh,SIGNAL("activated()"),self.WebBrowser,SLOT("Refresh()")) - self.connect(self.actionStop,SIGNAL("activated()"),self.WebBrowser,SLOT("Stop()")) - self.connect(self.actionForward,SIGNAL("activated()"),self.WebBrowser,SLOT("GoForward()")) - self.connect(self.actionBack,SIGNAL("activated()"),self.WebBrowser,SLOT("GoBack()")) - self.connect(self.actionGo,SIGNAL("activated()"),self.go) - self.connect(self.actionFileClose,SIGNAL("activated()"),self.close) - self.connect(self.actionSearch,SIGNAL("activated()"),self.WebBrowser,SLOT("GoSearch()")) - self.connect(self.addressEdit,SIGNAL("returnPressed()"),self.go) - self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const QString&)"),self.addressEdit.setText) - self.connect(self.WebBrowser,SIGNAL("TitleChange(const QString&)"),self.setTitle) - self.connect(self.WebBrowser,SIGNAL("NavigateComplete(const QString&)"),self.navigateComplete) - self.connect(self.WebBrowser,SIGNAL("CommandStateChange(int,bool)"),self.setCommandState) - self.connect(self.WebBrowser,SIGNAL("BeforeNavigate(const QString&,int,const QString&,const QVariant&,const QString&,bool&)"),self.navigateBegin) - self.connect(self.actionStop,SIGNAL("activated()"),self.navigateComplete) - self.connect(self.actionNewWindow,SIGNAL("activated()"),self.newWindow) - self.connect(self.actionAbout,SIGNAL("activated()"),self.aboutSlot) - self.connect(self.actionAboutQt,SIGNAL("activated()"),self.aboutQtSlot) - - self.init() - - - def languageChange(self): - self.setCaption(self.__tr("Qt WebBrowser")) - self.WebBrowser.setControl(self.__tr("{8856F961-340A-11D0-A96B-00C04FD705A2}")) - self.actionGo.setText(self.__tr("Go")) - self.actionGo.setMenuText(self.__tr("Go")) - self.actionBack.setText(self.__tr("Back")) - self.actionBack.setAccel(self.__tr("Backspace")) - self.actionBack.setMenuText(self.__tr("Back")) - self.actionForward.setText(self.__tr("Forward")) - self.actionForward.setMenuText(self.__tr("Forward")) - self.actionStop.setText(self.__tr("Stop")) - self.actionStop.setMenuText(self.__tr("Stop")) - self.actionRefresh.setText(self.__tr("Refresh")) - self.actionRefresh.setMenuText(self.__tr("Refresh")) - self.actionHome.setText(self.__tr("Home")) - self.actionHome.setMenuText(self.__tr("Home")) - self.actionFileClose.setText(self.__tr("Close")) - self.actionFileClose.setMenuText(self.__tr("C&lose")) - self.FileNewGroup.setText(self.__tr("New")) - self.actionNewWindow.setText(self.__tr("Window")) - self.actionNewWindow.setAccel(self.__tr("Ctrl+N")) - self.actionNewWindow.setMenuText(self.__tr("Window")) - self.FileNewGroup.setMenuText(self.__tr("New")) - self.actionSearch.setText(self.__tr("Search")) - self.actionSearch.setMenuText(self.__tr("Search")) - self.actionAbout.setText(self.__tr("About")) - self.actionAbout.setMenuText(self.__tr("About")) - self.actionAboutQt.setText(self.__tr("About Qt")) - self.actionAboutQt.setMenuText(self.__tr("About Qt")) - self.Toolbar.setLabel(self.__tr("Toolbar")) - self.Toolbar_2.setLabel(self.__tr("Toolbar_2")) - self.lblAddress.setText(self.__tr("Address")) - self.PopupMenu.changeItem(self.PopupMenu.idAt(0),self.__tr("New")) - if self.menubar.findItem(1): - self.menubar.findItem(1).setText(self.__tr("&File")) - if self.menubar.findItem(2): - self.menubar.findItem(2).setText(self.__tr("&Help")) - - - def go(self): - print "MainWindow.go(): Not implemented yet" - - def newWindow(self): - print "MainWindow.newWindow(): Not implemented yet" - - def setProgress(self,a0,a1): - print "MainWindow.setProgress(int,int): Not implemented yet" - - def init(self): - pass - - def setTitle(self,a0): - print "MainWindow.setTitle(const QString&): Not implemented yet" - - def setCommandState(self,a0,a1): - print "MainWindow.setCommandState(int,bool): Not implemented yet" - - def navigateComplete(self): - print "MainWindow.navigateComplete(): Not implemented yet" - - def navigateBegin(self): - print "MainWindow.navigateBegin(): Not implemented yet" - - def aboutSlot(self): - print "MainWindow.aboutSlot(): Not implemented yet" - - def aboutQtSlot(self): - print "MainWindow.aboutQtSlot(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("MainWindow",s,c) |