Tizen 2.1 base
[platform/upstream/hplip.git] / ui4 / mimetypesdialog_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui4/mimetypesdialog_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_MimeTypesDialog_base(object):
13     def setupUi(self, MimeTypesDialog_base):
14         MimeTypesDialog_base.setObjectName("MimeTypesDialog_base")
15         MimeTypesDialog_base.resize(500, 540)
16         self.gridlayout = QtGui.QGridLayout(MimeTypesDialog_base)
17         self.gridlayout.setObjectName("gridlayout")
18         self.textLabel3_2 = QtGui.QLabel(MimeTypesDialog_base)
19         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
20         sizePolicy.setHorizontalStretch(0)
21         sizePolicy.setVerticalStretch(0)
22         sizePolicy.setHeightForWidth(self.textLabel3_2.sizePolicy().hasHeightForWidth())
23         self.textLabel3_2.setSizePolicy(sizePolicy)
24         self.textLabel3_2.setWordWrap(False)
25         self.textLabel3_2.setObjectName("textLabel3_2")
26         self.gridlayout.addWidget(self.textLabel3_2, 0, 0, 1, 2)
27         self.line1_2 = QtGui.QFrame(MimeTypesDialog_base)
28         self.line1_2.setFrameShape(QtGui.QFrame.HLine)
29         self.line1_2.setFrameShadow(QtGui.QFrame.Sunken)
30         self.line1_2.setObjectName("line1_2")
31         self.gridlayout.addWidget(self.line1_2, 1, 0, 1, 2)
32         self.TypesTableWidget = QtGui.QTableWidget(MimeTypesDialog_base)
33         self.TypesTableWidget.setAlternatingRowColors(True)
34         self.TypesTableWidget.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
35         self.TypesTableWidget.setObjectName("TypesTableWidget")
36         self.TypesTableWidget.setColumnCount(3)
37         self.TypesTableWidget.setRowCount(0)
38         item = QtGui.QTableWidgetItem()
39         self.TypesTableWidget.setHorizontalHeaderItem(0, item)
40         item = QtGui.QTableWidgetItem()
41         self.TypesTableWidget.setHorizontalHeaderItem(1, item)
42         item = QtGui.QTableWidgetItem()
43         self.TypesTableWidget.setHorizontalHeaderItem(2, item)
44         self.gridlayout.addWidget(self.TypesTableWidget, 2, 0, 1, 2)
45         self.textLabel1 = QtGui.QLabel(MimeTypesDialog_base)
46         self.textLabel1.setWordWrap(True)
47         self.textLabel1.setObjectName("textLabel1")
48         self.gridlayout.addWidget(self.textLabel1, 3, 0, 1, 2)
49         spacerItem = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
50         self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
51         self.pushButton10 = QtGui.QPushButton(MimeTypesDialog_base)
52         self.pushButton10.setObjectName("pushButton10")
53         self.gridlayout.addWidget(self.pushButton10, 4, 1, 1, 1)
54
55         self.retranslateUi(MimeTypesDialog_base)
56         QtCore.QObject.connect(self.pushButton10, QtCore.SIGNAL("clicked()"), MimeTypesDialog_base.accept)
57         QtCore.QMetaObject.connectSlotsByName(MimeTypesDialog_base)
58
59     def retranslateUi(self, MimeTypesDialog_base):
60         MimeTypesDialog_base.setWindowTitle(QtGui.QApplication.translate("MimeTypesDialog_base", "HP Device Manager - MIME Types", None, QtGui.QApplication.UnicodeUTF8))
61         self.textLabel3_2.setText(QtGui.QApplication.translate("MimeTypesDialog_base", "<b>File/document types that can be added to the file list.</b>", None, QtGui.QApplication.UnicodeUTF8))
62         self.TypesTableWidget.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MimeTypesDialog_base", "MIME Type", None, QtGui.QApplication.UnicodeUTF8))
63         self.TypesTableWidget.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MimeTypesDialog_base", "Description", None, QtGui.QApplication.UnicodeUTF8))
64         self.TypesTableWidget.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MimeTypesDialog_base", "Usual File Extension(s)", None, QtGui.QApplication.UnicodeUTF8))
65         self.textLabel1.setText(QtGui.QApplication.translate("MimeTypesDialog_base", "<i>Note: To print or fax file/document types that do not appear on this list, print the document from the application that created it through the appropriate CUPS printer.</i>", None, QtGui.QApplication.UnicodeUTF8))
66         self.pushButton10.setText(QtGui.QApplication.translate("MimeTypesDialog_base", "OK", None, QtGui.QApplication.UnicodeUTF8))
67