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

# Form implementation generated from reading ui file 'eric/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.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_FeaturePermissionsDialog(object):
    def setupUi(self, FeaturePermissionsDialog):
        FeaturePermissionsDialog.setObjectName(_fromUtf8("FeaturePermissionsDialog"))
        FeaturePermissionsDialog.resize(650, 400)
        FeaturePermissionsDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(FeaturePermissionsDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(FeaturePermissionsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.removeButton = QtGui.QPushButton(FeaturePermissionsDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.verticalLayout_3.addWidget(self.removeButton)
        self.removeAllButton = QtGui.QPushButton(FeaturePermissionsDialog)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.verticalLayout_3.addWidget(self.removeAllButton)
        self.gridLayout.addLayout(self.verticalLayout_3, 0, 1, 1, 1)
        self.tabWidget = QtGui.QTabWidget(FeaturePermissionsDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(FeaturePermissionsDialog)
        self.tabWidget.setCurrentIndex(-1)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FeaturePermissionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FeaturePermissionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(FeaturePermissionsDialog)
        FeaturePermissionsDialog.setTabOrder(self.tabWidget, self.removeButton)
        FeaturePermissionsDialog.setTabOrder(self.removeButton, self.removeAllButton)

    def retranslateUi(self, FeaturePermissionsDialog):
        FeaturePermissionsDialog.setWindowTitle(_translate("FeaturePermissionsDialog", "HTML5 Feature Permissions", None))
        self.removeButton.setText(_translate("FeaturePermissionsDialog", "&Remove", None))
        self.removeAllButton.setText(_translate("FeaturePermissionsDialog", "Remove &All", None))

