home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1267 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.3 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_CommentsDialog(object):
  14.     
  15.     def setupUi(self, CommentsDialog):
  16.         CommentsDialog.setObjectName(_fromUtf8('CommentsDialog'))
  17.         CommentsDialog.resize(336, 235)
  18.         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
  19.         sizePolicy.setHorizontalStretch(0)
  20.         sizePolicy.setVerticalStretch(0)
  21.         sizePolicy.setHeightForWidth(CommentsDialog.sizePolicy().hasHeightForWidth())
  22.         CommentsDialog.setSizePolicy(sizePolicy)
  23.         self.verticalLayoutWidget = QtGui.QWidget(CommentsDialog)
  24.         self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 10, 311, 211))
  25.         self.verticalLayoutWidget.setObjectName(_fromUtf8('verticalLayoutWidget'))
  26.         self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
  27.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  28.         self.textbox = QtGui.QPlainTextEdit(self.verticalLayoutWidget)
  29.         self.textbox.setObjectName(_fromUtf8('textbox'))
  30.         self.verticalLayout.addWidget(self.textbox)
  31.         self.buttonBox = QtGui.QDialogButtonBox(self.verticalLayoutWidget)
  32.         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
  33.         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
  34.         self.buttonBox.setObjectName(_fromUtf8('buttonBox'))
  35.         self.verticalLayout.addWidget(self.buttonBox)
  36.         self.retranslateUi(CommentsDialog)
  37.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('accepted()')), CommentsDialog.accept)
  38.         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8('rejected()')), CommentsDialog.reject)
  39.         QtCore.QMetaObject.connectSlotsByName(CommentsDialog)
  40.  
  41.     
  42.     def retranslateUi(self, CommentsDialog):
  43.         CommentsDialog.setWindowTitle(_('Edit Comments'))
  44.  
  45.  
  46.