Tizen 2.1 base
[platform/upstream/hplip.git] / ui4 / plugindialog_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui4/plugindialog_base.ui'
4 #
5 # Created: Mon May  4 14:30:34 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, 2)
35         self.TitleLabel = QtGui.QLabel(self.page)
36         self.TitleLabel.setWordWrap(True)
37         self.TitleLabel.setObjectName("TitleLabel")
38         self.gridlayout1.addWidget(self.TitleLabel, 2, 0, 1, 2)
39         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
40         self.gridlayout1.addItem(spacerItem, 3, 0, 1, 1)
41         self.groupBox = QtGui.QGroupBox(self.page)
42         self.groupBox.setObjectName("groupBox")
43         self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
44         self.gridlayout2.setObjectName("gridlayout2")
45         self.DownloadRadioButton = QtGui.QRadioButton(self.groupBox)
46         self.DownloadRadioButton.setChecked(True)
47         self.DownloadRadioButton.setObjectName("DownloadRadioButton")
48         self.gridlayout2.addWidget(self.DownloadRadioButton, 0, 0, 1, 2)
49         self.CopyRadioButton = QtGui.QRadioButton(self.groupBox)
50         self.CopyRadioButton.setEnabled(True)
51         self.CopyRadioButton.setObjectName("CopyRadioButton")
52         self.gridlayout2.addWidget(self.CopyRadioButton, 1, 0, 1, 2)
53         spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
54         self.gridlayout2.addItem(spacerItem1, 2, 0, 1, 1)
55         self.hboxlayout = QtGui.QHBoxLayout()
56         self.hboxlayout.setObjectName("hboxlayout")
57         self.PathLineEdit = QtGui.QLineEdit(self.groupBox)
58         self.PathLineEdit.setEnabled(False)
59         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
60         sizePolicy.setHorizontalStretch(0)
61         sizePolicy.setVerticalStretch(0)
62         sizePolicy.setHeightForWidth(self.PathLineEdit.sizePolicy().hasHeightForWidth())
63         self.PathLineEdit.setSizePolicy(sizePolicy)
64         self.PathLineEdit.setObjectName("PathLineEdit")
65         self.hboxlayout.addWidget(self.PathLineEdit)
66         self.BrowseToolButton = QtGui.QToolButton(self.groupBox)
67         self.BrowseToolButton.setEnabled(False)
68         self.BrowseToolButton.setObjectName("BrowseToolButton")
69         self.hboxlayout.addWidget(self.BrowseToolButton)
70         self.gridlayout2.addLayout(self.hboxlayout, 2, 1, 1, 1)
71         self.SkipRadioButton = QtGui.QRadioButton(self.groupBox)
72         self.SkipRadioButton.setObjectName("SkipRadioButton")
73         self.gridlayout2.addWidget(self.SkipRadioButton, 3, 0, 1, 2)
74         self.gridlayout1.addWidget(self.groupBox, 4, 0, 1, 2)
75         spacerItem2 = QtGui.QSpacerItem(278, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
76         self.gridlayout1.addItem(spacerItem2, 5, 1, 1, 1)
77         self.StackedWidget.addWidget(self.page)
78         self.gridlayout.addWidget(self.StackedWidget, 0, 0, 1, 5)
79         self.line_2 = QtGui.QFrame(Dialog)
80         self.line_2.setFrameShape(QtGui.QFrame.HLine)
81         self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
82         self.line_2.setObjectName("line_2")
83         self.gridlayout.addWidget(self.line_2, 1, 0, 1, 5)
84         self.StepText = QtGui.QLabel(Dialog)
85         self.StepText.setObjectName("StepText")
86         self.gridlayout.addWidget(self.StepText, 2, 0, 1, 1)
87         spacerItem3 = QtGui.QSpacerItem(161, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
88         self.gridlayout.addItem(spacerItem3, 2, 1, 1, 1)
89         self.BackButton = QtGui.QPushButton(Dialog)
90         self.BackButton.setEnabled(False)
91         self.BackButton.setObjectName("BackButton")
92         self.gridlayout.addWidget(self.BackButton, 2, 2, 1, 1)
93         self.NextButton = QtGui.QPushButton(Dialog)
94         self.NextButton.setObjectName("NextButton")
95         self.gridlayout.addWidget(self.NextButton, 2, 3, 1, 1)
96         self.CancelButton = QtGui.QPushButton(Dialog)
97         self.CancelButton.setObjectName("CancelButton")
98         self.gridlayout.addWidget(self.CancelButton, 2, 4, 1, 1)
99
100         self.retranslateUi(Dialog)
101         self.StackedWidget.setCurrentIndex(0)
102         QtCore.QMetaObject.connectSlotsByName(Dialog)
103
104     def retranslateUi(self, Dialog):
105         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Plug-in Installer", None, QtGui.QApplication.UnicodeUTF8))
106         self.label.setText(QtGui.QApplication.translate("Dialog", "Driver Plug-in Installation", None, QtGui.QApplication.UnicodeUTF8))
107         self.TitleLabel.setText(QtGui.QApplication.translate("Dialog", "You may download the plug-in directly from an HP authorized server, or, if you already have a local copy of the plug-in file, you can specify a path to the file.", None, QtGui.QApplication.UnicodeUTF8))
108         self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Plug-in Installation Choice", None, QtGui.QApplication.UnicodeUTF8))
109         self.DownloadRadioButton.setText(QtGui.QApplication.translate("Dialog", "Download and install the plug-in from an HP authorized server (recommended)", None, QtGui.QApplication.UnicodeUTF8))
110         self.CopyRadioButton.setText(QtGui.QApplication.translate("Dialog", "Select and install an existing local copy of the plug-in file (advanced):", None, QtGui.QApplication.UnicodeUTF8))
111         self.BrowseToolButton.setToolTip(QtGui.QApplication.translate("Dialog", "Open a local copy of the plug-in file", None, QtGui.QApplication.UnicodeUTF8))
112         self.SkipRadioButton.setText(QtGui.QApplication.translate("Dialog", "Skip installation of the plug-in (not recommended)", None, QtGui.QApplication.UnicodeUTF8))
113         self.StepText.setText(QtGui.QApplication.translate("Dialog", "Step %d of %d", None, QtGui.QApplication.UnicodeUTF8))
114         self.BackButton.setText(QtGui.QApplication.translate("Dialog", "< Back", None, QtGui.QApplication.UnicodeUTF8))
115         self.NextButton.setText(QtGui.QApplication.translate("Dialog", "Next >", None, QtGui.QApplication.UnicodeUTF8))
116         self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
117