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

catalog_bibtex_ui.py

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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/catalog/catalog_bibtex.ui'
#
# Created: Fri Jul 16 10:06:31 2010
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(579, 411)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_5 = QtGui.QLabel(Form)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 1, 1, 1)
        self.bibfile_enc = QtGui.QComboBox(Form)
        self.bibfile_enc.setObjectName("bibfile_enc")
        self.bibfile_enc.addItem("")
        self.bibfile_enc.setItemText(0, "utf-8")
        self.bibfile_enc.addItem("")
        self.bibfile_enc.setItemText(1, "cp1252")
        self.bibfile_enc.addItem("")
        self.gridLayout.addWidget(self.bibfile_enc, 1, 0, 1, 1)
        self.db_fields = QtGui.QListWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.db_fields.sizePolicy().hasHeightForWidth())
        self.db_fields.setSizePolicy(sizePolicy)
        self.db_fields.setToolTip("")
        self.db_fields.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.db_fields.setObjectName("db_fields")
        self.gridLayout.addWidget(self.db_fields, 1, 1, 12, 1)
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.bibfile_enctag = QtGui.QComboBox(Form)
        self.bibfile_enctag.setObjectName("bibfile_enctag")
        self.bibfile_enctag.addItem("")
        self.bibfile_enctag.addItem("")
        self.bibfile_enctag.addItem("")
        self.bibfile_enctag.addItem("")
        self.gridLayout.addWidget(self.bibfile_enctag, 3, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 60, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.bib_entry = QtGui.QComboBox(Form)
        self.bib_entry.setObjectName("bib_entry")
        self.bib_entry.addItem("")
        self.bib_entry.addItem("")
        self.bib_entry.addItem("")
        self.gridLayout.addWidget(self.bib_entry, 6, 0, 1, 1)
        self.impcit = QtGui.QCheckBox(Form)
        self.impcit.setObjectName("impcit")
        self.gridLayout.addWidget(self.impcit, 7, 0, 1, 1)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 8, 0, 1, 1)
        self.bib_cit = QtGui.QLineEdit(Form)
        self.bib_cit.setObjectName("bib_cit")
        self.gridLayout.addWidget(self.bib_cit, 10, 0, 1, 1)
        self.label_4 = QtGui.QLabel(Form)
        self.label_4.setScaledContents(False)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 11, 0, 1, 1)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label.setText(_("Bib file encoding:"))
        self.label_5.setText(_("Fields to include in output:"))
        self.bibfile_enc.setItemText(2, _("ascii/LaTeX"))
        self.label_2.setText(_("Encoding configuration (change if you have errors) :"))
        self.bibfile_enctag.setItemText(0, _("strict"))
        self.bibfile_enctag.setItemText(1, _("replace"))
        self.bibfile_enctag.setItemText(2, _("ignore"))
        self.bibfile_enctag.setItemText(3, _("backslashreplace"))
        self.label_6.setText(_("BibTeX entry type:"))
        self.bib_entry.setItemText(0, _("mixed"))
        self.bib_entry.setItemText(1, _("misc"))
        self.bib_entry.setItemText(2, _("book"))
        self.impcit.setText(_("Create a citation tag?"))
        self.label_3.setText(_("Expression to form the BibTeX citation tag:"))
        self.label_4.setText(_("Some explanation about this template:\n"
" -The fields availables are \'author_sort\', \'authors\', \'id\',\n"
"    \'isbn\', \'pubdate\', \'publisher\', \'series_index\', \'series\',\n"
"   \'tags\', \'timestamp\', \'title\', \'uuid\'\n"
" -For list types ie authors and tags, only the first element\n"
"   wil be selected.\n"
" -For time field, only the date will be used. "))


Generated by  Doxygen 1.6.0   Back to index