1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'ui/aboutdlg_base.ui'
5 # Created: Mon Oct 15 16:07:30 2007
6 # by: The PyQt User Interface Compiler (pyuic) 3.17
8 # WARNING! All changes made in this file will be lost!
14 class AboutDlg_base(QDialog):
15 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
16 QDialog.__init__(self,parent,name,modal,fl)
19 self.setName("AboutDlg_base")
22 AboutDlg_baseLayout = QGridLayout(self,1,1,11,6,"AboutDlg_baseLayout")
24 self.textLabel1 = QLabel(self,"textLabel1")
26 AboutDlg_baseLayout.addWidget(self.textLabel1,0,0)
28 layout17 = QHBoxLayout(None,0,6,"layout17")
29 spacer27 = QSpacerItem(150,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
30 layout17.addItem(spacer27)
32 self.logoPixmap = QLabel(self,"logoPixmap")
33 self.logoPixmap.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.logoPixmap.sizePolicy().hasHeightForWidth()))
34 self.logoPixmap.setMinimumSize(QSize(100,110))
35 self.logoPixmap.setMaximumSize(QSize(100,110))
36 self.logoPixmap.setScaledContents(1)
37 layout17.addWidget(self.logoPixmap)
38 spacer28 = QSpacerItem(151,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
39 layout17.addItem(spacer28)
41 AboutDlg_baseLayout.addLayout(layout17,1,0)
43 self.pushButton15 = QPushButton(self,"pushButton15")
45 AboutDlg_baseLayout.addWidget(self.pushButton15,8,0)
47 layout1 = QHBoxLayout(None,0,6,"layout1")
49 self.textLabel4 = QLabel(self,"textLabel4")
50 layout1.addWidget(self.textLabel4)
52 self.VersionText = QLabel(self,"VersionText")
53 layout1.addWidget(self.VersionText)
55 AboutDlg_baseLayout.addLayout(layout1,2,0)
57 layout1_2 = QHBoxLayout(None,0,6,"layout1_2")
59 self.textLabel4_2 = QLabel(self,"textLabel4_2")
60 layout1_2.addWidget(self.textLabel4_2)
62 self.ToolboxVersionText = QLabel(self,"ToolboxVersionText")
63 layout1_2.addWidget(self.ToolboxVersionText)
65 AboutDlg_baseLayout.addLayout(layout1_2,3,0)
67 self.textLabel2 = QLabel(self,"textLabel2")
69 AboutDlg_baseLayout.addWidget(self.textLabel2,5,0)
71 self.textLabel3 = QLabel(self,"textLabel3")
73 AboutDlg_baseLayout.addWidget(self.textLabel3,4,0)
75 layout18 = QHBoxLayout(None,0,6,"layout18")
77 self.pyPixmap = QLabel(self,"pyPixmap")
78 self.pyPixmap.setMinimumSize(QSize(200,62))
79 self.pyPixmap.setMaximumSize(QSize(200,62))
80 self.pyPixmap.setScaledContents(1)
81 layout18.addWidget(self.pyPixmap)
83 self.osiPixmap = QLabel(self,"osiPixmap")
84 self.osiPixmap.setMinimumSize(QSize(75,65))
85 self.osiPixmap.setMaximumSize(QSize(75,65))
86 self.osiPixmap.setScaledContents(1)
87 layout18.addWidget(self.osiPixmap)
89 AboutDlg_baseLayout.addLayout(layout18,6,0)
90 spacer29 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding)
91 AboutDlg_baseLayout.addItem(spacer29,7,0)
95 self.resize(QSize(481,560).expandedTo(self.minimumSizeHint()))
96 self.clearWState(Qt.WState_Polished)
98 self.connect(self.pushButton15,SIGNAL("clicked()"),self.close)
101 def languageChange(self):
102 self.setCaption(self.__tr("HP Device Manager - About"))
103 self.textLabel1.setText(self.__tr("<font size=\"+3\"><p align=\"center\">HP Linux Imaging and Printing (HPLIP)</p></font>"))
104 self.pushButton15.setText(self.__tr("Close"))
105 self.textLabel4.setText(self.__tr("<b>HPLIP Software Version:</b>"))
106 self.VersionText.setText(self.__tr("0.0.0"))
107 self.textLabel4_2.setText(self.__tr("<b>Device Manager Software Version:</b>"))
108 self.ToolboxVersionText.setText(self.__tr("0.0.0"))
109 self.textLabel2.setText(self.__tr("<b>Authors and Contributors:</b>\nDavid Suffield, Don Welch, Shiyun Yie, Raghothama Cauligi, John Oleinik, Cory Meisch, Foster Nuffer, Pete Parks, Jacqueline Pitter, David Paschal,\nSteve DeRoos, Mark Overton, Aaron Albright, Smith Kennedy, John Hosszu, Chris Wiesner, Henrique M. Holschuh, Till Kamppeter, Linus Araque, Mark Crawford, Charlie Moore, Naga Samrat Choudary, Suma Byrappa, Parul Singh, Srikant Lokare, Sanjay Kumar, Sarbeswar Meher, Goutam Kodu, Gaurav Sood, Raghavendra Chitpadi"))
110 self.textLabel3.setText(self.__tr("<b>License and Copyright:</b>\n(c) Copyright 2007 Hewlett-Packard Development Company, L.P. This software is licensed under the GNU General Public License (GPL), BSD, and MIT licenses. See the software sources for details."))
113 def __tr(self,s,c = None):
114 return qApp.translate("AboutDlg_base",s,c)