home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1212 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.1 KB  |  47 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.gridLayout = QtGui.QGridLayout(Form)
  12.         self.gridLayout.setObjectName('gridLayout')
  13.         self.label = QtGui.QLabel(Form)
  14.         self.label.setObjectName('label')
  15.         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  16.         self.opt_newline = QtGui.QComboBox(Form)
  17.         self.opt_newline.setObjectName('opt_newline')
  18.         self.gridLayout.addWidget(self.opt_newline, 0, 1, 1, 1)
  19.         spacerItem = QtGui.QSpacerItem(20, 246, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  20.         self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)
  21.         self.opt_inline_toc = QtGui.QCheckBox(Form)
  22.         self.opt_inline_toc.setObjectName('opt_inline_toc')
  23.         self.gridLayout.addWidget(self.opt_inline_toc, 3, 0, 1, 2)
  24.         self.opt_max_line_length = QtGui.QSpinBox(Form)
  25.         self.opt_max_line_length.setObjectName('opt_max_line_length')
  26.         self.gridLayout.addWidget(self.opt_max_line_length, 1, 1, 1, 1)
  27.         self.label_2 = QtGui.QLabel(Form)
  28.         self.label_2.setObjectName('label_2')
  29.         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
  30.         self.opt_force_max_line_length = QtGui.QCheckBox(Form)
  31.         self.opt_force_max_line_length.setObjectName('opt_force_max_line_length')
  32.         self.gridLayout.addWidget(self.opt_force_max_line_length, 2, 0, 1, 2)
  33.         self.label.setBuddy(self.opt_newline)
  34.         self.label_2.setBuddy(self.opt_max_line_length)
  35.         self.retranslateUi(Form)
  36.         QtCore.QMetaObject.connectSlotsByName(Form)
  37.  
  38.     
  39.     def retranslateUi(self, Form):
  40.         Form.setWindowTitle(_('Form'))
  41.         self.label.setText(_('&Line ending style:'))
  42.         self.opt_inline_toc.setText(_('&Inline TOC'))
  43.         self.label_2.setText(_('&Maximum line length:'))
  44.         self.opt_force_max_line_length.setText(_('Force maximum line lenght'))
  45.  
  46.  
  47.