home *** CD-ROM | disk | FTP | other *** search
Wrap
# Source Generated with Decompyle++ # File: in.pyc (Python 2.6) from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except AttributeError: _fromUtf8 = lambda s: s class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8('Dialog')) Dialog.resize(678, 430) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('add_book.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(Dialog) self.gridLayout.setObjectName(_fromUtf8('gridLayout')) self.isbn_box = QtGui.QPlainTextEdit(Dialog) self.isbn_box.setObjectName(_fromUtf8('isbn_box')) self.gridLayout.addWidget(self.isbn_box, 0, 0, 1, 1) self.label = QtGui.QLabel(Dialog) self.label.setWordWrap(True) self.label.setObjectName(_fromUtf8('label')) self.gridLayout.addWidget(self.label, 0, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8('buttonBox')) self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2) self.paste_button = QtGui.QPushButton(Dialog) self.paste_button.setObjectName(_fromUtf8('paste_button')) self.gridLayout.addWidget(self.paste_button, 1, 0, 1, 1) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('accepted()')), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('rejected()')), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_('Add books by ISBN')) self.label.setText(_('<p>Enter a list of ISBNs in the box to the left, one per line. calibre will automatically create entries for books based on the ISBN and download metadata and covers for them.<p>Any invalid ISBNs in the list will be ignored.')) self.paste_button.setText(_('&Paste from clipboard'))