home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1247 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.2 KB  |  43 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(400, 300)
  11.         self.verticalLayout = QtGui.QVBoxLayout(Form)
  12.         self.verticalLayout.setObjectName('verticalLayout')
  13.         self.groupBox = QtGui.QGroupBox(Form)
  14.         self.groupBox.setObjectName('groupBox')
  15.         self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
  16.         self.gridLayout_2.setObjectName('gridLayout_2')
  17.         self.label_4 = QtGui.QLabel(self.groupBox)
  18.         self.label_4.setWordWrap(True)
  19.         self.label_4.setObjectName('label_4')
  20.         self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1)
  21.         self.label_5 = QtGui.QLabel(self.groupBox)
  22.         self.label_5.setObjectName('label_5')
  23.         self.gridLayout_2.addWidget(self.label_5, 2, 0, 1, 1)
  24.         self.template_variables = QtGui.QTextBrowser(self.groupBox)
  25.         self.template_variables.setObjectName('template_variables')
  26.         self.gridLayout_2.addWidget(self.template_variables, 3, 0, 1, 1)
  27.         self.opt_template = HistoryBox(self.groupBox)
  28.         self.opt_template.setObjectName('opt_template')
  29.         self.gridLayout_2.addWidget(self.opt_template, 1, 0, 1, 1)
  30.         self.verticalLayout.addWidget(self.groupBox)
  31.         self.retranslateUi(Form)
  32.         QtCore.QMetaObject.connectSlotsByName(Form)
  33.  
  34.     
  35.     def retranslateUi(self, Form):
  36.         Form.setWindowTitle(_('Form'))
  37.         self.groupBox.setTitle(_('Save &template'))
  38.         self.label_4.setText(_('By adjusting the template below, you can control what folders the files are saved in and what filenames they are given. You can use the / character to indicate sub-folders. Available metadata variables are described below. If a particular book does not have some metadata, the variable will be replaced by the empty string.'))
  39.         self.label_5.setText(_('Available variables:'))
  40.  
  41.  
  42. from calibre.gui2.dialogs.config.history import HistoryBox
  43.