home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_1304 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-10-31  |  3.0 KB  |  61 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_Dialog(object):
  14.     
  15.     def setupUi(self, Dialog):
  16.         Dialog.setObjectName(_fromUtf8('Dialog'))
  17.         Dialog.setWindowModality(QtCore.Qt.NonModal)
  18.         Dialog.resize(382, 265)
  19.         Dialog.setSizeGripEnabled(False)
  20.         Dialog.setModal(False)
  21.         self.gridLayout = QtGui.QGridLayout(Dialog)
  22.         self.gridLayout.setObjectName(_fromUtf8('gridLayout'))
  23.         self.explode_button = QtGui.QPushButton(Dialog)
  24.         icon = QtGui.QIcon()
  25.         icon.addPixmap(QtGui.QPixmap(_fromUtf8(I('wizard.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  26.         self.explode_button.setIcon(icon)
  27.         self.explode_button.setObjectName(_fromUtf8('explode_button'))
  28.         self.gridLayout.addWidget(self.explode_button, 1, 0, 1, 1)
  29.         self.rebuild_button = QtGui.QPushButton(Dialog)
  30.         self.rebuild_button.setEnabled(False)
  31.         icon1 = QtGui.QIcon()
  32.         icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I('exec.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  33.         self.rebuild_button.setIcon(icon1)
  34.         self.rebuild_button.setObjectName(_fromUtf8('rebuild_button'))
  35.         self.gridLayout.addWidget(self.rebuild_button, 2, 0, 1, 1)
  36.         self.cancel_button = QtGui.QPushButton(Dialog)
  37.         icon2 = QtGui.QIcon()
  38.         icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I('window-close.png'))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
  39.         self.cancel_button.setIcon(icon2)
  40.         self.cancel_button.setObjectName(_fromUtf8('cancel_button'))
  41.         self.gridLayout.addWidget(self.cancel_button, 3, 0, 1, 1)
  42.         self.label = QtGui.QLabel(Dialog)
  43.         self.label.setWordWrap(True)
  44.         self.label.setObjectName(_fromUtf8('label'))
  45.         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  46.         self.retranslateUi(Dialog)
  47.         QtCore.QMetaObject.connectSlotsByName(Dialog)
  48.  
  49.     
  50.     def retranslateUi(self, Dialog):
  51.         Dialog.setWindowTitle(_('Tweak ePub'))
  52.         self.explode_button.setStatusTip(_('Display contents of exploded ePub'))
  53.         self.explode_button.setText(_('&Explode ePub'))
  54.         self.rebuild_button.setStatusTip(_('Rebuild ePub from exploded contents'))
  55.         self.rebuild_button.setText(_('&Rebuild ePub'))
  56.         self.cancel_button.setStatusTip(_('Discard changes'))
  57.         self.cancel_button.setText(_('&Cancel'))
  58.         self.label.setText(_("<p>Explode the ePub to display contents in a file browser window. To tweak individual files, right-click, then 'Open with...' your editor of choice. When tweaks are complete, close the file browser window <b>and the editor windows you used to edit files in the epub</b>.</p><p>Rebuild the ePub, updating your calibre library.</p>"))
  59.  
  60.  
  61.