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