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

# Form implementation generated from reading ui file '/work/a/ports/deskutils/calibre/work/calibre/src/calibre/gui2/dialogs/tweak_epub.ui'
#
# Created: Wed Mar 28 05:14:36 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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.setWindowTitle(_("Tweak {0}"))
        Dialog.setSizeGripEnabled(False)
        Dialog.setModal(False)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(Dialog)
        self.label.setText(_("<p>Explode the {0} 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>"))
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.explode_button = QtGui.QPushButton(Dialog)
        self.explode_button.setToolTip(_("Display contents of exploded {0}"))
        self.explode_button.setStatusTip(_("Display contents of exploded {0}"))
        self.explode_button.setText(_("&Explode {0}"))
        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.cancel_button = QtGui.QPushButton(Dialog)
        self.cancel_button.setToolTip(_("Discard changes"))
        self.cancel_button.setStatusTip(_("Discard changes"))
        self.cancel_button.setText(_("&Cancel"))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("window-close.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cancel_button.setIcon(icon1)
        self.cancel_button.setObjectName(_fromUtf8("cancel_button"))
        self.gridLayout.addWidget(self.cancel_button, 3, 0, 1, 1)
        self.rebuild_button = QtGui.QPushButton(Dialog)
        self.rebuild_button.setEnabled(False)
        self.rebuild_button.setToolTip(_("Rebuild {0} from exploded contents"))
        self.rebuild_button.setStatusTip(_("Rebuild {0} from exploded contents"))
        self.rebuild_button.setText(_("&Rebuild {0}"))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I("exec.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.rebuild_button.setIcon(icon2)
        self.rebuild_button.setObjectName(_fromUtf8("rebuild_button"))
        self.gridLayout.addWidget(self.rebuild_button, 3, 1, 1, 1)
        self.preview_button = QtGui.QPushButton(Dialog)
        self.preview_button.setText(_("&Preview {0}"))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(I("view.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.preview_button.setIcon(icon3)
        self.preview_button.setObjectName(_fromUtf8("preview_button"))
        self.gridLayout.addWidget(self.preview_button, 1, 1, 1, 1)

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

    def retranslateUi(self, Dialog):
        pass


