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