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

# Form implementation generated from reading ui file 'eric/Helpviewer/CookieJar/CookiesDialog.ui'
#
# Created: Mon Feb 22 07:59:22 2010
#      by: PyQt4 UI code generator 4.7
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_CookiesDialog(object):
    def setupUi(self, CookiesDialog):
        CookiesDialog.setObjectName("CookiesDialog")
        CookiesDialog.resize(500, 350)
        CookiesDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(CookiesDialog)
        self.gridLayout.setObjectName("gridLayout")
        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(CookiesDialog)
        self.searchEdit.setObjectName("searchEdit")
        self.horizontalLayout.addWidget(self.searchEdit)
        self.clearButton = QtGui.QToolButton(CookiesDialog)
        self.clearButton.setObjectName("clearButton")
        self.horizontalLayout.addWidget(self.clearButton)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 4)
        self.cookiesTable = E4TableView(CookiesDialog)
        self.cookiesTable.setAlternatingRowColors(True)
        self.cookiesTable.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.cookiesTable.setTextElideMode(QtCore.Qt.ElideMiddle)
        self.cookiesTable.setShowGrid(False)
        self.cookiesTable.setSortingEnabled(True)
        self.cookiesTable.setObjectName("cookiesTable")
        self.gridLayout.addWidget(self.cookiesTable, 1, 0, 1, 4)
        self.removeButton = QtGui.QPushButton(CookiesDialog)
        self.removeButton.setObjectName("removeButton")
        self.gridLayout.addWidget(self.removeButton, 2, 0, 1, 1)
        self.removeAllButton = QtGui.QPushButton(CookiesDialog)
        self.removeAllButton.setObjectName("removeAllButton")
        self.gridLayout.addWidget(self.removeAllButton, 2, 1, 1, 1)
        self.addButton = QtGui.QPushButton(CookiesDialog)
        self.addButton.setObjectName("addButton")
        self.gridLayout.addWidget(self.addButton, 2, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(208, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 2, 3, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(CookiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 4)

        self.retranslateUi(CookiesDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), CookiesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), CookiesDialog.reject)
        QtCore.QObject.connect(self.clearButton, QtCore.SIGNAL("clicked()"), self.searchEdit.clear)
        QtCore.QMetaObject.connectSlotsByName(CookiesDialog)
        CookiesDialog.setTabOrder(self.searchEdit, self.clearButton)
        CookiesDialog.setTabOrder(self.clearButton, self.cookiesTable)
        CookiesDialog.setTabOrder(self.cookiesTable, self.removeButton)
        CookiesDialog.setTabOrder(self.removeButton, self.removeAllButton)
        CookiesDialog.setTabOrder(self.removeAllButton, self.addButton)
        CookiesDialog.setTabOrder(self.addButton, self.buttonBox)

    def retranslateUi(self, CookiesDialog):
        CookiesDialog.setWindowTitle(QtGui.QApplication.translate("CookiesDialog", "Cookies", None, QtGui.QApplication.UnicodeUTF8))
        self.searchEdit.setToolTip(QtGui.QApplication.translate("CookiesDialog", "Enter search term for cookies", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setToolTip(QtGui.QApplication.translate("CookiesDialog", "Press to clear the search edit", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setToolTip(QtGui.QApplication.translate("CookiesDialog", "Press to remove the selected entries", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setText(QtGui.QApplication.translate("CookiesDialog", "&Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.removeAllButton.setToolTip(QtGui.QApplication.translate("CookiesDialog", "Press to remove all entries", None, QtGui.QApplication.UnicodeUTF8))
        self.removeAllButton.setText(QtGui.QApplication.translate("CookiesDialog", "Remove &All", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("CookiesDialog", "Press to open the cookies exceptions dialog to add a new rule", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("CookiesDialog", "Add R&ule...", None, QtGui.QApplication.UnicodeUTF8))

from E4Gui.E4TableView import E4TableView
