home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1261 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.2 KB  |  46 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_ChooseFormatDialog(object):
  14.     
  15.     def setupUi(self, ChooseFormatDialog):
  16.         ChooseFormatDialog.setObjectName(_fromUtf8('ChooseFormatDialog'))
  17.         ChooseFormatDialog.resize(507, 377)
  18.         icon = QtGui.QIcon()
  19.         icon.addFile(_fromUtf8(I('mimetypes/unknown.png')))
  20.         ChooseFormatDialog.setWindowIcon(icon)
  21.         self.vboxlayout = QtGui.QVBoxLayout(ChooseFormatDialog)
  22.         self.vboxlayout.setObjectName(_fromUtf8('vboxlayout'))
  23.         self.msg = QtGui.QLabel(ChooseFormatDialog)
  24.         self.msg.setObjectName(_fromUtf8('msg'))
  25.         self.vboxlayout.addWidget(self.msg)
  26.         self.formats = QtGui.QListWidget(ChooseFormatDialog)
  27.         self.formats.setIconSize(QtCore.QSize(64, 64))
  28.         self.formats.setObjectName(_fromUtf8('formats'))
  29.         self.vboxlayout.addWidget(self.formats)
  30.         self.buttonBox = QtGui.QDialogButtonBox(ChooseFormatDialog)
  31.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  32.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel)
  33.         self.buttonBox.setObjectName(_fromUtf8('buttonBox'))
  34.         self.vboxlayout.addWidget(self.buttonBox)
  35.         self.retranslateUi(ChooseFormatDialog)
  36.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('accepted()')), ChooseFormatDialog.accept)
  37.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('rejected()')), ChooseFormatDialog.reject)
  38.         QtCore.QMetaObject.connectSlotsByName(ChooseFormatDialog)
  39.  
  40.     
  41.     def retranslateUi(self, ChooseFormatDialog):
  42.         ChooseFormatDialog.setWindowTitle(_('Choose Format'))
  43.         self.msg.setText(_('TextLabel'))
  44.  
  45.  
  46.