# -*- 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: Fri Dec 30 06:21:00 2011
#      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 ePub"))
        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 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>"))
        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.setStatusTip(_("Display contents of exploded ePub"))
        self.explode_button.setText(_("&Explode ePub"))
        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.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.setStatusTip(_("Rebuild ePub from exploded contents"))
        self.rebuild_button.setText(_("&Rebuild ePub"))
        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 ePub"))
        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


