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

# Form implementation generated from reading ui file 'eric/Helpviewer/Bookmarks/BookmarksDialog.ui'
#
# Created: Mon May 10 20:39:51 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_BookmarksDialog(object):
    def setupUi(self, BookmarksDialog):
        BookmarksDialog.setObjectName("BookmarksDialog")
        BookmarksDialog.resize(750, 450)
        BookmarksDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(BookmarksDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.searchEdit = QtGui.QLineEdit(BookmarksDialog)
        self.searchEdit.setObjectName("searchEdit")
        self.horizontalLayout.addWidget(self.searchEdit)
        self.clearButton = QtGui.QToolButton(BookmarksDialog)
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.bookmarksTree = E4TreeView(BookmarksDialog)
        self.bookmarksTree.setDragDropMode(QtGui.QAbstractItemView.InternalMove)
        self.bookmarksTree.setAlternatingRowColors(True)
        self.bookmarksTree.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.bookmarksTree.setTextElideMode(QtCore.Qt.ElideMiddle)
        self.bookmarksTree.setUniformRowHeights(True)
        self.bookmarksTree.setObjectName("bookmarksTree")
        self.verticalLayout.addWidget(self.bookmarksTree)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.removeButton = QtGui.QPushButton(BookmarksDialog)
        self.removeButton.setObjectName("removeButton")
        self.horizontalLayout_3.addWidget(self.removeButton)
        self.addFolderButton = QtGui.QPushButton(BookmarksDialog)
        self.addFolderButton.setObjectName("addFolderButton")
        self.horizontalLayout_3.addWidget(self.addFolderButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.buttonBox = QtGui.QDialogButtonBox(BookmarksDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(BookmarksDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), BookmarksDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), BookmarksDialog.reject)
        QtCore.QObject.connect(self.clearButton, QtCore.SIGNAL("clicked()"), self.searchEdit.clear)
        QtCore.QMetaObject.connectSlotsByName(BookmarksDialog)
        BookmarksDialog.setTabOrder(self.searchEdit, self.clearButton)
        BookmarksDialog.setTabOrder(self.clearButton, self.bookmarksTree)
        BookmarksDialog.setTabOrder(self.bookmarksTree, self.removeButton)
        BookmarksDialog.setTabOrder(self.removeButton, self.addFolderButton)
        BookmarksDialog.setTabOrder(self.addFolderButton, self.buttonBox)

    def retranslateUi(self, BookmarksDialog):
        BookmarksDialog.setWindowTitle(QtGui.QApplication.translate("BookmarksDialog", "Manage Bookmarks", None, QtGui.QApplication.UnicodeUTF8))
        self.searchEdit.setToolTip(QtGui.QApplication.translate("BookmarksDialog", "Enter search term for bookmarks", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setToolTip(QtGui.QApplication.translate("BookmarksDialog", "Press to clear the search edit", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setToolTip(QtGui.QApplication.translate("BookmarksDialog", "Press to delete the selected entries", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setText(QtGui.QApplication.translate("BookmarksDialog", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.addFolderButton.setToolTip(QtGui.QApplication.translate("BookmarksDialog", "Press to add a new bookmarks folder", None, QtGui.QApplication.UnicodeUTF8))
        self.addFolderButton.setText(QtGui.QApplication.translate("BookmarksDialog", "Add &Folder", None, QtGui.QApplication.UnicodeUTF8))

from E4Gui.E4TreeView import E4TreeView
