home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1340 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.5 KB  |  44 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(400, 300)
  11.         self.verticalLayout = QtGui.QVBoxLayout(WizardPage)
  12.         self.verticalLayout.setObjectName('verticalLayout')
  13.         self.label = QtGui.QLabel(WizardPage)
  14.         self.label.setWordWrap(True)
  15.         self.label.setOpenExternalLinks(True)
  16.         self.label.setObjectName('label')
  17.         self.verticalLayout.addWidget(self.label)
  18.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  19.         self.verticalLayout.addItem(spacerItem)
  20.         self.content_server = QtGui.QCheckBox(WizardPage)
  21.         self.content_server.setObjectName('content_server')
  22.         self.verticalLayout.addWidget(self.content_server)
  23.         spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  24.         self.verticalLayout.addItem(spacerItem1)
  25.         self.instructions = QtGui.QLabel(WizardPage)
  26.         self.instructions.setWordWrap(True)
  27.         self.instructions.setObjectName('instructions')
  28.         self.verticalLayout.addWidget(self.instructions)
  29.         spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  30.         self.verticalLayout.addItem(spacerItem2)
  31.         self.retranslateUi(WizardPage)
  32.         QtCore.QMetaObject.connectSlotsByName(WizardPage)
  33.  
  34.     
  35.     def retranslateUi(self, WizardPage):
  36.         WizardPage.setWindowTitle(_('WizardPage'))
  37.         WizardPage.setTitle(_('Welcome to calibre'))
  38.         WizardPage.setSubTitle(_('The one stop solution to all your e-book needs.'))
  39.         self.label.setText(_('<p>If you use the <a href="http://www.lexcycle.com/download">Stanza</a> e-book app on your iPhone/iTouch, you can access your calibre book collection directly on the device. To do this you have to turn on the calibre content server.'))
  40.         self.content_server.setText(_('Turn on the &content server'))
  41.         self.instructions.setText(_('<p>Remember to leave calibre running as the server only runs as long as calibre is running.\n<p>Stanza should see your calibre collection automatically. If not, try adding the URL http://myhostname:8080 as a new catalog in the Stanza reader on your iPhone. Here myhostname should be the fully qualified hostname or the IP address of the computer calibre is running on.'))
  42.  
  43.  
  44.