home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1396 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.8 KB  |  60 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_WizardPage(object):
  14.     
  15.     def setupUi(self, WizardPage):
  16.         WizardPage.setObjectName(_fromUtf8('WizardPage'))
  17.         WizardPage.resize(481, 300)
  18.         self.gridLayout = QtGui.QGridLayout(WizardPage)
  19.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  20.         self.label_3 = QtGui.QLabel(WizardPage)
  21.         self.label_3.setObjectName(_fromUtf8('label_3'))
  22.         self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
  23.         self.language = QtGui.QComboBox(WizardPage)
  24.         self.language.setObjectName(_fromUtf8('language'))
  25.         self.gridLayout.addWidget(self.language, 0, 1, 1, 2)
  26.         self.label = QtGui.QLabel(WizardPage)
  27.         self.label.setWordWrap(True)
  28.         self.label.setObjectName(_fromUtf8('label'))
  29.         self.gridLayout.addWidget(self.label, 2, 0, 1, 3)
  30.         self.location = QtGui.QLineEdit(WizardPage)
  31.         self.location.setReadOnly(True)
  32.         self.location.setObjectName(_fromUtf8('location'))
  33.         self.gridLayout.addWidget(self.location, 3, 0, 1, 2)
  34.         self.button_change = QtGui.QPushButton(WizardPage)
  35.         self.button_change.setObjectName(_fromUtf8('button_change'))
  36.         self.gridLayout.addWidget(self.button_change, 3, 2, 1, 1)
  37.         self.label_2 = QtGui.QLabel(WizardPage)
  38.         self.label_2.setWordWrap(True)
  39.         self.label_2.setObjectName(_fromUtf8('label_2'))
  40.         self.gridLayout.addWidget(self.label_2, 4, 0, 1, 3)
  41.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  42.         self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
  43.         spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  44.         self.gridLayout.addItem(spacerItem1, 5, 0, 1, 1)
  45.         self.label_3.setBuddy(self.language)
  46.         self.retranslateUi(WizardPage)
  47.         QtCore.QMetaObject.connectSlotsByName(WizardPage)
  48.  
  49.     
  50.     def retranslateUi(self, WizardPage):
  51.         WizardPage.setWindowTitle(_('WizardPage'))
  52.         WizardPage.setTitle(_('Welcome to calibre'))
  53.         WizardPage.setSubTitle(_('The one stop solution to all your e-book needs.'))
  54.         self.label_3.setText(_('Choose your &language:'))
  55.         self.label.setText(_('Choose a location for your books. When you add books to calibre, they will be copied here:'))
  56.         self.button_change.setText(_('&Change'))
  57.         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.'))
  58.  
  59.  
  60.