home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1224 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.2 KB  |  50 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_paper_size = QtGui.QComboBox(Form)
  24.         self.opt_paper_size.setObjectName(_fromUtf8('opt_paper_size'))
  25.         self.gridLayout.addWidget(self.opt_paper_size, 0, 1, 1, 1)
  26.         self.label_2 = QtGui.QLabel(Form)
  27.         self.label_2.setObjectName(_fromUtf8('label_2'))
  28.         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
  29.         self.opt_orientation = QtGui.QComboBox(Form)
  30.         self.opt_orientation.setObjectName(_fromUtf8('opt_orientation'))
  31.         self.gridLayout.addWidget(self.opt_orientation, 1, 1, 1, 1)
  32.         spacerItem = QtGui.QSpacerItem(20, 213, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  33.         self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
  34.         self.opt_preserve_cover_aspect_ratio = QtGui.QCheckBox(Form)
  35.         self.opt_preserve_cover_aspect_ratio.setObjectName(_fromUtf8('opt_preserve_cover_aspect_ratio'))
  36.         self.gridLayout.addWidget(self.opt_preserve_cover_aspect_ratio, 2, 0, 1, 2)
  37.         self.label.setBuddy(self.opt_paper_size)
  38.         self.label_2.setBuddy(self.opt_orientation)
  39.         self.retranslateUi(Form)
  40.         QtCore.QMetaObject.connectSlotsByName(Form)
  41.  
  42.     
  43.     def retranslateUi(self, Form):
  44.         Form.setWindowTitle(_('Form'))
  45.         self.label.setText(_('&Paper Size:'))
  46.         self.label_2.setText(_('&Orientation:'))
  47.         self.opt_preserve_cover_aspect_ratio.setText(_('Preserve &aspect ratio of cover'))
  48.  
  49.  
  50.