Tizen 2.1 base
[platform/upstream/hplip.git] / ui / aboutdlg_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui/aboutdlg_base.ui'
4 #
5 # Created: Mon Oct 15 16:07:30 2007
6 #      by: The PyQt User Interface Compiler (pyuic) 3.17
7 #
8 # WARNING! All changes made in this file will be lost!
9
10
11 from qt import *
12
13
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)
17
18         if not name:
19             self.setName("AboutDlg_base")
20
21
22         AboutDlg_baseLayout = QGridLayout(self,1,1,11,6,"AboutDlg_baseLayout")
23
24         self.textLabel1 = QLabel(self,"textLabel1")
25
26         AboutDlg_baseLayout.addWidget(self.textLabel1,0,0)
27
28         layout17 = QHBoxLayout(None,0,6,"layout17")
29         spacer27 = QSpacerItem(150,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
30         layout17.addItem(spacer27)
31
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)
40
41         AboutDlg_baseLayout.addLayout(layout17,1,0)
42
43         self.pushButton15 = QPushButton(self,"pushButton15")
44
45         AboutDlg_baseLayout.addWidget(self.pushButton15,8,0)
46
47         layout1 = QHBoxLayout(None,0,6,"layout1")
48
49         self.textLabel4 = QLabel(self,"textLabel4")
50         layout1.addWidget(self.textLabel4)
51
52         self.VersionText = QLabel(self,"VersionText")
53         layout1.addWidget(self.VersionText)
54
55         AboutDlg_baseLayout.addLayout(layout1,2,0)
56
57         layout1_2 = QHBoxLayout(None,0,6,"layout1_2")
58
59         self.textLabel4_2 = QLabel(self,"textLabel4_2")
60         layout1_2.addWidget(self.textLabel4_2)
61
62         self.ToolboxVersionText = QLabel(self,"ToolboxVersionText")
63         layout1_2.addWidget(self.ToolboxVersionText)
64
65         AboutDlg_baseLayout.addLayout(layout1_2,3,0)
66
67         self.textLabel2 = QLabel(self,"textLabel2")
68
69         AboutDlg_baseLayout.addWidget(self.textLabel2,5,0)
70
71         self.textLabel3 = QLabel(self,"textLabel3")
72
73         AboutDlg_baseLayout.addWidget(self.textLabel3,4,0)
74
75         layout18 = QHBoxLayout(None,0,6,"layout18")
76
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)
82
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)
88
89         AboutDlg_baseLayout.addLayout(layout18,6,0)
90         spacer29 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding)
91         AboutDlg_baseLayout.addItem(spacer29,7,0)
92
93         self.languageChange()
94
95         self.resize(QSize(481,560).expandedTo(self.minimumSizeHint()))
96         self.clearWState(Qt.WState_Polished)
97
98         self.connect(self.pushButton15,SIGNAL("clicked()"),self.close)
99
100
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."))
111
112
113     def __tr(self,s,c = None):
114         return qApp.translate("AboutDlg_base",s,c)