home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1208 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.8 KB  |  66 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_Form(object):
  7.     
  8.     def setupUi(self, Form):
  9.         Form.setObjectName('Form')
  10.         Form.resize(436, 382)
  11.         self.gridLayout = QtGui.QGridLayout(Form)
  12.         self.gridLayout.setObjectName('gridLayout')
  13.         self.opt_no_chapters_in_toc = QtGui.QCheckBox(Form)
  14.         self.opt_no_chapters_in_toc.setObjectName('opt_no_chapters_in_toc')
  15.         self.gridLayout.addWidget(self.opt_no_chapters_in_toc, 1, 0, 1, 2)
  16.         self.label_10 = QtGui.QLabel(Form)
  17.         self.label_10.setObjectName('label_10')
  18.         self.gridLayout.addWidget(self.label_10, 2, 0, 1, 1)
  19.         self.opt_max_toc_links = QtGui.QSpinBox(Form)
  20.         self.opt_max_toc_links.setMaximum(10000)
  21.         self.opt_max_toc_links.setObjectName('opt_max_toc_links')
  22.         self.gridLayout.addWidget(self.opt_max_toc_links, 2, 1, 1, 1)
  23.         self.label_16 = QtGui.QLabel(Form)
  24.         self.label_16.setObjectName('label_16')
  25.         self.gridLayout.addWidget(self.label_16, 3, 0, 1, 1)
  26.         self.opt_toc_threshold = QtGui.QSpinBox(Form)
  27.         self.opt_toc_threshold.setObjectName('opt_toc_threshold')
  28.         self.gridLayout.addWidget(self.opt_toc_threshold, 3, 1, 1, 1)
  29.         self.opt_use_auto_toc = QtGui.QCheckBox(Form)
  30.         self.opt_use_auto_toc.setObjectName('opt_use_auto_toc')
  31.         self.gridLayout.addWidget(self.opt_use_auto_toc, 0, 0, 1, 2)
  32.         self.label = QtGui.QLabel(Form)
  33.         self.label.setObjectName('label')
  34.         self.gridLayout.addWidget(self.label, 4, 0, 1, 1)
  35.         self.opt_toc_filter = QtGui.QLineEdit(Form)
  36.         self.opt_toc_filter.setObjectName('opt_toc_filter')
  37.         self.gridLayout.addWidget(self.opt_toc_filter, 4, 1, 1, 1)
  38.         self.opt_level1_toc = XPathEdit(Form)
  39.         self.opt_level1_toc.setObjectName('opt_level1_toc')
  40.         self.gridLayout.addWidget(self.opt_level1_toc, 5, 0, 1, 2)
  41.         self.opt_level2_toc = XPathEdit(Form)
  42.         self.opt_level2_toc.setObjectName('opt_level2_toc')
  43.         self.gridLayout.addWidget(self.opt_level2_toc, 6, 0, 1, 2)
  44.         self.opt_level3_toc = XPathEdit(Form)
  45.         self.opt_level3_toc.setObjectName('opt_level3_toc')
  46.         self.gridLayout.addWidget(self.opt_level3_toc, 7, 0, 1, 2)
  47.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  48.         self.gridLayout.addItem(spacerItem, 8, 0, 1, 1)
  49.         self.label_10.setBuddy(self.opt_max_toc_links)
  50.         self.label_16.setBuddy(self.opt_toc_threshold)
  51.         self.label.setBuddy(self.opt_toc_filter)
  52.         self.retranslateUi(Form)
  53.         QtCore.QMetaObject.connectSlotsByName(Form)
  54.  
  55.     
  56.     def retranslateUi(self, Form):
  57.         Form.setWindowTitle(_('Form'))
  58.         self.opt_no_chapters_in_toc.setText(_('Do not add &detected chapters to the Table of Contents'))
  59.         self.label_10.setText(_('Number of &links to add to Table of Contents'))
  60.         self.label_16.setText(_('Chapter &threshold'))
  61.         self.opt_use_auto_toc.setText(_('&Force use of auto-generated Table of Contents'))
  62.         self.label.setText(_('TOC &Filter:'))
  63.  
  64.  
  65. from calibre.gui2.convert.xpath_wizard import XPathEdit
  66.