Logo Search packages:      
Sourcecode: calibre version File versions  Download package

tweak_epub_ui.py

# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/dialogs/tweak_epub.ui'
#
# Created: Fri Nov  5 12:08:55 2010
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.setWindowModality(QtCore.Qt.NonModal)
        Dialog.resize(382, 265)
        Dialog.setSizeGripEnabled(False)
        Dialog.setModal(False)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.explode_button = QtGui.QPushButton(Dialog)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("wizard.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.explode_button.setIcon(icon)
        self.explode_button.setObjectName(_fromUtf8("explode_button"))
        self.gridLayout.addWidget(self.explode_button, 1, 0, 1, 1)
        self.rebuild_button = QtGui.QPushButton(Dialog)
        self.rebuild_button.setEnabled(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("exec.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rebuild_button.setIcon(icon1)
        self.rebuild_button.setObjectName(_fromUtf8("rebuild_button"))
        self.gridLayout.addWidget(self.rebuild_button, 2, 0, 1, 1)
        self.cancel_button = QtGui.QPushButton(Dialog)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I("window-close.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cancel_button.setIcon(icon2)
        self.cancel_button.setObjectName(_fromUtf8("cancel_button"))
        self.gridLayout.addWidget(self.cancel_button, 3, 0, 1, 1)
        self.label = QtGui.QLabel(Dialog)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_("Tweak ePub"))
        self.explode_button.setStatusTip(_("Display contents of exploded ePub"))
        self.explode_button.setText(_("&Explode ePub"))
        self.rebuild_button.setStatusTip(_("Rebuild ePub from exploded contents"))
        self.rebuild_button.setText(_("&Rebuild ePub"))
        self.cancel_button.setStatusTip(_("Discard changes"))
        self.cancel_button.setText(_("&Cancel"))
        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>"))



Generated by  Doxygen 1.6.0   Back to index