ui_open_tombfile.py (2622B)
1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from reading ui file 'tombqt/open_tombfile.ui' 4 # 5 # Created: Tue Jan 24 00:49:10 2012 6 # by: PyQt4 UI code generator 4.9 7 # 8 # WARNING! All changes made in this file will be lost! 9 10 from PyQt4 import QtCore, QtGui 11 12 try: 13 _fromUtf8 = QtCore.QString.fromUtf8 14 except AttributeError: 15 _fromUtf8 = lambda s: s 16 17 class Ui_tombfile(object): 18 def setupUi(self, tombfile): 19 tombfile.setObjectName(_fromUtf8("tombfile")) 20 tombfile.resize(480, 640) 21 self.verticalLayout_2 = QtGui.QVBoxLayout(tombfile) 22 self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) 23 spacerItem = QtGui.QSpacerItem(20, 276, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) 24 self.verticalLayout_2.addItem(spacerItem) 25 self.verticalLayout = QtGui.QVBoxLayout() 26 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) 27 self.label = QtGui.QLabel(tombfile) 28 self.label.setObjectName(_fromUtf8("label")) 29 self.verticalLayout.addWidget(self.label) 30 self.horizontalLayout = QtGui.QHBoxLayout() 31 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) 32 self.tomb_line = QtGui.QLineEdit(tombfile) 33 self.tomb_line.setObjectName(_fromUtf8("tomb_line")) 34 self.horizontalLayout.addWidget(self.tomb_line) 35 self.tomb_browse = QtGui.QPushButton(tombfile) 36 self.tomb_browse.setObjectName(_fromUtf8("tomb_browse")) 37 self.horizontalLayout.addWidget(self.tomb_browse) 38 self.verticalLayout.addLayout(self.horizontalLayout) 39 self.verticalLayout_2.addLayout(self.verticalLayout) 40 spacerItem1 = QtGui.QSpacerItem(20, 276, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) 41 self.verticalLayout_2.addItem(spacerItem1) 42 43 self.retranslateUi(tombfile) 44 QtCore.QMetaObject.connectSlotsByName(tombfile) 45 46 def retranslateUi(self, tombfile): 47 tombfile.setWindowTitle(QtGui.QApplication.translate("tombfile", "WizardPage", None, QtGui.QApplication.UnicodeUTF8)) 48 tombfile.setTitle(QtGui.QApplication.translate("tombfile", "Choose tomb", None, QtGui.QApplication.UnicodeUTF8)) 49 self.label.setText(QtGui.QApplication.translate("tombfile", "Choose a tomb file on your filesystem", None, QtGui.QApplication.UnicodeUTF8)) 50 self.tomb_line.setPlaceholderText(QtGui.QApplication.translate("tombfile", "/path/to/your.tomb", None, QtGui.QApplication.UnicodeUTF8)) 51 self.tomb_browse.setText(QtGui.QApplication.translate("tombfile", "Browse", None, QtGui.QApplication.UnicodeUTF8)) 52