# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/sebas/dev/guidance/trunk/displayconfig/displayconfighardwaretab.ui' # # Created: Sat Apr 23 14:39:39 2005 # by: The PyQt User Interface Compiler (pyuic) 3.13 # # WARNING! All changes made in this file will be lost! import sys from qt import * image0_data = [ "32 32 522 2", "Qt c None", ".i c #000000", "bA c #0037a6", "bU c #0038a6", "ch c #0038a7", "bo c #003ba8", "cA c #003ba9", "bT c #003ca8", "bG c #003ca9", "fp c #020202", "cS c #0242ae", "fq c #030303", "bH c #0341ab", "cg c #0441ab", "b1 c #0443ae", "fo c #050505", "fB c #060606", "bS c #0642ad", "a7 c #0740a5", "cf c #0744ad", "fC c #080808", ".5 c #083fa5", "bn c #0841a5", "d# c #0848b2", "bF c #0942a6", "bh c #0949b1", ".h c #0a0a0a", "cz c #0a47b0", "ce c #0a48b0", "dY c #0a4fb7", "fI c #0b0b0b", "b0 c #0b44a9", "cm c #0b4ab2", "b2 c #0c4ab1", "fA c #0e0e0e", "dk c #0e4eb5", "bz c #0f4db2", "b3 c #0f4db3", "bI c #0f4db4", ".A c #111111", "cl c #114bad", "cR c #114eb4", "cd c #114fb4", "b4 c #1250b5", "cG c #1250b6", "fr c #131313", "cy c #1351b5", "dA c #1353b8", "cn c #1452b6", "aJ c #1550af", "bR c #1552b7", "eR c #161616", "cQ c #1653b7", "bp c #1654b7", "d. c #1654b8", "a8 c #1656b9", "cx c #1756b8", "cF c #1852b2", "b5 c #1857b9", "cZ c #1857ba", ".2 c #191919", "dX c #195cbf", "cP c #1a58ba", "cc c #1a59ba", "#p c #1a5dbf", "cH c #1b59bb", "co c #1b5abb", "ag c #1c1c1c", "c9 c #1c5abb", "dH c #1c60c2", "dg c #1d5ebf", "a3 c #1e1e1e", "cY c #1e58b6", "bJ c #1e5dbd", "dG c #1f5ebc", "cp c #1f5ebd", "aY c #1f5fbf", "cI c #205ebd", "b6 c #205fbe", "dW c #2063c3", "bX c #212121", "c8 c #215fbe", "c0 c #2160bf", "cb c #2161bf", "#v c #225db7", "cq c #2261c0", "cw c #2262c0", "df c #235db9", "by c #2362c0", "ds c #2364c2", "cD c #242424", "bQ c #2463c0", "cr c #2464c1", "aj c #2560b9", "dp c #262626", "cv c #2665c1", "c1 c #2665c2", "aB c #2667c4", "dI c #266ac7", ".# c #272727", "dr c #2763bc", "b7 c #2766c2", "cJ c #2766c3", "cs c #2767c2", "ca c #2767c3", "eq c #282828", "cO c #2867c3", "bg c #2968c3", "ct c #2968c4", "cu c #2969c4", "ab c #296bc7", "bK c #2a69c5", "b8 c #2a6ac5", ".6 c #2a6eca", "#V c #2b66bc", "cK c #2b6ac6", "bq c #2b6bc5", "c7 c #2b6bc6", ".o c #2c2c2c", "#q c #2c5cb7", "bi c #2c5eb7", "bx c #2c6bc6", "bP c #2c6cc6", "aK c #2c6cc7", "#P c #2c6ec8", "g. c #2d2d2d", "bB c #2d60b9", "c# c #2d6dc7", "cL c #2d6ec7", "dJ c #2d71cb", "dV c #2d71cc", "aX c #2e6dc7", "b9 c #2e6ec7", "c. c #2e6ec8", "fb c #2f2f2f", "c2 c #2f6ec8", "a9 c #2f6fc8", "cT c #3063bb", "cM c #3070c8", "bw c #3070c9", "ak c #3072cb", "bf c #3171c9", "br c #3171ca", "aA c #3271c9", "cN c #3272c9", "aW c #3272ca", "c3 c #3372ca", "dt c #3372cb", "dz c #3373ca", "b. c #3373cb", "bL c #3374cb", "dK c #3377cf", "dU c #3379d0", "aZ c #3467be", "aL c #3474cb", "#o c #3478d0", "da c #3567bf", "dZ c #356cc3", "aa c #3575cc", "bO c #3576cc", "#W c #3576ce", ".B c #363636", "bM c #3676cc", "be c #3676cd", "c6 c #3677cd", "fJ c #373737", "az c #3777cd", "bN c #3778cd", "#T c #383838", "bv c #3878cd", "bs c #3878ce", "#O c #3879ce", "fZ c #393939", "dl c #396cc1", "aM c #3979ce", "#w c #397bd1", "dL c #397dd3", "#n c #397ed3", "fz c #3a3a3a", "c4 c #3a7bcf", "bu c #3a7bd0", "dT c #3a7fd4", "aG c #3b3b3b", "c5 c #3b7bcf", "bd c #3b7bd0", "a# c #3b7cd0", ".7 c #3b80d5", "gh c #3c3c3c", "dB c #3c70c3", "ay c #3c7cd1", "aV c #3c7dd1", "a4 c #3d3d3d", "#X c #3d7dd1", "aN c #3d7ed1", "dy c #3d7ed2", "bt c #3e7fd1", "dh c #3e7fd2", "dM c #3e83d7", "bk c #3f3f3f", "#Q c #3f73c5", "al c #3f7fd2", "#N c #3f80d2", "b# c #3f80d3", "dS c #3f85d7", "#x c #4081d3", "#m c #4084d7", "f5 c #414141", "a. c #4182d3", "aU c #4182d4", "bY c #424242", "aC c #4276c6", "aO c #4282d4", "ax c #4283d4", "bc c #4283d5", "di c #4284d4", ".8 c #4287d9", "#Y c #4384d5", "dN c #4389da", "cW c #444444", "dj c #4484d5", "dR c #4489db", "g# c #454545", "#M c #4586d6", "bb c #4587d6", "dd c #464646", "ac c #467ac9", "aT c #4687d7", "aP c #4788d7", "#y c #4788d8", "#l c #478ddc", "dO c #478ddd", "er c #484848", "ba c #4889d7", "aw c #4889d8", "am c #488ad8", ".9 c #488edd", "dE c #494949", "#Z c #498ad8", "dx c #498bd9", "d2 c #4a4a4a", "aS c #4a8bd9", "dP c #4a90de", "aQ c #4b8cda", "du c #4b8dda", "#L c #4b8ddb", "fU c #4c4c4c", "dw c #4c8eda", "dv c #4c8edb", "dQ c #4c92df", "av c #4d8edb", "#z c #4d8fdb", "an c #4d8fdc", "#9 c #4e8fdc", "#0 c #4e90dc", "#k c #4f94e1", "#. c #4f95e2", "aR c #5092dd", "au c #5193de", "ao c #5294de", "#K c #5294df", "#A c #5395df", "#1 c #5395e0", "ap c #5597e0", "at c #5597e1", "#j c #559ce6", "## c #579de6", "#8 c #589ae2", "aq c #589be2", "fs c #595959", "#B c #599be3", "as c #599ce3", "ar c #5a9ce3", "#7 c #5c9fe6", "#2 c #5d9fe5", "#i c #5da3ea", "fH c #5e5e5e", "#C c #5ea2e7", "#a c #5ea4eb", "#J c #5fa1e6", "gg c #606060", "#6 c #60a3e7", "#3 c #60a3e8", "#5 c #62a4e9", "#4 c #62a5e9", "#I c #63a7ea", "#h c #63aaef", "#D c #64a7ea", "#b c #64abef", ".g c #666666", "f4 c #686868", "#E c #68abed", "#g c #69b1f2", "#H c #6aaeee", "#F c #6aaeef", "#c c #6ab1f3", "#G c #6bafef", "#f c #6db4f5", "#d c #6eb5f5", "#e c #6eb6f6", ".E c #7087ae", ".n c #717171", "f9 c #757575", ".Y c #758fb7", "fO c #787878", "el c #7ba0d7", ".F c #7d98be", "gf c #7e7e7e", "f0 c #808080", "ek c #83a7dc", "ga c #848484", ".X c #85a2c7", ".a c #868686", "d5 c #86abdf", "fy c #878787", ".W c #87a5c9", "ej c #87abdd", "d4 c #88aadc", "f6 c #898989", ".Z c #899cc0", ".G c #8aa7ca", "ei c #8aafe0", "fD c #8b8b8b", ".V c #8ba8ca", ".H c #8ca9cb", "d6 c #8cb1e2", ".U c #8eaccd", "eh c #8eb3e3", ".I c #8faccd", "d7 c #90b5e4", ".T c #92afcf", "em c #92afdd", ".J c #92b0d0", "eg c #92b7e5", "d8 c #93b8e6", ".j c #949494", ".S c #95b3d1", ".K c #95b3d2", "d9 c #96bbe8", "ge c #979797", ".R c #98b6d3", ".L c #98b6d4", "e. c #99bfea", ".f c #9a9a9a", ".e c #9b9b9b", ".Q c #9bb9d4", ".M c #9bb9d6", ".d c #9c9c9c", "ef c #9cc2ec", ".c c #9d9d9d", "e# c #9dc2eb", ".b c #9e9e9e", ".N c #9ebcd7", "ee c #9ec4ed", "ea c #9fc4ee", ".O c #a0bed8", ".P c #a0bfd8", "ed c #a0c5ee", "eb c #a0c6ee", "ec c #a1c6ef", "gd c #a3a3a3", "gb c #a4a4a4", "fa c #a5a5a5", "gc c #a6a6a6", "fN c #a8a8a8", "fc c #acacac", "fi c #b4b4b4", "f8 c #b5b5b5", "fm c #b8b8b8", "fj c #b9b9b9", "fl c #bababa", "fk c #bbbbbb", "fn c #bcbcbc", "fx c #bebebe", "fw c #bfbfbf", "fh c #c1c1c1", "fv c #c2c2c2", "fu c #c3c3c3", "eQ c #c4c4c4", "eo c #c6c6c5", "fE c #c6c6c6", ".4 c #c6c9d0", "fe c #c7c7c7", ".z c #c8c8c8", "#u c #c8ccd3", "fd c #c9c9c9", "d1 c #cac9c8", "aF c #cacaca", "f# c #cbcac9", "ep c #cbcbcb", "a2 c #cccccc", "dD c #cdccca", "do c #cdcdcd", "#U c #cdd0d7", "f. c #cecccc", "af c #cecece", "ai c #ced1d8", "aI c #ced2d9", "dn c #cfcecd", "eP c #cfcfcf", "e9 c #d0cfcf", "ft c #d0d0d0", "eO c #d0d0d1", "dc c #d1d1cf", "fg c #d1d1d1", "e8 c #d2d2d1", "#s c #d2d2d2", "a6 c #d2d6dc", ".1 c #d3d3d3", "cV c #d4d3d2", "eN c #d4d3d3", "e7 c #d4d4d3", "f7 c #d4d4d4", "bm c #d4d7de", "ff c #d5d5d5", "eM c #d5d6d6", "d0 c #d5d7da", "cC c #d6d5d4", "e6 c #d6d6d5", "f3 c #d6d6d6", "en c #d6d7d9", "dC c #d6d8db", "bE c #d6d9e0", "fY c #d7d7d7", "eL c #d7d8d7", ".D c #d7d8db", "bZ c #d7dbe2", "fX c #d8d8d8", "e5 c #d8d9d8", "dm c #d8d9dc", "cj c #d9d8d7", "eK c #d9d9d9", "db c #d9dbde", "ck c #d9dde4", "fM c #dadada", "cU c #dadcdf", "e4 c #dbdbda", "eJ c #dbdbdb", "cB c #dbdde0", "dF c #dbdfe5", "bW c #dcdbda", "eI c #dcdcdc", "cE c #dce0e6", "fQ c #dddddd", "cX c #dde1e8", "e3 c #dedddc", "fT c #dedede", "ci c #dedfe2", "dq c #dee1e7", "de c #dee2e8", "bD c #dfdedc", "eH c #dfdfdf", "bV c #dfe1e4", "e2 c #e0dfdd", "bC c #e0e2e5", "bj c #e1e0df", "eG c #e1e1e1", "a0 c #e1e3e6", "aD c #e1e3e7", "e1 c #e2e1e0", "eF c #e2e2e2", "a1 c #e3e2e1", "eE c #e3e3e3", "e0 c #e4e2e3", "aE c #e4e3e1", "fS c #e4e4e4", "fR c #e5e5e5", "eZ c #e6e5e5", "eD c #e6e6e6", "fF c #e7e7e7", "eY c #e8e7e7", "eC c #e8e8e8", "eX c #e9e9e8", "eB c #e9eaea", "d3 c #e9ecef", ".p c #eaeaea", "ad c #eaebef", "eA c #ebebeb", "eW c #ecebea", "fP c #ececec", "ez c #ededec", "fW c #ededed", "f2 c #eeeeee", "ey c #efeeef", "f1 c #efefef", "ex c #f0f0f0", "#R c #f0f2f6", "ae c #f1f0ef", ".m c #f1f1f1", "ew c #f1f2f2", "fL c #f2f2f2", "fG c #f3f3f3", "#r c #f3f5f8", "ev c #f4f3f3", "eV c #f4f4f3", ".3 c #f4f4f4", "et c #f4f6f8", ".C c #f5f5f5", "eU c #f6f6f4", "#t c #f6f6f6", "eu c #f6f7f8", "fV c #f7f7f7", "ah c #f8f8f8", ".0 c #f8f9fa", "eT c #f9f7f7", "aH c #f9f9f9", "fK c #fafafa", "eS c #fbfafa", "a5 c #fbfbfb", "bl c #fcfcfc", "es c #fdfdfc", ".k c #fdfdfd", ".y c #fefefe", ".x c #fffcf8", ".w c #fffcf9", ".v c #fffdf9", ".u c #fffef9", ".t c #fffefa", "#S c #fffefd", ".s c #fffffa", ".r c #fffffc", ".q c #fffffd", ".l c #ffffff", "Qt.#.a.b.c.c.c.c.c.c.c.c.c.d.d.d.d.d.d.d.d.d.e.e.e.f.f.f.e.g.hQt", ".i.j.k.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.l.m.n.i", ".o.p.l.l.q.r.s.s.s.t.u.v.v.w.x.x.x.v.v.v.v.u.u.u.u.u.s.r.y.l.z.A", ".B.C.l.D.E.F.G.H.I.J.K.L.M.N.O.P.O.N.Q.R.S.T.U.V.W.X.Y.Z.0.l.1.2", ".B.3.l.4.5.6.7.8.9#.###a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r.l#s.2", ".B#t.l#u#v#w#x#y#z#A#B#C#D#E#F#G#H#E#I#J#B#K#L#M#N#O#P#Q#R#S#s.2", "#T#t.l#U#V#W#X#Y#Z#0#1#B#2#3#4#4#5#6#7#8#A#9#ya.a#aaabacadaeafag", "#Tah.laiajak#Oal#Yamanaoapaqararas#8atauavawaxayazaAaBaCaDaEaFag", "aGaH.laIaJaKaLaMaNaOaPaQanaRauauauaR#zaSaTaUaVazaWaXaYaZa0a1a2a3", "a4a5.la6a7a8a9b.aza#b##Y#M#y#Z#Z#Zbabbbc#NbdbebfaXbgbhbia0bja2a3", "bkbl.lbmbnbobpbqbraabsa#bt#N#x#x#x#NaNbubvaLbwbxbybzbAbBbCbDa2a3", "bkbl.lbEbFbGbHbIbJbKbwbLbMbNbsbsbvazbOb.bwbPbQbRbSbTbUbBbVbWa2bX", "bY.k.lbZb0b1b2b3b4b5b6b7b8aXb9c.c.c#bqcacbcccdcecfcgchbBcicja2bX", "bY.y.lckclcmcnb5cocpcqcrcsctcucuctcacvcwcpcocxcyb3czcAbBcBcCa2cD", "bY.l.lcEcFcGcHcIbycJcKcLcMbfcNcNbfcMaXbqcObQcpcPcQcRcScTcUcVa2cD", "cW.l.lcXcYcZc0c1b8c2c3bMaMc4c5c5c4aMc6b.a9c7c1c8c9d.d#dadbdca2cD", "dd.l.ldedfdgcac#bfbec4dh#xdidjdjdiaUdhbdazbrbPcJcbc9dkdldmdndodp", "dd.l.ldqdrdsaKdtbv#XaxaTamdudvdwaQdxaTaxdy#OdzbPcJc0dAdBdCdDa2dp", "dE.l.ldFdGdHdIdJdKdLdMdNdOdPdQdQdP.9dRdSdTdUdVdIdWdXdYdZd0d1a2dp", "d2.l.ld3d4d5d6d7d8d9e.e#eaebececedeeefe.d9egeheiejekelemeneoepeq", "er.leseteu#tevewexeyezeAeBeCeDeEeFeGeHeIeJeKeLeMeN#seOeP.zeQa2.#", "eRaf.l.yeseSeTeUeVaeeWeXeYeZe0e1e2e3e4e5e6cCcCe7e8e9f.f#.zeJfa.i", "Qtfbfc#sdoa2epfdeQfeff.1#sfgePafdoa2epaFaFfhfifjfkflfjfmfn.jag.i", "Qt.i.ifofofpfqfqfrfsfeftepfdfeeQfufvfwfxfxfyfzfA.ifBfCfCfC.i.iQt", "QtQtQtQtQtQtfzfDfEeAfteDeAeCeCeCfFfFeCeAffeDfGfifHfIQtQtQtQtQtQt", "QtQtQtQtQtfJfg.l.l.l.meJeA.CaHaHfKahfLfM.1aH.l.l.lfNfCQtQtQtQtQt", "QtQtQtQtQtfO.l.ka5aH#tfPfQeHfReDfSeIaffda2fTbla5.l.lfUQtQtQtQtQt", "QtQtQtQtQtfHfVfVfLfL.mfW.peEeIeJfXfYeJeHfF.mfLfLfKfPfZQtQtQtQtQt", "QtQtQtQtQtfBf0eFf1f1fP.p.p.p.p.p.p.peAfPfPfWf1f2f3f4.iQtQtQtQtQt", "QtQtQtQtQtQt.if5f6fkfYeFeEeEfSfSfSfSeEeEeFf7f8f9g..i.iQtQtQtQtQt", "QtQtQtQtQtQtQt.i.i.2g#.gga.fgbgcgcgdgegfgggh.A.i.iQtQtQtQtQtQtQt", "QtQtQtQtQtQtQtQtQtQt.i.i.ifqfofpfpfofq.i.i.i.iQtQtQtQtQtQtQtQtQt" ] class Form1(QDialog): def __init__(self,parent = None,name = None,modal = 0,fl = 0): QDialog.__init__(self,parent,name,modal,fl) self.image0 = QPixmap(image0_data) if not name: self.setName("Form1") self.groupBox3 = QGroupBox(self,"groupBox3") self.groupBox3.setGeometry(QRect(10,320,680,133)) self.groupBox3.setColumnLayout(0,Qt.Vertical) self.groupBox3.layout().setSpacing(6) self.groupBox3.layout().setMargin(11) groupBox3Layout = QHBoxLayout(self.groupBox3.layout()) groupBox3Layout.setAlignment(Qt.AlignTop) layout92 = QGridLayout(None,1,1,0,6,"layout92") self.textLabel2_4 = QLabel(self.groupBox3,"textLabel2_4") layout92.addWidget(self.textLabel2_4,0,1) self.textLabel5 = QLabel(self.groupBox3,"textLabel5") layout92.addWidget(self.textLabel5,1,2) self.textLabel1_4 = QLabel(self.groupBox3,"textLabel1_4") self.textLabel1_4.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter) layout92.addMultiCellWidget(self.textLabel1_4,2,2,0,3) self.comboBox4 = QComboBox(0,self.groupBox3,"comboBox4") layout92.addWidget(self.comboBox4,1,3) self.comboBox2 = QComboBox(0,self.groupBox3,"comboBox2") layout92.addWidget(self.comboBox2,0,3) self.textLabel3 = QLabel(self.groupBox3,"textLabel3") layout92.addWidget(self.textLabel3,0,0) self.kPushButton1 = KPushButton(self.groupBox3,"kPushButton1") layout92.addMultiCellWidget(self.kPushButton1,1,1,0,1) self.textLabel4 = QLabel(self.groupBox3,"textLabel4") layout92.addWidget(self.textLabel4,0,2) groupBox3Layout.addLayout(layout92) self.groupBox1 = QGroupBox(self,"groupBox1") self.groupBox1.setGeometry(QRect(10,10,320,300)) self.groupBox1.setSizePolicy(QSizePolicy(7,1,0,0,self.groupBox1.sizePolicy().hasHeightForWidth())) self.pixmapLabel1 = QLabel(self.groupBox1,"pixmapLabel1") self.pixmapLabel1.setGeometry(QRect(11,33,16,17)) self.pixmapLabel1.setSizePolicy(QSizePolicy(0,0,0,0,self.pixmapLabel1.sizePolicy().hasHeightForWidth())) self.pixmapLabel1.setScaledContents(1) self.textLabel2 = QLabel(self.groupBox1,"textLabel2") self.textLabel2.setGeometry(QRect(19,45,60,17)) self.textLabel2.setSizePolicy(QSizePolicy(1,1,0,0,self.textLabel2.sizePolicy().hasHeightForWidth())) self.textLabel2_3 = QLabel(self.groupBox1,"textLabel2_3") self.textLabel2_3.setGeometry(QRect(85,45,213,17)) self.textLabel2_3.setSizePolicy(QSizePolicy(3,1,0,0,self.textLabel2_3.sizePolicy().hasHeightForWidth())) self.textLabel1_3 = QLabel(self.groupBox1,"textLabel1_3") self.textLabel1_3.setGeometry(QRect(80,20,213,17)) self.textLabel1_3.setSizePolicy(QSizePolicy(3,1,0,0,self.textLabel1_3.sizePolicy().hasHeightForWidth())) self.textLabel1 = QLabel(self.groupBox1,"textLabel1") self.textLabel1.setGeometry(QRect(19,22,60,17)) self.textLabel1.setSizePolicy(QSizePolicy(1,1,0,0,self.textLabel1.sizePolicy().hasHeightForWidth())) self.pushButton2 = QPushButton(self.groupBox1,"pushButton2") self.pushButton2.setGeometry(QRect(160,70,144,26)) self.pushButton2.setSizePolicy(QSizePolicy(5,1,0,0,self.pushButton2.sizePolicy().hasHeightForWidth())) self.groupBox2 = QGroupBox(self,"groupBox2") self.groupBox2.setGeometry(QRect(350,10,348,300)) self.groupBox2.setSizePolicy(QSizePolicy(5,1,0,0,self.groupBox2.sizePolicy().hasHeightForWidth())) LayoutWidget = QWidget(self.groupBox2,"layout11") LayoutWidget.setGeometry(QRect(12,24,324,44)) layout11 = QHBoxLayout(LayoutWidget,11,6,"layout11") self.pixmapLabel3 = QLabel(LayoutWidget,"pixmapLabel3") self.pixmapLabel3.setSizePolicy(QSizePolicy(0,0,0,0,self.pixmapLabel3.sizePolicy().hasHeightForWidth())) self.pixmapLabel3.setPixmap(self.image0) self.pixmapLabel3.setScaledContents(1) layout11.addWidget(self.pixmapLabel3) layout10 = QGridLayout(None,1,1,0,6,"layout10") self.textLabel2_2_2 = QLabel(LayoutWidget,"textLabel2_2_2") self.textLabel2_2_2.setSizePolicy(QSizePolicy(3,1,0,0,self.textLabel2_2_2.sizePolicy().hasHeightForWidth())) layout10.addWidget(self.textLabel2_2_2,1,1) self.textLabel1_2_2 = QLabel(LayoutWidget,"textLabel1_2_2") self.textLabel1_2_2.setSizePolicy(QSizePolicy(4,1,0,0,self.textLabel1_2_2.sizePolicy().hasHeightForWidth())) layout10.addWidget(self.textLabel1_2_2,0,1) self.textLabel1_2 = QLabel(LayoutWidget,"textLabel1_2") self.textLabel1_2.setSizePolicy(QSizePolicy(1,1,0,0,self.textLabel1_2.sizePolicy().hasHeightForWidth())) layout10.addWidget(self.textLabel1_2,0,0) self.textLabel2_2 = QLabel(LayoutWidget,"textLabel2_2") self.textLabel2_2.setSizePolicy(QSizePolicy(1,1,0,0,self.textLabel2_2.sizePolicy().hasHeightForWidth())) layout10.addWidget(self.textLabel2_2,1,0) layout11.addLayout(layout10) self.pushButton2_2 = QPushButton(self.groupBox2,"pushButton2_2") self.pushButton2_2.setGeometry(QRect(180,70,158,26)) self.pushButton2_2.setSizePolicy(QSizePolicy(5,1,0,0,self.pushButton2_2.sizePolicy().hasHeightForWidth())) self.languageChange() self.resize(QSize(702,472).expandedTo(self.minimumSizeHint())) self.clearWState(Qt.WState_Polished) def languageChange(self): self.setCaption(self.__tr("Form1")) self.groupBox3.setTitle(self.__tr("Default Display Settings")) self.textLabel2_4.setText(self.__tr("1280x1024 @ 60Hz")) self.textLabel5.setText(self.__tr("DPI:")) self.textLabel1_4.setText(self.__tr("These settings are defaults. Each user of this computer may specify their own personal settings.")) self.comboBox4.clear() self.comboBox4.insertItem(self.__tr("75 DPI (small fonts)")) self.comboBox4.insertItem(self.__tr("100 DPI (large fonts)")) self.comboBox4.insertItem(self.__tr("Auto (84 DPI)")) self.comboBox2.clear() self.comboBox2.insertItem(self.__tr("Millions (24bit)")) self.textLabel3.setText(self.__tr("Screen size:")) self.kPushButton1.setText(self.__tr("Use current settings as system default")) self.textLabel4.setText(self.__tr("Colors:")) self.groupBox1.setTitle(self.__tr("Graphics Card")) self.textLabel2.setText(self.__tr("Memory:")) self.textLabel2_3.setText(self.__tr("32 Mb")) self.textLabel1_3.setText(self.__tr("GeForce 2")) self.textLabel1.setText(self.__tr("Name:")) self.pushButton2.setText(self.__tr("Configure...")) self.groupBox2.setTitle(self.__tr("Monitor")) self.textLabel2_2_2.setText(self.__tr("1600x1200 @ 60Hz")) self.textLabel1_2_2.setText(self.__tr("Philips 107S")) self.textLabel1_2.setText(self.__tr("Name:")) self.textLabel2_2.setText(self.__tr("Max. Resolution:")) self.pushButton2_2.setText(self.__tr("Configure...")) def __tr(self,s,c = None): return qApp.translate("Form1",s,c) if __name__ == "__main__": a = QApplication(sys.argv) QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) w = Form1() a.setMainWidget(w) w.show() a.exec_loop()