Tizen 2.1 base
[platform/upstream/hplip.git] / ui4 / pluginlicensedialog_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui4/pluginlicensedialog_base.ui'
4 #
5 # Created: Mon May  4 14:30:35 2009
6 #      by: PyQt4 UI code generator 4.4.4
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_Dialog(object):
13     def setupUi(self, Dialog):
14         Dialog.setObjectName("Dialog")
15         Dialog.resize(700, 500)
16         self.gridlayout = QtGui.QGridLayout(Dialog)
17         self.gridlayout.setObjectName("gridlayout")
18         self.StackedWidget = QtGui.QStackedWidget(Dialog)
19         self.StackedWidget.setObjectName("StackedWidget")
20         self.page = QtGui.QWidget()
21         self.page.setObjectName("page")
22         self.gridlayout1 = QtGui.QGridLayout(self.page)
23         self.gridlayout1.setObjectName("gridlayout1")
24         self.label = QtGui.QLabel(self.page)
25         font = QtGui.QFont()
26         font.setPointSize(16)
27         self.label.setFont(font)
28         self.label.setObjectName("label")
29         self.gridlayout1.addWidget(self.label, 0, 0, 1, 1)
30         self.line = QtGui.QFrame(self.page)
31         self.line.setFrameShape(QtGui.QFrame.HLine)
32         self.line.setFrameShadow(QtGui.QFrame.Sunken)
33         self.line.setObjectName("line")
34         self.gridlayout1.addWidget(self.line, 1, 0, 1, 1)
35         self.label_2 = QtGui.QLabel(self.page)
36         self.label_2.setWordWrap(True)
37         self.label_2.setObjectName("label_2")
38         self.gridlayout1.addWidget(self.label_2, 2, 0, 1, 1)
39         self.LicenseTextEdit = QtGui.QTextEdit(self.page)
40         self.LicenseTextEdit.setAutoFormatting(QtGui.QTextEdit.AutoAll)
41         self.LicenseTextEdit.setReadOnly(True)
42         self.LicenseTextEdit.setTextInteractionFlags(QtCore.Qt.NoTextInteraction)
43         self.LicenseTextEdit.setObjectName("LicenseTextEdit")
44         self.gridlayout1.addWidget(self.LicenseTextEdit, 3, 0, 1, 1)
45         self.AgreeCheckBox = QtGui.QCheckBox(self.page)
46         self.AgreeCheckBox.setObjectName("AgreeCheckBox")
47         self.gridlayout1.addWidget(self.AgreeCheckBox, 4, 0, 1, 1)
48         self.StackedWidget.addWidget(self.page)
49         self.gridlayout.addWidget(self.StackedWidget, 0, 0, 1, 5)
50         self.line_2 = QtGui.QFrame(Dialog)
51         self.line_2.setFrameShape(QtGui.QFrame.HLine)
52         self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
53         self.line_2.setObjectName("line_2")
54         self.gridlayout.addWidget(self.line_2, 1, 0, 1, 5)
55         spacerItem = QtGui.QSpacerItem(161, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
56         self.gridlayout.addItem(spacerItem, 2, 1, 1, 1)
57         self.BackButton = QtGui.QPushButton(Dialog)
58         self.BackButton.setEnabled(False)
59         self.BackButton.setObjectName("BackButton")
60         self.gridlayout.addWidget(self.BackButton, 2, 2, 1, 1)
61         self.NextButton = QtGui.QPushButton(Dialog)
62         self.NextButton.setEnabled(False)
63         self.NextButton.setObjectName("NextButton")
64         self.gridlayout.addWidget(self.NextButton, 2, 3, 1, 1)
65         self.CancelButton = QtGui.QPushButton(Dialog)
66         self.CancelButton.setObjectName("CancelButton")
67         self.gridlayout.addWidget(self.CancelButton, 2, 4, 1, 1)
68
69         self.retranslateUi(Dialog)
70         self.StackedWidget.setCurrentIndex(0)
71         QtCore.QObject.connect(self.AgreeCheckBox, QtCore.SIGNAL("toggled(bool)"), self.NextButton.setEnabled)
72         QtCore.QObject.connect(self.NextButton, QtCore.SIGNAL("clicked()"), Dialog.accept)
73         QtCore.QObject.connect(self.CancelButton, QtCore.SIGNAL("clicked()"), Dialog.reject)
74         QtCore.QMetaObject.connectSlotsByName(Dialog)
75
76     def retranslateUi(self, Dialog):
77         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Plug-in Installer", None, QtGui.QApplication.UnicodeUTF8))
78         self.label.setText(QtGui.QApplication.translate("Dialog", "Driver Plug-in License Agreement", None, QtGui.QApplication.UnicodeUTF8))
79         self.label_2.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
80 "p, li { white-space: pre-wrap; }\n"
81 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
82 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Please read the driver plug-in license agreement and then check the <span style=\" font-style:italic;\">I agree</span> box and then click <span style=\" font-style:italic;\">Next</span> to continue.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
83         self.AgreeCheckBox.setText(QtGui.QApplication.translate("Dialog", "I agree to the terms of the driver plug-in license agreement", None, QtGui.QApplication.UnicodeUTF8))
84         self.BackButton.setText(QtGui.QApplication.translate("Dialog", "< Back", None, QtGui.QApplication.UnicodeUTF8))
85         self.NextButton.setText(QtGui.QApplication.translate("Dialog", "Next >", None, QtGui.QApplication.UnicodeUTF8))
86         self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
87