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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from PyQt4 import QtCore, QtGui
  5.  
  6. class Ui_ChooseFormatDialog(object):
  7.     
  8.     def setupUi(self, ChooseFormatDialog):
  9.         ChooseFormatDialog.setObjectName('ChooseFormatDialog')
  10.         ChooseFormatDialog.resize(507, 377)
  11.         icon = QtGui.QIcon()
  12.         icon.addFile(I('mimetypes/unknown.svg'))
  13.         ChooseFormatDialog.setWindowIcon(icon)
  14.         self.vboxlayout = QtGui.QVBoxLayout(ChooseFormatDialog)
  15.         self.vboxlayout.setObjectName('vboxlayout')
  16.         self.msg = QtGui.QLabel(ChooseFormatDialog)
  17.         self.msg.setObjectName('msg')
  18.         self.vboxlayout.addWidget(self.msg)
  19.         self.formats = QtGui.QListWidget(ChooseFormatDialog)
  20.         self.formats.setIconSize(QtCore.QSize(64, 64))
  21.         self.formats.setObjectName('formats')
  22.         self.vboxlayout.addWidget(self.formats)
  23.         self.buttonBox = QtGui.QDialogButtonBox(ChooseFormatDialog)
  24.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  25.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok | QtGui.QDialogButtonBox.Cancel)
  26.         self.buttonBox.setObjectName('buttonBox')
  27.         self.vboxlayout.addWidget(self.buttonBox)
  28.         self.retranslateUi(ChooseFormatDialog)
  29.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), ChooseFormatDialog.accept)
  30.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), ChooseFormatDialog.reject)
  31.         QtCore.QMetaObject.connectSlotsByName(ChooseFormatDialog)
  32.  
  33.     
  34.     def retranslateUi(self, ChooseFormatDialog):
  35.         ChooseFormatDialog.setWindowTitle(_('Choose Format'))
  36.         self.msg.setText(_('TextLabel'))
  37.  
  38.  
  39.