home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1337 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.6 KB  |  53 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_WizardPage(object):
  7.     
  8.     def setupUi(self, WizardPage):
  9.         WizardPage.setObjectName('WizardPage')
  10.         WizardPage.resize(481, 300)
  11.         self.gridLayout = QtGui.QGridLayout(WizardPage)
  12.         self.gridLayout.setObjectName('gridLayout')
  13.         self.label_3 = QtGui.QLabel(WizardPage)
  14.         self.label_3.setObjectName('label_3')
  15.         self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
  16.         self.language = QtGui.QComboBox(WizardPage)
  17.         self.language.setObjectName('language')
  18.         self.gridLayout.addWidget(self.language, 0, 1, 1, 2)
  19.         self.label = QtGui.QLabel(WizardPage)
  20.         self.label.setWordWrap(True)
  21.         self.label.setObjectName('label')
  22.         self.gridLayout.addWidget(self.label, 2, 0, 1, 3)
  23.         self.location = QtGui.QLineEdit(WizardPage)
  24.         self.location.setReadOnly(True)
  25.         self.location.setObjectName('location')
  26.         self.gridLayout.addWidget(self.location, 3, 0, 1, 2)
  27.         self.button_change = QtGui.QPushButton(WizardPage)
  28.         self.button_change.setObjectName('button_change')
  29.         self.gridLayout.addWidget(self.button_change, 3, 2, 1, 1)
  30.         self.label_2 = QtGui.QLabel(WizardPage)
  31.         self.label_2.setWordWrap(True)
  32.         self.label_2.setObjectName('label_2')
  33.         self.gridLayout.addWidget(self.label_2, 4, 0, 1, 3)
  34.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  35.         self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
  36.         spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  37.         self.gridLayout.addItem(spacerItem1, 5, 0, 1, 1)
  38.         self.label_3.setBuddy(self.language)
  39.         self.retranslateUi(WizardPage)
  40.         QtCore.QMetaObject.connectSlotsByName(WizardPage)
  41.  
  42.     
  43.     def retranslateUi(self, WizardPage):
  44.         WizardPage.setWindowTitle(_('WizardPage'))
  45.         WizardPage.setTitle(_('Welcome to calibre'))
  46.         WizardPage.setSubTitle(_('The one stop solution to all your e-book needs.'))
  47.         self.label_3.setText(_('Choose your &language:'))
  48.         self.label.setText(_('Choose a location for your books. When you add books to calibre, they will be copied here:'))
  49.         self.button_change.setText(_('&Change'))
  50.         self.label_2.setText(_('If you have an existing calibre library, it will be copied to the new location. If a calibre library already exists at the new location, calibre will switch to using it.'))
  51.  
  52.  
  53.