Logo Search packages:      
Sourcecode: calibre version File versions  Download package

adding_ui.py

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/adding.ui'
#
# Created: Sat Sep  4 14:27:01 2010
#      by: PyQt4 UI code generator 4.7.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(1010, 339)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setWordWrap(True)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 0, 0, 1, 2)
        self.opt_read_file_metadata = QtGui.QCheckBox(Form)
        self.opt_read_file_metadata.setObjectName(_fromUtf8("opt_read_file_metadata"))
        self.gridLayout.addWidget(self.opt_read_file_metadata, 1, 0, 1, 1)
        self.opt_add_formats_to_existing = QtGui.QCheckBox(Form)
        self.opt_add_formats_to_existing.setObjectName(_fromUtf8("opt_add_formats_to_existing"))
        self.gridLayout.addWidget(self.opt_add_formats_to_existing, 2, 0, 1, 2)
        self.metadata_box = QtGui.QGroupBox(Form)
        self.metadata_box.setObjectName(_fromUtf8("metadata_box"))
        self.verticalLayout = QtGui.QVBoxLayout(self.metadata_box)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        spacerItem = QtGui.QSpacerItem(20, 363, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addWidget(self.metadata_box, 3, 0, 1, 2)
        self.opt_swap_author_names = QtGui.QCheckBox(Form)
        self.opt_swap_author_names.setObjectName(_fromUtf8("opt_swap_author_names"))
        self.gridLayout.addWidget(self.opt_swap_author_names, 1, 1, 1, 1)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_6.setText(_("Here you can control how calibre will read metadata from the files you add to it. calibre can either read metadata from the contents of the file, or from the filename."))
        self.opt_read_file_metadata.setText(_("Read metadata from &file contents rather than file name"))
        self.opt_add_formats_to_existing.setToolTip(_("If an existing book with a similar title and author is found that does not have the format being added, the format is added\n"
"to the existing book, instead of creating a new entry. If the existing book already has the format, then it is silently ignored.\n"
"\n"
"Title match ignores leading indefinite articles (\"the\", \"a\", \"an\"), punctuation, case, etc. Author match is exact."))
        self.opt_add_formats_to_existing.setText(_("If books with similar titles and authors found, &merge the new files automatically"))
        self.metadata_box.setTitle(_("&Configure metadata from file name"))
        self.opt_swap_author_names.setToolTip(_("Swap the firstname and lastname of the author. This affects only metadata read from file names."))
        self.opt_swap_author_names.setText(_("&Swap author firstname and lastname"))


Generated by  Doxygen 1.6.0   Back to index