home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1273 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.6 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_DeleteMatchingFromDeviceDialog(object):
  14.     
  15.     def setupUi(self, DeleteMatchingFromDeviceDialog):
  16.         DeleteMatchingFromDeviceDialog.setObjectName(_fromUtf8('DeleteMatchingFromDeviceDialog'))
  17.         DeleteMatchingFromDeviceDialog.resize(730, 342)
  18.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
  19.         sizePolicy.setHorizontalStretch(0)
  20.         sizePolicy.setVerticalStretch(0)
  21.         sizePolicy.setHeightForWidth(DeleteMatchingFromDeviceDialog.sizePolicy().hasHeightForWidth())
  22.         DeleteMatchingFromDeviceDialog.setSizePolicy(sizePolicy)
  23.         self.verticalLayout = QtGui.QVBoxLayout(DeleteMatchingFromDeviceDialog)
  24.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  25.         self.explanation = QtGui.QLabel(DeleteMatchingFromDeviceDialog)
  26.         self.explanation.setObjectName(_fromUtf8('explanation'))
  27.         self.verticalLayout.addWidget(self.explanation)
  28.         self.table = QtGui.QTableWidget(DeleteMatchingFromDeviceDialog)
  29.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
  30.         sizePolicy.setHorizontalStretch(0)
  31.         sizePolicy.setVerticalStretch(0)
  32.         sizePolicy.setHeightForWidth(self.table.sizePolicy().hasHeightForWidth())
  33.         self.table.setSizePolicy(sizePolicy)
  34.         self.table.setColumnCount(0)
  35.         self.table.setObjectName(_fromUtf8('table'))
  36.         self.table.setColumnCount(0)
  37.         self.table.setRowCount(0)
  38.         self.verticalLayout.addWidget(self.table)
  39.         self.buttonBox = QtGui.QDialogButtonBox(DeleteMatchingFromDeviceDialog)
  40.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  41.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
  42.         self.buttonBox.setCenterButtons(True)
  43.         self.buttonBox.setObjectName(_fromUtf8('buttonBox'))
  44.         self.verticalLayout.addWidget(self.buttonBox)
  45.         self.retranslateUi(DeleteMatchingFromDeviceDialog)
  46.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('accepted()')), DeleteMatchingFromDeviceDialog.accept)
  47.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('rejected()')), DeleteMatchingFromDeviceDialog.reject)
  48.         QtCore.QMetaObject.connectSlotsByName(DeleteMatchingFromDeviceDialog)
  49.  
  50.     
  51.     def retranslateUi(self, DeleteMatchingFromDeviceDialog):
  52.         DeleteMatchingFromDeviceDialog.setWindowTitle(_('Delete from device'))
  53.  
  54.  
  55.