home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1198 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  1.9 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.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_paper_size = QtGui.QComboBox(Form)
  17.         self.opt_paper_size.setObjectName('opt_paper_size')
  18.         self.gridLayout.addWidget(self.opt_paper_size, 0, 1, 1, 1)
  19.         self.label_2 = QtGui.QLabel(Form)
  20.         self.label_2.setObjectName('label_2')
  21.         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
  22.         self.opt_orientation = QtGui.QComboBox(Form)
  23.         self.opt_orientation.setObjectName('opt_orientation')
  24.         self.gridLayout.addWidget(self.opt_orientation, 1, 1, 1, 1)
  25.         spacerItem = QtGui.QSpacerItem(20, 213, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  26.         self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
  27.         self.opt_preserve_cover_aspect_ratio = QtGui.QCheckBox(Form)
  28.         self.opt_preserve_cover_aspect_ratio.setObjectName('opt_preserve_cover_aspect_ratio')
  29.         self.gridLayout.addWidget(self.opt_preserve_cover_aspect_ratio, 2, 0, 1, 2)
  30.         self.label.setBuddy(self.opt_paper_size)
  31.         self.label_2.setBuddy(self.opt_orientation)
  32.         self.retranslateUi(Form)
  33.         QtCore.QMetaObject.connectSlotsByName(Form)
  34.  
  35.     
  36.     def retranslateUi(self, Form):
  37.         Form.setWindowTitle(_('Form'))
  38.         self.label.setText(_('&Paper Size:'))
  39.         self.label_2.setText(_('&Orientation:'))
  40.         self.opt_preserve_cover_aspect_ratio.setText(_('Preserve &aspect ratio of cover'))
  41.  
  42.  
  43.