home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1251 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  2.3 KB  |  48 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(439, 300)
  11.         icon = QtGui.QIcon()
  12.         icon.addPixmap(QtGui.QPixmap(I('dialog_warning.svg')), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  13.         Dialog.setWindowIcon(icon)
  14.         self.gridLayout = QtGui.QGridLayout(Dialog)
  15.         self.gridLayout.setObjectName('gridLayout')
  16.         self.horizontalLayout = QtGui.QHBoxLayout()
  17.         self.horizontalLayout.setObjectName('horizontalLayout')
  18.         self.label = QtGui.QLabel(Dialog)
  19.         self.label.setPixmap(QtGui.QPixmap(I('dialog_warning.svg')))
  20.         self.label.setObjectName('label')
  21.         self.horizontalLayout.addWidget(self.label)
  22.         self.msg = QtGui.QLabel(Dialog)
  23.         self.msg.setWordWrap(True)
  24.         self.msg.setObjectName('msg')
  25.         self.horizontalLayout.addWidget(self.msg)
  26.         self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
  27.         self.again = QtGui.QCheckBox(Dialog)
  28.         self.again.setChecked(True)
  29.         self.again.setObjectName('again')
  30.         self.gridLayout.addWidget(self.again, 1, 0, 1, 1)
  31.         self.buttonBox = QtGui.QDialogButtonBox(Dialog)
  32.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  33.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
  34.         self.buttonBox.setObjectName('buttonBox')
  35.         self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
  36.         self.retranslateUi(Dialog)
  37.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), Dialog.accept)
  38.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), Dialog.reject)
  39.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  40.  
  41.     
  42.     def retranslateUi(self, Dialog):
  43.         Dialog.setWindowTitle(_('Are you sure?'))
  44.         self.msg.setText(_('TextLabel'))
  45.         self.again.setText(_('&Show this warning again'))
  46.  
  47.  
  48.