home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1287 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.3 KB  |  55 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(712, 308)
  18.         icon = QtGui.QIcon()
  19.         icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('jobs.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  20.         Dialog.setWindowIcon(icon)
  21.         self.gridLayout = QtGui.QGridLayout(Dialog)
  22.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  23.         self.title = QtGui.QLabel(Dialog)
  24.         font = QtGui.QFont()
  25.         font.setWeight(75)
  26.         font.setBold(True)
  27.         self.title.setFont(font)
  28.         self.title.setAlignment(QtCore.Qt.AlignCenter)
  29.         self.title.setWordWrap(True)
  30.         self.title.setObjectName(_fromUtf8('title'))
  31.         self.gridLayout.addWidget(self.title, 0, 0, 1, 1)
  32.         self.bar = QtGui.QProgressBar(Dialog)
  33.         self.bar.setProperty(_fromUtf8('value'), 0)
  34.         self.bar.setObjectName(_fromUtf8('bar'))
  35.         self.gridLayout.addWidget(self.bar, 1, 0, 1, 1)
  36.         self.message = QtGui.QLabel(Dialog)
  37.         self.message.setAlignment(QtCore.Qt.AlignCenter)
  38.         self.message.setWordWrap(True)
  39.         self.message.setObjectName(_fromUtf8('message'))
  40.         self.gridLayout.addWidget(self.message, 2, 0, 1, 1)
  41.         self.button_box = QtGui.QDialogButtonBox(Dialog)
  42.         self.button_box.setStandardButtons(QtGui.QDialogButtonBox.Abort)
  43.         self.button_box.setObjectName(_fromUtf8('button_box'))
  44.         self.gridLayout.addWidget(self.button_box, 3, 0, 1, 1)
  45.         self.retranslateUi(Dialog)
  46.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  47.  
  48.     
  49.     def retranslateUi(self, Dialog):
  50.         Dialog.setWindowTitle(_('Dialog'))
  51.         self.title.setText(_('TextLabel'))
  52.         self.message.setText(_('TextLabel'))
  53.  
  54.  
  55.