summaryrefslogtreecommitdiffstats
path: root/python/pyqt/examples3/webbrowser
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
commit875ae8e38bc3663e5057ca910e7ebe4b2994edb9 (patch)
treeddd3b3bc4d6f0343bae986aebbf9555c20f8e558 /python/pyqt/examples3/webbrowser
parentcb61a0436524f8ceba31db51ce3f1c5d4afbbb0e (diff)
downloadtdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.tar.gz
tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.zip
Updated python directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pyqt/examples3/webbrowser')
-rw-r--r--python/pyqt/examples3/webbrowser/mainwindow.py1097
-rw-r--r--python/pyqt/examples3/webbrowser/mainwindow.ui410
-rw-r--r--python/pyqt/examples3/webbrowser/webbrowser.py91
3 files changed, 0 insertions, 1598 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",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt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QtQtQtQt",
-"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",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQ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.X.X.7.A#u.w#w#J#y#K#L.U",
-"#M.x.n#N#D#O#P#K#K#Q#Q#R#S#T#U#U#V#W.A.X.A.A#B#u.w.n#D#P#E#L.VQt",
-"#X.h#V#Q#Y#R#S#U#Z#0#1.p.#.#.#.#.V#2.s.7.A#u#u.w#3#D#P#E#4#5QtQt",
-"QtQt#6#1#7.D.#.#QtQtQtQtQtQtQtQtQt#6#8#B#u.w#9#s#ya.#E#F.V.#QtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#.8#9#H#w#s#Wa#aa#2#XQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#ab#w#C#N#W#K#Eac.#QtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtad.Pae#J#Wa##Vaf#XQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#ag#W#P#Eah#6QtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#ai#K#Eaj.jQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#akalak.iQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"
-]
-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.eQtQtQtQtQtQtQtQtQtQtQtQtQt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",
-"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",
-"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQ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):
- 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)
diff --git a/python/pyqt/examples3/webbrowser/mainwindow.ui b/python/pyqt/examples3/webbrowser/mainwindow.ui
deleted file mode 100644
index 1689e8ad..00000000
--- a/python/pyqt/examples3/webbrowser/mainwindow.ui
+++ /dev/null
@@ -1,410 +0,0 @@
-<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
-<class>MainWindow</class>
-<widget class="QMainWindow">
- <property name="name">
- <cstring>MainWindow</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>812</width>
- <height>605</height>
- </rect>
- </property>
- <property name="caption">
- <string>Qt WebBrowser</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="QFrame">
- <property name="name">
- <cstring>Frame3</cstring>
- </property>
- <property name="frameShape">
- <enum>StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>1</number>
- </property>
- <property name="spacing">
- <number>0</number>
- </property>
- <widget class="QAxWidget">
- <property name="name">
- <cstring>WebBrowser</cstring>
- </property>
- <property name="focusPolicy">
- <enum>StrongFocus</enum>
- </property>
- <property name="control">
- <string>{8856F961-340A-11D0-A96B-00C04FD705A2}</string>
- </property>
- </widget>
- </vbox>
- </widget>
- </hbox>
-</widget>
-<menubar>
- <property name="name">
- <cstring>menubar</cstring>
- </property>
- <item text="&amp;File" name="PopupMenu">
- <action name="FileNewGroup"/>
- <item text="New" name="FileNewGroup_2" accel="">
- <action name="actionNewWindow"/>
- </item>
- <separator/>
- <action name="actionFileClose"/>
- </item>
- <item text="&amp;Help" name="unnamed">
- <action name="actionAbout"/>
- <action name="actionAboutQt"/>
- </item>
-</menubar>
-<toolbars>
- <toolbar dock="2">
- <property name="name">
- <cstring>Toolbar</cstring>
- </property>
- <property name="label">
- <string>Toolbar</string>
- </property>
- <action name="actionBack"/>
- <action name="actionForward"/>
- <action name="actionStop"/>
- <action name="actionRefresh"/>
- <action name="actionHome"/>
- <separator/>
- <action name="actionSearch"/>
- </toolbar>
- <toolbar dock="2">
- <property name="name">
- <cstring>Toolbar_2</cstring>
- </property>
- <property name="horizontallyStretchable">
- <bool>true</bool>
- </property>
- <property name="label">
- <string>Toolbar_2</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>lblAddress</cstring>
- </property>
- <property name="text">
- <string>Address</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>addressEdit</cstring>
- </property>
- </widget>
- <action name="actionGo"/>
- </toolbar>
-</toolbars>
-<customwidgets>
-</customwidgets>
-<actions>
- <action>
- <property name="name">
- <cstring>actionGo</cstring>
- </property>
- <property name="iconSet">
- <iconset>image0</iconset>
- </property>
- <property name="text">
- <string>Go</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionBack</cstring>
- </property>
- <property name="iconSet">
- <iconset>image1</iconset>
- </property>
- <property name="text">
- <string>Back</string>
- </property>
- <property name="accel">
- <string>Backspace</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionForward</cstring>
- </property>
- <property name="iconSet">
- <iconset>image2</iconset>
- </property>
- <property name="text">
- <string>Forward</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionStop</cstring>
- </property>
- <property name="iconSet">
- <iconset>image3</iconset>
- </property>
- <property name="text">
- <string>Stop</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionRefresh</cstring>
- </property>
- <property name="iconSet">
- <iconset>image4</iconset>
- </property>
- <property name="text">
- <string>Refresh</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionHome</cstring>
- </property>
- <property name="iconSet">
- <iconset>image5</iconset>
- </property>
- <property name="text">
- <string>Home</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionFileClose</cstring>
- </property>
- <property name="text">
- <string>Close</string>
- </property>
- <property name="menuText">
- <string>C&amp;lose</string>
- </property>
- </action>
- <actiongroup>
- <property name="name">
- <cstring>FileNewGroup</cstring>
- </property>
- <property name="text">
- <string>New</string>
- </property>
- <property name="usesDropDown">
- <bool>true</bool>
- </property>
- <action>
- <property name="name">
- <cstring>actionNewWindow</cstring>
- </property>
- <property name="text">
- <string>Window</string>
- </property>
- <property name="accel">
- <string>Ctrl+N</string>
- </property>
- </action>
- </actiongroup>
- <action>
- <property name="name">
- <cstring>actionSearch</cstring>
- </property>
- <property name="iconSet">
- <iconset>image6</iconset>
- </property>
- <property name="text">
- <string>Search</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionAbout</cstring>
- </property>
- <property name="text">
- <string>About</string>
- </property>
- </action>
- <action>
- <property name="name">
- <cstring>actionAboutQt</cstring>
- </property>
- <property name="text">
- <string>About Qt</string>
- </property>
- </action>
-</actions>
-<images>
- <image name="image0">
- <data format="XPM.GZ" length="1241">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade65232365200210543251d2e253d856405bffcbc54103b11c8563600020b03105719c4b530b08072f50880513560a09c080338d5209420294a4451a38c90426621ab5146d10de524a2aa417505445122861a547722bb0c971a3d2aa921c2ae446c6a9431fc85a9064551220e354009653dec00294e712a1ac4e97078a9a9b5e6020013b3f563</data>
- </image>
- <image name="image1">
- <data format="XPM.GZ" length="4494">789ce596497332470c86effe15947573a5f4c1cc30cc542a07ef60bc808dd7540e3d9b6df006186c93ca7f8fba2535ce57be98dc9292313c487a2575f7ccf063a376d53baa6dfc589bbe9ad7fbbc96df99496da3983d3e7efcfec76f7faead87418dfe1a51500bd67f595befbfd6f2daf1f35369014e08a05e6fd4ab96e31e73d0282bc7a7cae23ff3ccfe8170ca6cee9843f51f3b4ec8cff9efccdebf2d2cf9b06bb9417a25c74f98bdff99390a84fb8e49af70f39891b2e40bfbf8b6b0917e87968346a8f5a6cc51c07ab02f2cf1983237552f709c86691e3bbd5be5821998a32067bd1765d13f67563d530a4b3df8b01c523d8ec74059faed086bfc82390e851b8ed3c86485e34365a9bfc5ece3df8433e10bcb5140f5dd3cf0e099f32f99e350cecb5858f2b1c1dc52fda663d334a277c0ecfd5d61c9373973120967969b548fd71b079e797d8e985b21eb63aecceb85e7c299f4ffaa2ce7739359ebc195631387c6ad1f5e302791ccbba72cf173e15cfa2d2cc7619cf1fa63c9dccaa4ff4bcfdc7fa82cfdf7999348f6bf299c4bfd4c59ea0f99535dafca71d60a65ffebca52ff8c3989e47cce98351fb785759e7bcbad65bf0be624ca9a8e87caac0fb1702ef191b2cc9731a7b9ec4f87d934659e27e142f8c671e6eb9d0ae7b2be07cc6924ccf999698a7e4f58f572e64cebb9f393444994e68e4365d9ff7be15caef70766ad678cb0f8f18359ebe109b3af27f199fadd794cf254eb196599774758e77d5496f5dd64a67959af122ef87c639b59eb81d34ba97fe3f4215196f3922acbbc28acf527cc792c7a857029ecf63bcded05efb8a52cf3cc9833ed2f66563dac0b8b1ebe3317ea77f73352173db8f6ccf54a66df0f30fb7c777d9bc214d2cf88d9cf73cfece3ddf3296b66da7fe199d7a32b5cc8feef31fbfe8f99bdde96b0faddf3272bac390665b99e90d9e7ef33972de9d73d7ff3d873255c49fc1b73257ee4f8d2eb5d336b3e8e8535ff86d9e7bbf35f2cf51366ef77cfeb6299df62563f3c0a8b1fdcf3d3569778773f756e66f7fcac967e175f797ffff5dfd9ff4103010d6698a35955030b2cb1c25bbcc3fbd5344861882352b8c5077c5c45836678c267ca7fc1314ebeaf81537cc599eb608e6ff88e1f2b682c705314b6486182dbb8f31d0ddca529f644619ff2db641d3cf82a8bfa9d62d7da670d3cc4233c760a63eaa08d2734478fac8f87ffc833788a6738c073bc20ebe3255eb1069d863e5e3b851bacfb7c6b0d0c30c488f24a3a2d4ddaf1986a3d600b13179be280ef597809e876e206000c69d8ec0e590f32c8a18012b7a0825b9799e018eee0de4e0b4318c103ff2ea2985b78c47d28a487ce276b634cca40356d1655801c3bf044af2136e0195ef8b711be4045ab50ff42e16bdbb6463d8e610253fe3d4855ec3ed80abd9f62397ef9c9e6cee835249bc31bbc731ff0010beacbcdbfaca29f2836a3e839fd1f3acb5cb6fd6e13b6605b34766097d6664cdf0d7faad9813dd827df08daf4de812ddaa7061c4017baf43ea6daef70c8fb0247704c932dc897b94e67da09553a811ef4a94a0f4ee10c069435216b630ae7a43b800b7fc6164ea543ea73ea75663b22a50e5cc215ec50956beaf606ead08080147b64c76403d20ebdc6142268528d3655ee3a1db6f88b535ee015b42081d4205ee1f4f335878501ea7644331dc81acecdb7ef63b86b32eae59956cff63237f92af7319c9a82669c989256bd0b6fa6fabe86bbfe0ecdadb9a399ce61b49a86355adfbedd45736756bc27b30afd161a9a9179585de33bf69fd2f8ebd7b5bf014644b906</data>
- </image>
- <image name="image2">
- <data format="XPM.GZ" length="4494">789ce5965b4f23471085dff915d6d6db2aaac5e3b92aca037703cbc55c8c21ca43cf8c8d0dd85c6c307694ff9eeaaed3bd68771f968d14298a0a109fabebd4e99a9ef17cfad8e81d1f343e7e5a99cecc6c5435aaa1796a7cac9fc7e3c5ef7ffcf6e7ca8756d4909f661c35a20fbfac7ce8cc1a55e3f07ed2b7409702b4badaccfb996563020f5c7ecbf340b9a31c3591dff7ac7943e002cc8e73cf74acdcc27a8a2d37a5be4e1d9f04567f9fc105f25dcfea9726caad62a07c1158f58f94e3087e868ea57fa5fa0be590bfb11c3525affd4e03ebfa25b8507fbcaa1c47ca66e459fdf10c6c30af4dcfda8f5f9513dfffce71e1f5a956967adddfaeb25f4f7b60e8d199e596f42f6bc787ca213f554e5be06dc7a28ffdee282791cedb5c83d19fd795a55ecf4b3fb0ee07ebd312fae796e3283665e238524e2265de031bcc774d396d61be25b8c4fe1f02abfeab67f49f2867decfbd6393b6a03f03438f3bca19fa51cb33fc6f80fd7eae2c27e257e7cb4de5b4045f78d679f24960ddcfb172e6f73357ce63e88fc115ce43e558fcabbeb905fb7e47cae24ff5daca41af007bbd81e5b425f53aff6160d52f95f318f37d01a39ee7ca05f4790a469e0e1c97590bfa1b81f53c3e2bfbf5ecf697b532efe754398f31af437085eb65948b18e723f70cbf9e2bcc633db0f65b533609fcbafb372bf318fdcfc015e65b281731ee0ff6acf70767ca5e8f7be01abcab5cfa7e89e53cce2ba3fd1681b5df8172013f44e00acfbf4a39e8ef287b7dbe02234feefce795d727a36c12ccf75239d4b7c1bede9def42fcc0ef7960d5cbc05ebf543635aed752b94aa1ff02ee83ddf3b6a87c3d3f2b9b047a4fcaa17e0cf6f5eef928ab13f5476960d5eb7ac6f5dd07d7e04839e83d29d7be9ffbfe31b50dc723cfa87f08acf947e51a7ad457ee6760773ecaa4f47e36036bfd96673c3fb6c13578a01cf41f9505d5af3b2f655dc28fa93da33e550ef523e5e06f08861eb9e7b94cdfe7ddf753d50feb6f94437e00f67edcf3aa4e831ed8afe73bb05fefe655f7c37edcfd62bb81ddfb82935776cfeb41c87766ff2cfe7f1a4c6cb8e48ae91f68d4dce7015ff390473fad71c3b77cc7639ef03d3ffcb48f013ff293a84c79c6d54f693c8bc28b28589539bff2e2ed647e586389184bacf13a6ff0e6d71a32f92dde96bfdf9dbccc6387dba2d086caae4c668ff7bf68f0673ee0433ee263eef0099ff2199f8b62d0e32e5f704fea2fe5b70d3f57729556b91b349a1c718b634e64faa9fc7fc919e772220a91213254ca273b884bf72b4a54f1846ad925e93b1af56940d734a4110fe4efb5c40dddda907311734c7752d10b3a1ae289c634a17b7dafe331e995b3b124fbdfd25d85471763596fab7aa2a4f53d444653ded3773bb96e8faeae1de2ea8dff9da0b0ebfcd858e3357aa667bb1f68b4a5e7d256853559e8f56d64aefe85e6f44a0b5aea3bac5c2bebf74b8775fb6bfbb858771e7a6f1df09c36f89a36698bb6f53d5c4ef08ee4e6a2dd269b9d488729ed4a171b7bd40ece3228cce5d305edd3673ed7773139bd133a14d5233a96cff7a9237142a77446e7125dba900e70681564f5a6acdc1285ae9e0feaf150d675e8d2d59dd315ad52931fec2973d1a5489c6698e29c5a508829797bd629a52665bcf9fdd32ed95c1d50217b5c18b67390f34befb8e78873a9b6b39ad285216328a2de3bef5b32a59db5ccec42a6b565aaf7dffba6e663d3972b211ea86b065f3cbccbc7b53890399a21a55f677f5863e4f670c337df667f58e3d6dc99dbef3dd5ff6bdf73ff82c65fbfaefc0d4fb5b868</data>
- </image>
- <image name="image3">
- <data format="XPM.GZ" length="802">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade65232325500210543251d2e25658564056503300071f540dc3430007371012a492a830156496538c094848922c9c2259134c099304914e3604c8424aa5e6449b0044216ca824ba2da8b4512218b4d122e8b55520fee5974072164511da487ea490c7f22cba249e20d3efc018f3fcae0d2702eb5d2106992b5d65c00b9a48974</data>
- </image>
- <image name="image4">
- <data format="XPM.GZ" length="1241">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade65232365200210543251d2e253d856405bffcbc54105b19c8563600020b03103711c4b530b08072f50880513524ab518681443435ca984ae08ae06a94114a10ac443435ca3043904d4c4453a38ca604ae11590d9a0ab80bd0d46078914c35c4d885a608871a547f61f81d5d117a1862018930e5b8d5c0950c741a1b1e6a6aadb90086a9d853</data>
- </image>
- <image name="image5">
- <data format="XPM.GZ" length="5598">789ca5985973db480ec7dff3295cc15b6a0b2351a428d6d63ef83e255bbe647b6a1fd02465dd872d9f53f3dd076c005dc926ce6a32eed8553f37fadf7fa0c1a69cdfbe6cdc9cb537befcf6e97145ab61be910fe861e34bf1349dbefdfedffffcf1e97323dae07f51bdbe117dfed7a7cfddd546bed199cfca0ae888016afeab62e8796ef110ee545caf05be16ae5bfc6ee096e7b6e756983f51b6f53b81257ecfb8eee7e9b162f66af1c78125fe48987f23f3fb81657e691cd5bddecc7316d555efd058f7eb2867aa771058f4de8c55cffb6dd4a34cf5b68d357e681c6515634db81a7e3ef59c35cccf5560bf9ef6953389c77660af074f15c751e05c38a6d81f2ef9f3a848f4e9d658f2c36b635dbfa54cc2383556bd33e12492fc70df38f1f3f8ae4cc2745a711285fda7caa4f95e06967a2d8c63f27a8fc2a60fa4acfa980a371b898f0767dc6cf8fdbc9f84c27e4de124d2fabe186b3dee8c75ff1365dbef2db0ccef0987fd2f2a6632fd576552fd2b63d57b08ecd7d39d70b321fd0560acfb6d1a4b7e3050764de7d79f08a70de937ea7b7689e68f4de1e0776e2c7ab8abecb47eb170aa7ee822b0e89f1b4b7fd24dc529abe9794f02cbf99e2b3badc7a5b1ee97089b3e0e8d253f3c364e253e5576120ff7c63a9f7966d2e771d358e75bca4ef3bb0e2cf9758db5fe47c6b21eeb81bd3f07c2ad58ebd130d67e6a194b3cf97e62b2fa24c67a1f5d2aab3f8781a53e17c6eaa7082cfa3de156acf9d5034b7e3563f1eb96c6eaf7c0b815fbf8d2739e3aedefb1b1de9723618b77a49cebf946c6e20f5f8d251e753e8b5bb9e74c980a4afc7a7fbf66b1ed8fb7c67a9ec7c2ad5cfd74038bdfa6b1f6cbd458fd2e84b358efbb0363f5b71358fccd8c33596f9c4bfddcc458fac78d8cf5797b3296f5f82c4c49e6f5c9bf9fb23ce41307967e3935d6f36c0b67b1ce3f188b5f3757367f5363b98fdc38b0cc0f8cf5f90bf3ea97028bfe50981289777d63edcf81b1c4439897f3c52d615738cfe0df371c1deb7db265acf98d8d253f7a50d67a60c758cfcbf4cc7f2fb0f8bf1736bfae30d6f35f1a4b3ce6c6e2df95ca85f6f7dc58f3db0e5c783e14e6ebc533e87e963fbe0873f9fd3cc97c91693fd028b0d4e3c558f3eb0b9b5f972bab3fe78c353f3056bfabc0e2371636bfe4cf9b29d1e76b69acfdb863accfd33cb0dc2fa7c6e2179e03cb79ae940b7dffbf1b6bfd1363f53b12367f581a6b3d1bca56df6e60a9bfc6e765def4ecef6bc7eafaf9e8d558fbb7a15ce87d7263acf7ffbdb1e40f33e1e0cf29ebfea8eb6d7ff29f17f8f4137dfe51d8fa0117ca65ee3fbfe3bd705116b2de9f775e3af50313e1a229f1f0682cf1b052e6e1d9dfbf1cddd4fd2363cdcfef5fb05b7d1f0c944bed4f67ac9f5f27c265bf4c3d9f07eefb787f1f96695eaa1e0a174d7d7f81b1ee4f81a5fe75e552d9bf1fca7e617e9e8d556f33b0c4fbcf5ffdb44c956bc6a2d75dfd6c2020fd3ce2ff69a0c31c0b2cff91461fef71804374bfaa81231ce3044b9ce2ecd734380fc2392e70890ff888bfa6f184cff8c24e5ef10ddf71f3a37c3ed6c015afdec26dfeb983bbb887fb78f0f734380fe031c7437f3247788c27d8fe713e1f6a1076f014cfb08be7ac7481977885d75c951fe4f3630dcea3c3eb7b9cc70d6b9ce12d9fee26de610debeb69b0fb578cb89a0d8c399711e794609373d9c39455f2b53466d8c20c17809c45cc7a3c00f011081cffccff379fef35388f1d0428a0c401f459e58c3d45700f0003cee71d8678fc730d7430e2557d3c8331f7568c37308129cc7006733e9d262c6008cb6ff3f94ea3c72bc678ca3f1fb80a637884154c71c974c55d72c91a4feca4fdf553f8ad46554d8e9ee30a9eb1efab31611f2ff0ca346427bb9c11e114debe7e7ebed328318702e7f0ce9dbee47a1c724655b745b0c94ea6b0c55519f059b98f73d19a6cc30eecc21eecfb7100877004c770026de8e070bdfe805338832e9cc3055cc2955f7b0d3de8f0cfebb5356ee016eea0c6a30e11342086049a907aadcd35355a90111250f5e5288706bfdb4bea572a78b49e06ddd3a0d2807a2502110d6944639ad09466ebf9e8ae684e0bf5b1a4075ab28f11ffa1df678dc7f57cb0c68a9ee899355e7c2ddbf40a31bdb1c63bcdfe86c6803669cb9f4555c76b38a76dcee57d5d1f5c8f1d5af0b9745581bb029a5c8f3eedd21eed73b70ebe56fa91061dd061f05139e9d1116b1cfb9aee55c4fcf6330d5cd289d778a6b65fdd831dea702e256b9cf2b974a84367d4fd580347744e17744957acc13e7cfc095d538f356ed8cd2ddd518dea147da4c1956890ffcf295ed5e4c83b4a59f182b9455935e3b801ab791c7fa4e188d7a4bcbee66353feaef9df8852ca2f3e9ee3ef73840f359cabfec22979f4ddbd1bf018ba118f318f899bf298b9b95bb8e537cffe9ffffef4171c39a0bf</data>
- </image>
- <image name="image6">
- <data format="XPM.GZ" length="3742">789c8d96c9521c490c86ef3c458775734cc8ddd5b5c6c41c303b180cc60b66620eaacc2c9aa5599b7562de7da45fc5180c8e98fa39f091522e4a49c9bbb783bdedcdc1db77735733991d864198c8e5e06dbc9e4eeffffceb8fbfe7de64d9407f466531c8defc36f76667360883adb3d364c013051ae2039f8147266359068f4dc6740a2e4db05f05d726f0253898c017c6a3cc04ffafce79aa3af0143c36c17e055caa0aacbf06aeb2203e5f09ae4d185f75ce472de6e7737063c2fcb57356b702fed673e32c473d4bcf3760198f02e69325706b022f3a676df0f567e05035d1ed273dc79883e7c1d1045e70ae2456d84fd9738a589f0b703261bc72ae25e17ee4b0e7d8f3b5733374e603e32c37c11ff36970db12f193f7e07c1c6bec87c6e0c604ff0e1c4db03f36cec7e3a6f4fd2e38e779eee7bd05e7e350fa7e4fc0455ee6b84fb9eab913bfdf1c5ce5758efba54fffb1e75302d726f8af3817a5f8f922584cf06fc0211f951ebfd0b30afe07ce4510dfdf1e38e665e9f9f1e01c32cf1fda06a73c2f7c7eac5f8c8b61eef582f315b909dc82f1c17e07dc1459e5f1c77d953abb787e0ab832611cf957366dd9c707f556762a3fcf8673ddd6d8afdc1957b909fe98af2a65d4c787c08d09e3c8bfaad504f378de83a309e35fc049d9d747bda19c7dbe8f602d88d6fd11af3a33c1ffde398e02ec69178c0b04bb7fa12be03e08e7ab4b895e2f74ec1ca2e73f6d811b2d37df1feaa9969082f71ff4a73a98c01f9cdb3678fde27eea58f7f9cdc8bfba33c11efda2199ac01bcead048fd72678a4e9e3f6a86f6d172acc87fc69f290f9386f3d72f478a1bf348509fea8b7a66c9b80fec1a8b7a66a53f47cc2fe9b5ae77346fe35ad09e761703081d12f9b68c2fc57ce6d0c1e6fe463934ce0efc63234c11ffd5b4a13c66f9cb53d79fded832bcd27f47f5aeb59055e744eb1df3fe2251aeee4e7453f9264c27aa847b44f7f4f909fda3efb7ae30c5c84b65f1fef435b9a608ff7a4ad4c981ffb6b6b13d8fda5edfb37eff4dcb65e2f787f5a7cb0f7fd0413ecf13eb49d09f6783ff07cf97d8ec0a3f8d8df516f483faf07c45b1f27e9f30ff989e9fdbe11ff1034fd3c9eebe068c238fa9f6677f2fb27ac1f475dd3f97da25fc6c204be755673ef3f8db3360c1f1f824b13c651df2877c44fd0df511efe5ea39f44318151cf9a4e2ab0af870d63fee4dc55fdfe109f880ff3fb788a8ff98df733762630fa471aa6febda2839e5b3f0fe1bef4f18bc9fb01fa7dca4ce0bb9e5b671ef69c3cff18f99cc626d853cf551f3fe453ca531bbdde979cbb2c793e207f536102a39fa5ca0446bf4279f97b89feaabb5181511f38bedf2ffa47373461bdcfe0dc8471d46387860fc6fbaad155c11ef7a5d953747ede69cf2a30fe3fd06c5121fe88572726f8a37f68720ffbfdadf7ac02fb7e82098c7e85ebf2fde37dea92098cf7acc367bc33fbff7a6ecfc4c22d078eaac41d1ff0e4d7f66a7df84293e71ecfec858f9ee8d1fef8a9c733fb139ef2299ff1395ff0255fc167c233befee1f1cc3ef10ddff21ddff303cfabe77bd584177891971e3d7ed8db4e7b2df30aaff29a7aac3ff9ebe4a9bdf2067fe04ddee28ffafb36eff027de558fcfbaab2ffc95bf3db5578b3dfecefb3ce411673c56ceb9e0b23f47a5fbac7fb26f889988742f2a129e504b81a246e0c8ec293cb7a7441d0b1dd0840ee9883486744253bea4533a7bd5fe9c2ed4feb29fff4aff32a36b8dd5e92fe6bfa15bddcf1dddd303cd93c6911668aa2b5cbc363f3c16799f9630fbb2d20aadd21aadeb3d547a8617f6f0d8a00fb4495bfadb47daa61dfa84f977e933c597f64f6e6c9fbed057fa467bf49df669c8bb34a2eca53d8d35576ef88e722aa8a48a6a6a448320a20fd36bf3eb7f407c2c89efb5500f6422877224c77222533915e6b397fbd117f54ccee54275295732936bb9915bb9937b797869ff34e7649ecfe4bd2ce81a8bbc2a4bb2fc5a3dfe2c59915559fb75fdfe8f7affe7f7b97f011cdd9635</data>
- </image>
-</images>
-<connections>
- <connection>
- <sender>actionHome</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>GoHome()</slot>
- </connection>
- <connection>
- <sender>actionRefresh</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>Refresh()</slot>
- </connection>
- <connection>
- <sender>actionStop</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>Stop()</slot>
- </connection>
- <connection>
- <sender>actionForward</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>GoForward()</slot>
- </connection>
- <connection>
- <sender>actionBack</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>GoBack()</slot>
- </connection>
- <connection>
- <sender>actionGo</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>go()</slot>
- </connection>
- <connection>
- <sender>actionFileClose</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>close()</slot>
- </connection>
- <connection>
- <sender>actionSearch</sender>
- <signal>activated()</signal>
- <receiver>WebBrowser</receiver>
- <slot>GoSearch()</slot>
- </connection>
- <connection>
- <sender>addressEdit</sender>
- <signal>returnPressed()</signal>
- <receiver>MainWindow</receiver>
- <slot>go()</slot>
- </connection>
- <connection>
- <sender>WebBrowser</sender>
- <signal>NavigateComplete(const QString&amp;)</signal>
- <receiver>addressEdit</receiver>
- <slot>setText(const QString&amp;)</slot>
- </connection>
- <connection>
- <sender>WebBrowser</sender>
- <signal>TitleChange(const QString&amp;)</signal>
- <receiver>MainWindow</receiver>
- <slot>setTitle(const QString&amp;)</slot>
- </connection>
- <connection>
- <sender>WebBrowser</sender>
- <signal>NavigateComplete(const QString&amp;)</signal>
- <receiver>MainWindow</receiver>
- <slot>navigateComplete()</slot>
- </connection>
- <connection>
- <sender>WebBrowser</sender>
- <signal>CommandStateChange(int,bool)</signal>
- <receiver>MainWindow</receiver>
- <slot>setCommandState(int,bool)</slot>
- </connection>
- <connection>
- <sender>WebBrowser</sender>
- <signal>BeforeNavigate(const QString&amp;,int,const QString&amp;,const QVariant&amp;,const QString&amp;,bool&amp;)</signal>
- <receiver>MainWindow</receiver>
- <slot>navigateBegin()</slot>
- </connection>
- <connection>
- <sender>actionStop</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>navigateComplete()</slot>
- </connection>
- <connection>
- <sender>actionNewWindow</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>newWindow()</slot>
- </connection>
- <connection>
- <sender>actionAbout</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>aboutSlot()</slot>
- </connection>
- <connection>
- <sender>actionAboutQt</sender>
- <signal>activated()</signal>
- <receiver>MainWindow</receiver>
- <slot>aboutQtSlot()</slot>
- </connection>
-</connections>
-<forwards>
- <forward>class QProgressBar</forward>
-</forwards>
-<variables>
- <variable>QProgressBar *pb;</variable>
-</variables>
-<slots>
- <slot>go()</slot>
- <slot>newWindow()</slot>
- <slot>setProgress( int a, int b )</slot>
- <slot>init()</slot>
- <slot>setTitle( const QString &amp; title )</slot>
- <slot>setCommandState( int cmd, bool on )</slot>
- <slot>navigateComplete()</slot>
- <slot>navigateBegin()</slot>
- <slot>aboutSlot()</slot>
- <slot>aboutQtSlot()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>qaxwidget.h</includehint>
-</includehints>
-</UI>
diff --git a/python/pyqt/examples3/webbrowser/webbrowser.py b/python/pyqt/examples3/webbrowser/webbrowser.py
deleted file mode 100644
index bd1462e5..00000000
--- a/python/pyqt/examples3/webbrowser/webbrowser.py
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright (C) 2001-2002 Trolltech AS. All rights reserved.
-# Copyright (C) 2004 Riverbank Computing Ltd. All rights reserved.
-#
-# This file is part of an example program for the ActiveQt integration.
-# This example program may be used, distributed and modified without
-# limitation.
-
-
-import sys
-import qt
-import qtaxcontainer
-
-import mainwindow
-
-
-class MainWindowImpl(mainwindow.MainWindow):
- def init(self):
- self.pb = qt.QProgressBar(self.statusBar())
- self.pb.setPercentageVisible(False)
- self.pb.hide()
- self.statusBar().addWidget(self.pb, 0, True)
-
- self.connect(self.WebBrowser, qt.SIGNAL("ProgressChange(int,int)"), self.setProgress)
- self.connect(self.WebBrowser, qt.SIGNAL("StatusTextChange(const QString&)"), self.statusBar(), qt.SLOT("message(const QString&)"))
-
- self.WebBrowser.dynamicCall("GoHome()");
-
- self.subwindows = []
-
- def go(self):
- self.actionStop.setEnabled(True)
- self.WebBrowser.dynamicCall("Navigate(const QString&)", qt.QVariant(self.addressEdit.text()))
-
- def setTitle(self, title):
- self.setCaption("Qt WebBrowser - " + title.latin1())
-
- def setProgress(self, a, b):
- if a <= 0 or b <= 0:
- self.pb.hide()
- return
-
- self.pb.show()
- self.pb.setTotalSteps(b)
- self.pb.setProgress(a)
-
- def setCommandState(self, cmd, on):
- if cmd == 1:
- self.actionForward.setEnabled(on)
- elif cmd == 2:
- self.actionBack.setEnabled(on)
-
- def navigateBegin(self):
- self.actionStop.setEnabled(True)
-
- def navigateComplete(self):
- self.actionStop.setEnabled(False)
-
- def newWindow(self):
- window = MainWindowImpl()
- window.show()
-
- if self.addressEdit.text().isEmpty():
- return
-
- window.addressEdit.setText(self.addressEdit.text())
- window.actionStop.setEnabled(True)
- window.go()
-
- self.subwindows += window
-
- def aboutSlot(self):
- qt.QMessageBox.about(self, self.tr("About WebBrowser"), self.tr(
-"""This Example has been created using the ActiveQt integration into Qt Designer.
-It demonstrates the use of QAxWidget to embed the Internet Explorer ActiveX
-control into a Qt application."""))
-
- def aboutQtSlot(self):
- qt.QMessageBox.aboutQt(self, self.tr("About Qt"))
-
-
-def main(args):
- a = qt.QApplication(args)
- w = MainWindowImpl()
- a.setMainWidget(w)
- w.show()
-
- return a.exec_loop()
-
-
-if __name__ == "__main__":
- sys.exit(main(sys.argv))