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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_Dialog(object):
  7.     
  8.     def setupUi(self, Dialog):
  9.         Dialog.setObjectName('Dialog')
  10.         Dialog.resize(542, 418)
  11.         icon = QtGui.QIcon()
  12.         icon.addPixmap(QtGui.QPixmap(I('config.svg')), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  13.         Dialog.setWindowIcon(icon)
  14.         self.verticalLayout = QtGui.QVBoxLayout(Dialog)
  15.         self.verticalLayout.setObjectName('verticalLayout')
  16.         self.from_ = QtGui.QLabel(Dialog)
  17.         self.from_.setWordWrap(True)
  18.         self.from_.setObjectName('from_')
  19.         self.verticalLayout.addWidget(self.from_)
  20.         self.to = QtGui.QLineEdit(Dialog)
  21.         self.to.setObjectName('to')
  22.         self.verticalLayout.addWidget(self.to)
  23.         self.label = QtGui.QLabel(Dialog)
  24.         self.label.setText('')
  25.         self.label.setWordWrap(True)
  26.         self.label.setObjectName('label')
  27.         self.verticalLayout.addWidget(self.label)
  28.         self.test_button = QtGui.QPushButton(Dialog)
  29.         self.test_button.setObjectName('test_button')
  30.         self.verticalLayout.addWidget(self.test_button)
  31.         self.log = QtGui.QPlainTextEdit(Dialog)
  32.         self.log.setObjectName('log')
  33.         self.verticalLayout.addWidget(self.log)
  34.         self.buttonBox = QtGui.QDialogButtonBox(Dialog)
  35.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  36.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
  37.         self.buttonBox.setObjectName('buttonBox')
  38.         self.verticalLayout.addWidget(self.buttonBox)
  39.         self.retranslateUi(Dialog)
  40.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), Dialog.accept)
  41.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), Dialog.reject)
  42.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  43.  
  44.     
  45.     def retranslateUi(self, Dialog):
  46.         Dialog.setWindowTitle(_('Test email settings'))
  47.         self.from_.setText(_('Send test mail from %s to:'))
  48.         self.test_button.setText(_('&Test'))
  49.  
  50.  
  51.