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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/txt_input.ui'
#
# Created: Thu Jan  6 14:06:37 2011
#      by: PyQt4 UI code generator 4.8.2
#
# 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(518, 300)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.opt_paragraph_type = QtGui.QComboBox(Form)
        self.opt_paragraph_type.setObjectName(_fromUtf8("opt_paragraph_type"))
        self.gridLayout.addWidget(self.opt_paragraph_type, 0, 1, 1, 1)
        self.opt_preserve_spaces = QtGui.QCheckBox(Form)
        self.opt_preserve_spaces.setObjectName(_fromUtf8("opt_preserve_spaces"))
        self.gridLayout.addWidget(self.opt_preserve_spaces, 5, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 213, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 0, 1, 2)
        self.opt_formatting_type = QtGui.QComboBox(Form)
        self.opt_formatting_type.setObjectName(_fromUtf8("opt_formatting_type"))
        self.gridLayout.addWidget(self.opt_formatting_type, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setWordWrap(True)
        self.label.setOpenExternalLinks(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.opt_markdown_disable_toc = QtGui.QCheckBox(self.groupBox)
        self.opt_markdown_disable_toc.setObjectName(_fromUtf8("opt_markdown_disable_toc"))
        self.verticalLayout.addWidget(self.opt_markdown_disable_toc)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 2, 2)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_2.setText(_("Paragraph style:"))
        self.opt_preserve_spaces.setText(_("Preserve &spaces"))
        self.label_3.setText(_("Formatting style:"))
        self.groupBox.setTitle(_("Markdown Options"))
        self.label.setText(_("<p>Markdown is a simple markup language for text files, that allows for advanced formatting. To learn more visit <a href=\"http://daringfireball.net/projects/markdown\">markdown</a>."))
        self.opt_markdown_disable_toc.setText(_("Do not insert Table of Contents into output text when using markdown"))

