home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1347 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  5.2 KB  |  121 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(670, 385)
  18.         self.gridLayout_2 = QtGui.QGridLayout(Form)
  19.         self.gridLayout_2.setObjectName(_fromUtf8('gridLayout_2'))
  20.         self.label_17 = QtGui.QLabel(Form)
  21.         self.label_17.setObjectName(_fromUtf8('label_17'))
  22.         self.gridLayout_2.addWidget(self.label_17, 0, 0, 1, 1)
  23.         self.opt_gui_layout = QtGui.QComboBox(Form)
  24.         self.opt_gui_layout.setMaximumSize(QtCore.QSize(250, 16777215))
  25.         self.opt_gui_layout.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
  26.         self.opt_gui_layout.setMinimumContentsLength(20)
  27.         self.opt_gui_layout.setObjectName(_fromUtf8('opt_gui_layout'))
  28.         self.gridLayout_2.addWidget(self.opt_gui_layout, 0, 1, 1, 1)
  29.         self.label_6 = QtGui.QLabel(Form)
  30.         self.label_6.setObjectName(_fromUtf8('label_6'))
  31.         self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
  32.         self.opt_cover_flow_queue_length = QtGui.QSpinBox(Form)
  33.         self.opt_cover_flow_queue_length.setObjectName(_fromUtf8('opt_cover_flow_queue_length'))
  34.         self.gridLayout_2.addWidget(self.opt_cover_flow_queue_length, 1, 1, 1, 1)
  35.         self.label_7 = QtGui.QLabel(Form)
  36.         self.label_7.setObjectName(_fromUtf8('label_7'))
  37.         self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
  38.         self.opt_language = QtGui.QComboBox(Form)
  39.         self.opt_language.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
  40.         self.opt_language.setMinimumContentsLength(20)
  41.         self.opt_language.setObjectName(_fromUtf8('opt_language'))
  42.         self.gridLayout_2.addWidget(self.opt_language, 2, 1, 1, 1)
  43.         self.opt_show_avg_rating = QtGui.QCheckBox(Form)
  44.         self.opt_show_avg_rating.setChecked(True)
  45.         self.opt_show_avg_rating.setObjectName(_fromUtf8('opt_show_avg_rating'))
  46.         self.gridLayout_2.addWidget(self.opt_show_avg_rating, 3, 0, 1, 1)
  47.         self.opt_disable_animations = QtGui.QCheckBox(Form)
  48.         self.opt_disable_animations.setObjectName(_fromUtf8('opt_disable_animations'))
  49.         self.gridLayout_2.addWidget(self.opt_disable_animations, 3, 1, 1, 1)
  50.         self.opt_systray_icon = QtGui.QCheckBox(Form)
  51.         self.opt_systray_icon.setObjectName(_fromUtf8('opt_systray_icon'))
  52.         self.gridLayout_2.addWidget(self.opt_systray_icon, 4, 0, 1, 1)
  53.         self.opt_show_splash_screen = QtGui.QCheckBox(Form)
  54.         self.opt_show_splash_screen.setObjectName(_fromUtf8('opt_show_splash_screen'))
  55.         self.gridLayout_2.addWidget(self.opt_show_splash_screen, 4, 1, 1, 1)
  56.         self.opt_disable_tray_notification = QtGui.QCheckBox(Form)
  57.         self.opt_disable_tray_notification.setObjectName(_fromUtf8('opt_disable_tray_notification'))
  58.         self.gridLayout_2.addWidget(self.opt_disable_tray_notification, 5, 0, 1, 1)
  59.         self.opt_use_roman_numerals_for_series_number = QtGui.QCheckBox(Form)
  60.         self.opt_use_roman_numerals_for_series_number.setChecked(True)
  61.         self.opt_use_roman_numerals_for_series_number.setObjectName(_fromUtf8('opt_use_roman_numerals_for_series_number'))
  62.         self.gridLayout_2.addWidget(self.opt_use_roman_numerals_for_series_number, 5, 1, 1, 1)
  63.         self.opt_separate_cover_flow = QtGui.QCheckBox(Form)
  64.         self.opt_separate_cover_flow.setObjectName(_fromUtf8('opt_separate_cover_flow'))
  65.         self.gridLayout_2.addWidget(self.opt_separate_cover_flow, 6, 0, 1, 1)
  66.         self.opt_search_as_you_type = QtGui.QCheckBox(Form)
  67.         self.opt_search_as_you_type.setChecked(True)
  68.         self.opt_search_as_you_type.setObjectName(_fromUtf8('opt_search_as_you_type'))
  69.         self.gridLayout_2.addWidget(self.opt_search_as_you_type, 6, 1, 1, 1)
  70.         self.groupBox_2 = QtGui.QGroupBox(Form)
  71.         self.groupBox_2.setObjectName(_fromUtf8('groupBox_2'))
  72.         self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
  73.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  74.         self.opt_toolbar_icon_size = QtGui.QComboBox(self.groupBox_2)
  75.         self.opt_toolbar_icon_size.setObjectName(_fromUtf8('opt_toolbar_icon_size'))
  76.         self.gridLayout.addWidget(self.opt_toolbar_icon_size, 0, 1, 1, 1)
  77.         self.label = QtGui.QLabel(self.groupBox_2)
  78.         self.label.setObjectName(_fromUtf8('label'))
  79.         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  80.         self.opt_toolbar_text = QtGui.QComboBox(self.groupBox_2)
  81.         self.opt_toolbar_text.setObjectName(_fromUtf8('opt_toolbar_text'))
  82.         self.gridLayout.addWidget(self.opt_toolbar_text, 1, 1, 1, 1)
  83.         self.label_4 = QtGui.QLabel(self.groupBox_2)
  84.         self.label_4.setObjectName(_fromUtf8('label_4'))
  85.         self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
  86.         self.opt_show_child_bar = QtGui.QCheckBox(self.groupBox_2)
  87.         self.opt_show_child_bar.setObjectName(_fromUtf8('opt_show_child_bar'))
  88.         self.gridLayout.addWidget(self.opt_show_child_bar, 2, 0, 1, 2)
  89.         self.gridLayout_2.addWidget(self.groupBox_2, 7, 0, 1, 2)
  90.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  91.         self.gridLayout_2.addItem(spacerItem, 8, 0, 1, 2)
  92.         self.label_17.setBuddy(self.opt_gui_layout)
  93.         self.label_6.setBuddy(self.opt_cover_flow_queue_length)
  94.         self.label_7.setBuddy(self.opt_language)
  95.         self.label.setBuddy(self.opt_toolbar_icon_size)
  96.         self.label_4.setBuddy(self.opt_toolbar_text)
  97.         self.retranslateUi(Form)
  98.         QtCore.QMetaObject.connectSlotsByName(Form)
  99.  
  100.     
  101.     def retranslateUi(self, Form):
  102.         Form.setWindowTitle(_('Form'))
  103.         self.label_17.setText(_('User Interface &layout (needs restart):'))
  104.         self.label_6.setText(_('&Number of covers to show in browse mode (needs restart):'))
  105.         self.label_7.setText(_('Choose &language (requires restart):'))
  106.         self.opt_show_avg_rating.setText(_('Show &average ratings in the tags browser'))
  107.         self.opt_disable_animations.setToolTip(_('Disable all animations. Useful if you have a slow/old computer.'))
  108.         self.opt_disable_animations.setText(_('Disable &animations'))
  109.         self.opt_systray_icon.setText(_('Enable system &tray icon (needs restart)'))
  110.         self.opt_show_splash_screen.setText(_('Show &splash screen at startup'))
  111.         self.opt_disable_tray_notification.setText(_('Disable ¬ifications in system tray'))
  112.         self.opt_use_roman_numerals_for_series_number.setText(_('Use &Roman numerals for series'))
  113.         self.opt_separate_cover_flow.setText(_('Show cover &browser in a separate window (needs restart)'))
  114.         self.opt_search_as_you_type.setText(_('Search as you type'))
  115.         self.groupBox_2.setTitle(_('&Toolbar'))
  116.         self.label.setText(_('&Icon size:'))
  117.         self.label_4.setText(_('Show &text under icons:'))
  118.         self.opt_show_child_bar.setText(_('&Split the toolbar into two toolbars'))
  119.  
  120.  
  121.