home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1228 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  2.7 KB  |  60 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_RegexBuilder(object):
  14.     
  15.     def setupUi(self, RegexBuilder):
  16.         RegexBuilder.setObjectName(_fromUtf8('RegexBuilder'))
  17.         RegexBuilder.resize(662, 505)
  18.         self.gridLayout = QtGui.QGridLayout(RegexBuilder)
  19.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  20.         self.groupBox = QtGui.QGroupBox(RegexBuilder)
  21.         self.groupBox.setObjectName(_fromUtf8('groupBox'))
  22.         self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
  23.         self.verticalLayout.setObjectName(_fromUtf8('verticalLayout'))
  24.         self.preview = QtGui.QPlainTextEdit(self.groupBox)
  25.         self.preview.setUndoRedoEnabled(False)
  26.         self.preview.setReadOnly(True)
  27.         self.preview.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
  28.         self.preview.setObjectName(_fromUtf8('preview'))
  29.         self.verticalLayout.addWidget(self.preview)
  30.         self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 5)
  31.         self.button_box = QtGui.QDialogButtonBox(RegexBuilder)
  32.         self.button_box.setOrientation(QtCore.Qt.Horizontal)
  33.         self.button_box.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
  34.         self.button_box.setObjectName(_fromUtf8('button_box'))
  35.         self.gridLayout.addWidget(self.button_box, 2, 4, 1, 1)
  36.         self.label = QtGui.QLabel(RegexBuilder)
  37.         self.label.setObjectName(_fromUtf8('label'))
  38.         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  39.         self.horizontalLayout = QtGui.QHBoxLayout()
  40.         self.horizontalLayout.setObjectName(_fromUtf8('horizontalLayout'))
  41.         self.regex = QtGui.QLineEdit(RegexBuilder)
  42.         self.regex.setObjectName(_fromUtf8('regex'))
  43.         self.horizontalLayout.addWidget(self.regex)
  44.         self.test = QtGui.QPushButton(RegexBuilder)
  45.         self.test.setObjectName(_fromUtf8('test'))
  46.         self.horizontalLayout.addWidget(self.test)
  47.         self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 4)
  48.         self.retranslateUi(RegexBuilder)
  49.         QtCore.QObject.connect(self.button_box, QtCore.SIGNAL(_fromUtf8('rejected()')), RegexBuilder.reject)
  50.         QtCore.QMetaObject.connectSlotsByName(RegexBuilder)
  51.  
  52.     
  53.     def retranslateUi(self, RegexBuilder):
  54.         RegexBuilder.setWindowTitle(_('Regex Builder'))
  55.         self.groupBox.setTitle(_('Preview'))
  56.         self.label.setText(_('Regex:'))
  57.         self.test.setText(_('Test'))
  58.  
  59.  
  60.