home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1354 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  3.7 KB  |  89 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(723, 540)
  18.         self.verticalLayout = QtGui.QVBoxLayout(Form)
  19.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  20.         self.label_8 = QtGui.QLabel(Form)
  21.         self.label_8.setWordWrap(True)
  22.         self.label_8.setObjectName(_fromUtf8('label_8'))
  23.         self.verticalLayout.addWidget(self.label_8)
  24.         self.plugin_view = QtGui.QTreeView(Form)
  25.         self.plugin_view.setAlternatingRowColors(True)
  26.         self.plugin_view.setIconSize(QtCore.QSize(32, 32))
  27.         self.plugin_view.setAnimated(True)
  28.         self.plugin_view.setWordWrap(True)
  29.         self.plugin_view.setHeaderHidden(True)
  30.         self.plugin_view.setObjectName(_fromUtf8('plugin_view'))
  31.         self.verticalLayout.addWidget(self.plugin_view)
  32.         self.horizontalLayout_6 = QtGui.QHBoxLayout()
  33.         self.horizontalLayout_6.setObjectName(_fromUtf8('horizontalLayout_6'))
  34.         self.toggle_plugin_button = QtGui.QPushButton(Form)
  35.         self.toggle_plugin_button.setObjectName(_fromUtf8('toggle_plugin_button'))
  36.         self.horizontalLayout_6.addWidget(self.toggle_plugin_button)
  37.         self.customize_plugin_button = QtGui.QPushButton(Form)
  38.         self.customize_plugin_button.setObjectName(_fromUtf8('customize_plugin_button'))
  39.         self.horizontalLayout_6.addWidget(self.customize_plugin_button)
  40.         self.remove_plugin_button = QtGui.QPushButton(Form)
  41.         self.remove_plugin_button.setObjectName(_fromUtf8('remove_plugin_button'))
  42.         self.horizontalLayout_6.addWidget(self.remove_plugin_button)
  43.         self.verticalLayout.addLayout(self.horizontalLayout_6)
  44.         self.groupBox_4 = QtGui.QGroupBox(Form)
  45.         self.groupBox_4.setObjectName(_fromUtf8('groupBox_4'))
  46.         self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_4)
  47.         self.verticalLayout_5.setObjectName(_fromUtf8('verticalLayout_5'))
  48.         self.horizontalLayout_5 = QtGui.QHBoxLayout()
  49.         self.horizontalLayout_5.setObjectName(_fromUtf8('horizontalLayout_5'))
  50.         self.label_14 = QtGui.QLabel(self.groupBox_4)
  51.         self.label_14.setObjectName(_fromUtf8('label_14'))
  52.         self.horizontalLayout_5.addWidget(self.label_14)
  53.         self.plugin_path = QtGui.QLineEdit(self.groupBox_4)
  54.         self.plugin_path.setObjectName(_fromUtf8('plugin_path'))
  55.         self.horizontalLayout_5.addWidget(self.plugin_path)
  56.         self.button_plugin_browse = QtGui.QToolButton(self.groupBox_4)
  57.         icon = QtGui.QIcon()
  58.         icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('document_open.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  59.         self.button_plugin_browse.setIcon(icon)
  60.         self.button_plugin_browse.setObjectName(_fromUtf8('button_plugin_browse'))
  61.         self.horizontalLayout_5.addWidget(self.button_plugin_browse)
  62.         self.verticalLayout_5.addLayout(self.horizontalLayout_5)
  63.         self.horizontalLayout_4 = QtGui.QHBoxLayout()
  64.         self.horizontalLayout_4.setObjectName(_fromUtf8('horizontalLayout_4'))
  65.         spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
  66.         self.horizontalLayout_4.addItem(spacerItem)
  67.         self.button_plugin_add = QtGui.QPushButton(self.groupBox_4)
  68.         self.button_plugin_add.setObjectName(_fromUtf8('button_plugin_add'))
  69.         self.horizontalLayout_4.addWidget(self.button_plugin_add)
  70.         self.verticalLayout_5.addLayout(self.horizontalLayout_4)
  71.         self.verticalLayout.addWidget(self.groupBox_4)
  72.         self.label_14.setBuddy(self.plugin_path)
  73.         self.retranslateUi(Form)
  74.         QtCore.QMetaObject.connectSlotsByName(Form)
  75.  
  76.     
  77.     def retranslateUi(self, Form):
  78.         Form.setWindowTitle(_('Form'))
  79.         self.label_8.setText(_('Here you can customize the behavior of Calibre by controlling what plugins it uses.'))
  80.         self.toggle_plugin_button.setText(_('Enable/&Disable plugin'))
  81.         self.customize_plugin_button.setText(_('&Customize plugin'))
  82.         self.remove_plugin_button.setText(_('&Remove plugin'))
  83.         self.groupBox_4.setTitle(_('Add new plugin'))
  84.         self.label_14.setText(_('Plugin &file:'))
  85.         self.button_plugin_browse.setText(_('...'))
  86.         self.button_plugin_add.setText(_('&Add'))
  87.  
  88.  
  89.