home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1336 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.4 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.gridLayout = QtGui.QGridLayout(WizardPage)
  12.         self.gridLayout.setObjectName('gridLayout')
  13.         self.label = QtGui.QLabel(WizardPage)
  14.         self.label.setWordWrap(True)
  15.         self.label.setOpenExternalLinks(True)
  16.         self.label.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByKeyboard | QtCore.Qt.LinksAccessibleByMouse)
  17.         self.label.setObjectName('label')
  18.         self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
  19.         self.label_2 = QtGui.QLabel(WizardPage)
  20.         self.label_2.setObjectName('label_2')
  21.         self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
  22.         self.to_address = QtGui.QLineEdit(WizardPage)
  23.         self.to_address.setObjectName('to_address')
  24.         self.gridLayout.addWidget(self.to_address, 1, 1, 1, 1)
  25.         self.send_email_widget = SendEmail(WizardPage)
  26.         self.send_email_widget.setObjectName('send_email_widget')
  27.         self.gridLayout.addWidget(self.send_email_widget, 2, 0, 1, 2)
  28.         spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
  29.         self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
  30.         self.label_2.setBuddy(self.to_address)
  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>calibre can automatically send books by email to your Kindle. To do that you have to setup email delivery below. The easiest way is to setup a free <a href="http://gmail.com">gmail account</a> and click the Use gmail button below. You will also have to register your gmail address in your Amazon account.'))
  40.         self.label_2.setText(_('&Kindle email:'))
  41.  
  42.  
  43. from calibre.gui2.wizard.send_email import SendEmail
  44.