home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1214 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  3.4 KB  |  79 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. try:
  7.     _fromUtf8 = QtCore.QString.fromUtf8
  8. except AttributeError:
  9.     
  10.     _fromUtf8 = lambda s: s
  11.  
  12.  
  13. class Ui_Form(object):
  14.     
  15.     def setupUi(self, Form):
  16.         Form.setObjectName(_fromUtf8('Form'))
  17.         Form.resize(521, 331)
  18.         self.gridLayout = QtGui.QGridLayout(Form)
  19.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  20.         self.label = QtGui.QLabel(Form)
  21.         self.label.setObjectName(_fromUtf8('label'))
  22.         self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
  23.         self.opt_toc_title = QtGui.QLineEdit(Form)
  24.         self.opt_toc_title.setObjectName(_fromUtf8('opt_toc_title'))
  25.         self.gridLayout.addWidget(self.opt_toc_title, 1, 1, 1, 1)
  26.         self.opt_rescale_images = QtGui.QCheckBox(Form)
  27.         self.opt_rescale_images.setObjectName(_fromUtf8('opt_rescale_images'))
  28.         self.gridLayout.addWidget(self.opt_rescale_images, 2, 0, 1, 2)
  29.         self.opt_prefer_author_sort = QtGui.QCheckBox(Form)
  30.         self.opt_prefer_author_sort.setObjectName(_fromUtf8('opt_prefer_author_sort'))
  31.         self.gridLayout.addWidget(self.opt_prefer_author_sort, 3, 0, 1, 2)
  32.         self.opt_dont_compress = QtGui.QCheckBox(Form)
  33.         self.opt_dont_compress.setObjectName(_fromUtf8('opt_dont_compress'))
  34.         self.gridLayout.addWidget(self.opt_dont_compress, 4, 0, 1, 1)
  35.         self.opt_no_inline_toc = QtGui.QCheckBox(Form)
  36.         self.opt_no_inline_toc.setObjectName(_fromUtf8('opt_no_inline_toc'))
  37.         self.gridLayout.addWidget(self.opt_no_inline_toc, 0, 0, 1, 1)
  38.         self.groupBox = QtGui.QGroupBox(Form)
  39.         self.groupBox.setObjectName(_fromUtf8('groupBox'))
  40.         self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
  41.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  42.         self.label_2 = QtGui.QLabel(self.groupBox)
  43.         self.label_2.setObjectName(_fromUtf8('label_2'))
  44.         self.verticalLayout.addWidget(self.label_2)
  45.         self.opt_masthead_font = QtGui.QComboBox(self.groupBox)
  46.         self.opt_masthead_font.setObjectName(_fromUtf8('opt_masthead_font'))
  47.         self.verticalLayout.addWidget(self.opt_masthead_font)
  48.         self.horizontalLayout = QtGui.QHBoxLayout()
  49.         self.horizontalLayout.setObjectName(_fromUtf8('horizontalLayout'))
  50.         self.label_3 = QtGui.QLabel(self.groupBox)
  51.         self.label_3.setObjectName(_fromUtf8('label_3'))
  52.         self.horizontalLayout.addWidget(self.label_3)
  53.         self.opt_personal_doc = QtGui.QLineEdit(self.groupBox)
  54.         self.opt_personal_doc.setObjectName(_fromUtf8('opt_personal_doc'))
  55.         self.horizontalLayout.addWidget(self.opt_personal_doc)
  56.         self.verticalLayout.addLayout(self.horizontalLayout)
  57.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  58.         self.verticalLayout.addItem(spacerItem)
  59.         self.gridLayout.addWidget(self.groupBox, 5, 0, 1, 2)
  60.         spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  61.         self.gridLayout.addItem(spacerItem1, 6, 0, 1, 1)
  62.         self.label.setBuddy(self.opt_toc_title)
  63.         self.retranslateUi(Form)
  64.         QtCore.QMetaObject.connectSlotsByName(Form)
  65.  
  66.     
  67.     def retranslateUi(self, Form):
  68.         Form.setWindowTitle(_('Form'))
  69.         self.label.setText(_('&Title for Table of Contents:'))
  70.         self.opt_rescale_images.setText(_('Rescale images for &Palm devices'))
  71.         self.opt_prefer_author_sort.setText(_('Use author &sort for author'))
  72.         self.opt_dont_compress.setText(_('Disable compression of the file contents'))
  73.         self.opt_no_inline_toc.setText(_('Do not add Table of Contents to book'))
  74.         self.groupBox.setTitle(_('Kindle options'))
  75.         self.label_2.setText(_('Periodical masthead font:'))
  76.         self.label_3.setText(_('Personal Doc tag:'))
  77.  
  78.  
  79.