Tizen 2.1 base
[platform/upstream/hplip.git] / ui4 / printsettingsdialog_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui4/printsettingsdialog_base.ui'
4 #
5 # Created: Mon May  4 14:30:36 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.setWindowModality(QtCore.Qt.ApplicationModal)
16         Dialog.resize(700, 500)
17         self.gridlayout = QtGui.QGridLayout(Dialog)
18         self.gridlayout.setObjectName("gridlayout")
19         self.TitleLabel = QtGui.QLabel(Dialog)
20         font = QtGui.QFont()
21         font.setPointSize(16)
22         self.TitleLabel.setFont(font)
23         self.TitleLabel.setObjectName("TitleLabel")
24         self.gridlayout.addWidget(self.TitleLabel, 0, 0, 1, 1)
25         self.line = QtGui.QFrame(Dialog)
26         self.line.setFrameShape(QtGui.QFrame.HLine)
27         self.line.setFrameShadow(QtGui.QFrame.Sunken)
28         self.line.setObjectName("line")
29         self.gridlayout.addWidget(self.line, 1, 0, 1, 2)
30         self.PrinterName = PrinterNameComboBox(Dialog)
31         self.PrinterName.setObjectName("PrinterName")
32         self.gridlayout.addWidget(self.PrinterName, 2, 0, 1, 2)
33         self.OptionsToolBox = PrintSettingsToolbox(Dialog)
34         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
35         sizePolicy.setHorizontalStretch(0)
36         sizePolicy.setVerticalStretch(0)
37         sizePolicy.setHeightForWidth(self.OptionsToolBox.sizePolicy().hasHeightForWidth())
38         self.OptionsToolBox.setSizePolicy(sizePolicy)
39         self.OptionsToolBox.setObjectName("OptionsToolBox")
40         self.gridlayout.addWidget(self.OptionsToolBox, 3, 0, 1, 2)
41         spacerItem = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
42         self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
43         self.CloseButton = QtGui.QPushButton(Dialog)
44         self.CloseButton.setObjectName("CloseButton")
45         self.gridlayout.addWidget(self.CloseButton, 4, 1, 1, 1)
46
47         self.retranslateUi(Dialog)
48         self.OptionsToolBox.setCurrentIndex(-1)
49         QtCore.QMetaObject.connectSlotsByName(Dialog)
50
51     def retranslateUi(self, Dialog):
52         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Print Settings", None, QtGui.QApplication.UnicodeUTF8))
53         self.TitleLabel.setText(QtGui.QApplication.translate("Dialog", "Print Settings", None, QtGui.QApplication.UnicodeUTF8))
54         self.CloseButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
55
56 from printsettingstoolbox import PrintSettingsToolbox
57 from printernamecombobox import PrinterNameComboBox