home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1240 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.4 KB  |  54 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(400, 300)
  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, 0, 0, 1, 1)
  23.         self.opt_newline = QtGui.QComboBox(Form)
  24.         self.opt_newline.setObjectName(_fromUtf8('opt_newline'))
  25.         self.gridLayout.addWidget(self.opt_newline, 0, 1, 1, 1)
  26.         spacerItem = QtGui.QSpacerItem(20, 246, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  27.         self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)
  28.         self.opt_inline_toc = QtGui.QCheckBox(Form)
  29.         self.opt_inline_toc.setObjectName(_fromUtf8('opt_inline_toc'))
  30.         self.gridLayout.addWidget(self.opt_inline_toc, 3, 0, 1, 2)
  31.         self.opt_max_line_length = QtGui.QSpinBox(Form)
  32.         self.opt_max_line_length.setObjectName(_fromUtf8('opt_max_line_length'))
  33.         self.gridLayout.addWidget(self.opt_max_line_length, 1, 1, 1, 1)
  34.         self.label_2 = QtGui.QLabel(Form)
  35.         self.label_2.setObjectName(_fromUtf8('label_2'))
  36.         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
  37.         self.opt_force_max_line_length = QtGui.QCheckBox(Form)
  38.         self.opt_force_max_line_length.setObjectName(_fromUtf8('opt_force_max_line_length'))
  39.         self.gridLayout.addWidget(self.opt_force_max_line_length, 2, 0, 1, 2)
  40.         self.label.setBuddy(self.opt_newline)
  41.         self.label_2.setBuddy(self.opt_max_line_length)
  42.         self.retranslateUi(Form)
  43.         QtCore.QMetaObject.connectSlotsByName(Form)
  44.  
  45.     
  46.     def retranslateUi(self, Form):
  47.         Form.setWindowTitle(_('Form'))
  48.         self.label.setText(_('&Line ending style:'))
  49.         self.opt_inline_toc.setText(_('&Inline TOC'))
  50.         self.label_2.setText(_('&Maximum line length:'))
  51.         self.opt_force_max_line_length.setText(_('Force maximum line length'))
  52.  
  53.  
  54.