home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1302 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.5 KB  |  58 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_Dialog(object):
  14.     
  15.     def setupUi(self, Dialog):
  16.         Dialog.setObjectName(_fromUtf8('Dialog'))
  17.         Dialog.resize(542, 418)
  18.         icon = QtGui.QIcon()
  19.         icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('config.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  20.         Dialog.setWindowIcon(icon)
  21.         self.verticalLayout = QtGui.QVBoxLayout(Dialog)
  22.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  23.         self.from_ = QtGui.QLabel(Dialog)
  24.         self.from_.setWordWrap(True)
  25.         self.from_.setObjectName(_fromUtf8('from_'))
  26.         self.verticalLayout.addWidget(self.from_)
  27.         self.to = QtGui.QLineEdit(Dialog)
  28.         self.to.setObjectName(_fromUtf8('to'))
  29.         self.verticalLayout.addWidget(self.to)
  30.         self.label = QtGui.QLabel(Dialog)
  31.         self.label.setText(_fromUtf8(''))
  32.         self.label.setWordWrap(True)
  33.         self.label.setObjectName(_fromUtf8('label'))
  34.         self.verticalLayout.addWidget(self.label)
  35.         self.test_button = QtGui.QPushButton(Dialog)
  36.         self.test_button.setObjectName(_fromUtf8('test_button'))
  37.         self.verticalLayout.addWidget(self.test_button)
  38.         self.log = QtGui.QPlainTextEdit(Dialog)
  39.         self.log.setObjectName(_fromUtf8('log'))
  40.         self.verticalLayout.addWidget(self.log)
  41.         self.buttonBox = QtGui.QDialogButtonBox(Dialog)
  42.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  43.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
  44.         self.buttonBox.setObjectName(_fromUtf8('buttonBox'))
  45.         self.verticalLayout.addWidget(self.buttonBox)
  46.         self.retranslateUi(Dialog)
  47.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('accepted()')), Dialog.accept)
  48.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('rejected()')), Dialog.reject)
  49.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  50.  
  51.     
  52.     def retranslateUi(self, Dialog):
  53.         Dialog.setWindowTitle(_('Test email settings'))
  54.         self.from_.setText(_('Send test mail from %s to:'))
  55.         self.test_button.setText(_('&Test'))
  56.  
  57.  
  58.