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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/viewer/bookmarkmanager.ui'
#
# Created: Thu Jul 25 09:37:03 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    pass
except AttributeError:
    pass

class Ui_BookmarkManager(object):
    def setupUi(self, BookmarkManager):
        BookmarkManager.setObjectName(_fromUtf8("BookmarkManager"))
        BookmarkManager.resize(451, 363)
        self.gridLayout = QtGui.QGridLayout(BookmarkManager)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.groupBox = QtGui.QGroupBox(BookmarkManager)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.button_edit = QtGui.QPushButton(self.groupBox)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("edit_input.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_edit.setIcon(icon)
        self.button_edit.setObjectName(_fromUtf8("button_edit"))
        self.verticalLayout.addWidget(self.button_edit)
        self.button_delete = QtGui.QPushButton(self.groupBox)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("trash.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_delete.setIcon(icon1)
        self.button_delete.setObjectName(_fromUtf8("button_delete"))
        self.verticalLayout.addWidget(self.button_delete)
        self.button_revert = QtGui.QPushButton(self.groupBox)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(I("edit-undo.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_revert.setIcon(icon2)
        self.button_revert.setObjectName(_fromUtf8("button_revert"))
        self.verticalLayout.addWidget(self.button_revert)
        self.button_export = QtGui.QPushButton(self.groupBox)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(I("back.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_export.setIcon(icon3)
        self.button_export.setObjectName(_fromUtf8("button_export"))
        self.verticalLayout.addWidget(self.button_export)
        self.button_import = QtGui.QPushButton(self.groupBox)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(I("forward.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_import.setIcon(icon4)
        self.button_import.setObjectName(_fromUtf8("button_import"))
        self.verticalLayout.addWidget(self.button_import)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(BookmarkManager)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 3)
        self.bookmarks_list = QtGui.QListWidget(BookmarkManager)
        self.bookmarks_list.setDragEnabled(True)
        self.bookmarks_list.setDragDropMode(QtGui.QAbstractItemView.InternalMove)
        self.bookmarks_list.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.bookmarks_list.setAlternatingRowColors(True)
        self.bookmarks_list.setObjectName(_fromUtf8("bookmarks_list"))
        self.gridLayout.addWidget(self.bookmarks_list, 0, 1, 1, 1)

        self.retranslateUi(BookmarkManager)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), BookmarkManager.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), BookmarkManager.reject)
        QtCore.QMetaObject.connectSlotsByName(BookmarkManager)

    def retranslateUi(self, BookmarkManager):
        BookmarkManager.setWindowTitle(_("Bookmark Manager"))
        self.groupBox.setTitle(_("Actions"))
        self.button_edit.setText(_("Edit"))
        self.button_delete.setText(_("Delete"))
        self.button_revert.setText(_("Reset"))
        self.button_export.setText(_("Export"))
        self.button_import.setText(_("Import"))


