home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1216 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  4.7 KB  |  132 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(572, 476)
  18.         self.verticalLayout_4 = QtGui.QVBoxLayout(Form)
  19.         self.verticalLayout_4.setObjectName(_fromUtf8('verticalLayout_4'))
  20.         self.horizontalLayout_2 = QtGui.QHBoxLayout()
  21.         self.horizontalLayout_2.setObjectName(_fromUtf8('horizontalLayout_2'))
  22.         self.verticalLayout_2 = QtGui.QVBoxLayout()
  23.         self.verticalLayout_2.setObjectName(_fromUtf8('verticalLayout_2'))
  24.         self.label = QtGui.QLabel(Form)
  25.         self.label.setObjectName(_fromUtf8('label'))
  26.         self.verticalLayout_2.addWidget(self.label)
  27.         self.opt_output_profile = QtGui.QListView(Form)
  28.         self.opt_output_profile.setObjectName(_fromUtf8('opt_output_profile'))
  29.         self.verticalLayout_2.addWidget(self.opt_output_profile)
  30.         self.horizontalLayout_2.addLayout(self.verticalLayout_2)
  31.         self.groupBox = QtGui.QGroupBox(Form)
  32.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
  33.         sizePolicy.setHorizontalStretch(4)
  34.         sizePolicy.setVerticalStretch(0)
  35.         sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
  36.         self.groupBox.setSizePolicy(sizePolicy)
  37.         self.groupBox.setObjectName(_fromUtf8('groupBox'))
  38.         self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
  39.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  40.         self.profile_description = QtGui.QLabel(self.groupBox)
  41.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
  42.         sizePolicy.setHorizontalStretch(4)
  43.         sizePolicy.setVerticalStretch(0)
  44.         sizePolicy.setHeightForWidth(self.profile_description.sizePolicy().hasHeightForWidth())
  45.         self.profile_description.setSizePolicy(sizePolicy)
  46.         self.profile_description.setText(_fromUtf8(''))
  47.         self.profile_description.setWordWrap(True)
  48.         self.profile_description.setObjectName(_fromUtf8('profile_description'))
  49.         self.verticalLayout.addWidget(self.profile_description)
  50.         self.horizontalLayout_2.addWidget(self.groupBox)
  51.         self.verticalLayout_4.addLayout(self.horizontalLayout_2)
  52.         self.horizontalLayout = QtGui.QHBoxLayout()
  53.         self.horizontalLayout.setObjectName(_fromUtf8('horizontalLayout'))
  54.         self.verticalLayout_3 = QtGui.QVBoxLayout()
  55.         self.verticalLayout_3.setObjectName(_fromUtf8('verticalLayout_3'))
  56.         self.label_2 = QtGui.QLabel(Form)
  57.         self.label_2.setObjectName(_fromUtf8('label_2'))
  58.         self.verticalLayout_3.addWidget(self.label_2)
  59.         self.opt_input_profile = QtGui.QListView(Form)
  60.         self.opt_input_profile.setObjectName(_fromUtf8('opt_input_profile'))
  61.         self.verticalLayout_3.addWidget(self.opt_input_profile)
  62.         self.horizontalLayout.addLayout(self.verticalLayout_3)
  63.         self.groupBox_2 = QtGui.QGroupBox(Form)
  64.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
  65.         sizePolicy.setHorizontalStretch(4)
  66.         sizePolicy.setVerticalStretch(0)
  67.         sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
  68.         self.groupBox_2.setSizePolicy(sizePolicy)
  69.         self.groupBox_2.setObjectName(_fromUtf8('groupBox_2'))
  70.         self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
  71.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  72.         self.label_3 = QtGui.QLabel(self.groupBox_2)
  73.         self.label_3.setObjectName(_fromUtf8('label_3'))
  74.         self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
  75.         self.opt_margin_left = QtGui.QDoubleSpinBox(self.groupBox_2)
  76.         self.opt_margin_left.setDecimals(1)
  77.         self.opt_margin_left.setMaximum(200)
  78.         self.opt_margin_left.setObjectName(_fromUtf8('opt_margin_left'))
  79.         self.gridLayout.addWidget(self.opt_margin_left, 0, 1, 1, 1)
  80.         self.label_4 = QtGui.QLabel(self.groupBox_2)
  81.         self.label_4.setObjectName(_fromUtf8('label_4'))
  82.         self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
  83.         self.opt_margin_top = QtGui.QDoubleSpinBox(self.groupBox_2)
  84.         self.opt_margin_top.setDecimals(1)
  85.         self.opt_margin_top.setMaximum(200)
  86.         self.opt_margin_top.setObjectName(_fromUtf8('opt_margin_top'))
  87.         self.gridLayout.addWidget(self.opt_margin_top, 1, 1, 1, 1)
  88.         self.label_5 = QtGui.QLabel(self.groupBox_2)
  89.         self.label_5.setObjectName(_fromUtf8('label_5'))
  90.         self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
  91.         self.opt_margin_right = QtGui.QDoubleSpinBox(self.groupBox_2)
  92.         self.opt_margin_right.setDecimals(1)
  93.         self.opt_margin_right.setMaximum(200)
  94.         self.opt_margin_right.setObjectName(_fromUtf8('opt_margin_right'))
  95.         self.gridLayout.addWidget(self.opt_margin_right, 2, 1, 1, 1)
  96.         self.label_6 = QtGui.QLabel(self.groupBox_2)
  97.         self.label_6.setObjectName(_fromUtf8('label_6'))
  98.         self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
  99.         self.opt_margin_bottom = QtGui.QDoubleSpinBox(self.groupBox_2)
  100.         self.opt_margin_bottom.setDecimals(1)
  101.         self.opt_margin_bottom.setMaximum(200)
  102.         self.opt_margin_bottom.setObjectName(_fromUtf8('opt_margin_bottom'))
  103.         self.gridLayout.addWidget(self.opt_margin_bottom, 3, 1, 1, 1)
  104.         self.horizontalLayout.addWidget(self.groupBox_2)
  105.         self.verticalLayout_4.addLayout(self.horizontalLayout)
  106.         self.label.setBuddy(self.opt_output_profile)
  107.         self.label_2.setBuddy(self.opt_input_profile)
  108.         self.label_3.setBuddy(self.opt_margin_left)
  109.         self.label_4.setBuddy(self.opt_margin_top)
  110.         self.label_5.setBuddy(self.opt_margin_right)
  111.         self.label_6.setBuddy(self.opt_margin_bottom)
  112.         self.retranslateUi(Form)
  113.         QtCore.QMetaObject.connectSlotsByName(Form)
  114.  
  115.     
  116.     def retranslateUi(self, Form):
  117.         Form.setWindowTitle(_('Form'))
  118.         self.label.setText(_('&Output profile:'))
  119.         self.groupBox.setTitle(_('Profile description'))
  120.         self.label_2.setText(_('&Input profile:'))
  121.         self.groupBox_2.setTitle(_('Margins'))
  122.         self.label_3.setText(_('&Left:'))
  123.         self.opt_margin_left.setSuffix(_(' pt'))
  124.         self.label_4.setText(_('&Top:'))
  125.         self.opt_margin_top.setSuffix(_(' pt'))
  126.         self.label_5.setText(_('&Right:'))
  127.         self.opt_margin_right.setSuffix(_(' pt'))
  128.         self.label_6.setText(_('&Bottom:'))
  129.         self.opt_margin_bottom.setSuffix(_(' pt'))
  130.  
  131.  
  132.