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

# Form implementation generated from reading ui file 'eric/WebBrowser/Tools/WebIconDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_WebIconDialog(object):
    def setupUi(self, WebIconDialog):
        WebIconDialog.setObjectName(_fromUtf8("WebIconDialog"))
        WebIconDialog.resize(550, 600)
        WebIconDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(WebIconDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.iconsList = QtGui.QListWidget(WebIconDialog)
        self.iconsList.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.iconsList.setAlternatingRowColors(True)
        self.iconsList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.iconsList.setIconSize(QtCore.QSize(22, 22))
        self.iconsList.setObjectName(_fromUtf8("iconsList"))
        self.gridLayout.addWidget(self.iconsList, 0, 0, 3, 1)
        self.removeButton = QtGui.QPushButton(WebIconDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.gridLayout.addWidget(self.removeButton, 0, 1, 1, 1)
        self.removeAllButton = QtGui.QPushButton(WebIconDialog)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.gridLayout.addWidget(self.removeAllButton, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(WebIconDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, WebIconDialog):
        WebIconDialog.setWindowTitle(_translate("WebIconDialog", "Favicons", None))
        self.iconsList.setSortingEnabled(True)
        self.removeButton.setToolTip(_translate("WebIconDialog", "Press to remove the selected entries", None))
        self.removeButton.setText(_translate("WebIconDialog", "&Remove", None))
        self.removeAllButton.setToolTip(_translate("WebIconDialog", "Press to remove all entries", None))
        self.removeAllButton.setText(_translate("WebIconDialog", "Remove &All", None))

