home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1222 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.1 KB  |  45 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_2 = QtGui.QLabel(Form)
  21.         self.label_2.setObjectName(_fromUtf8('label_2'))
  22.         self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
  23.         spacerItem = QtGui.QSpacerItem(20, 213, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  24.         self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
  25.         self.opt_unwrap_factor = QtGui.QDoubleSpinBox(Form)
  26.         self.opt_unwrap_factor.setMaximum(1)
  27.         self.opt_unwrap_factor.setSingleStep(0.01)
  28.         self.opt_unwrap_factor.setProperty(_fromUtf8('value'), 0.45)
  29.         self.opt_unwrap_factor.setObjectName(_fromUtf8('opt_unwrap_factor'))
  30.         self.gridLayout.addWidget(self.opt_unwrap_factor, 0, 1, 1, 1)
  31.         self.opt_no_images = QtGui.QCheckBox(Form)
  32.         self.opt_no_images.setObjectName(_fromUtf8('opt_no_images'))
  33.         self.gridLayout.addWidget(self.opt_no_images, 1, 0, 1, 1)
  34.         self.label_2.setBuddy(self.opt_unwrap_factor)
  35.         self.retranslateUi(Form)
  36.         QtCore.QMetaObject.connectSlotsByName(Form)
  37.  
  38.     
  39.     def retranslateUi(self, Form):
  40.         Form.setWindowTitle(_('Form'))
  41.         self.label_2.setText(_('Line &Un-Wrapping Factor:'))
  42.         self.opt_no_images.setText(_('No &Images'))
  43.  
  44.  
  45.