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

# Form implementation generated from reading ui file 'eric/Helpviewer/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(500, 400)
        FeaturePermissionsDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(FeaturePermissionsDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(FeaturePermissionsDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.notifList = QtGui.QTreeWidget(self.tab)
        self.notifList.setAlternatingRowColors(True)
        self.notifList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.notifList.setRootIsDecorated(False)
        self.notifList.setItemsExpandable(False)
        self.notifList.setAllColumnsShowFocus(True)
        self.notifList.setObjectName(_fromUtf8("notifList"))
        self.horizontalLayout_2.addWidget(self.notifList)
        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.notifRemoveButton = QtGui.QPushButton(self.tab)
        self.notifRemoveButton.setObjectName(_fromUtf8("notifRemoveButton"))
        self.verticalLayout_3.addWidget(self.notifRemoveButton)
        self.notifRemoveAllButton = QtGui.QPushButton(self.tab)
        self.notifRemoveAllButton.setObjectName(_fromUtf8("notifRemoveAllButton"))
        self.verticalLayout_3.addWidget(self.notifRemoveAllButton)
        self.horizontalLayout_2.addLayout(self.verticalLayout_3)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.tab_2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.geoList = QtGui.QTreeWidget(self.tab_2)
        self.geoList.setAlternatingRowColors(True)
        self.geoList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.geoList.setRootIsDecorated(False)
        self.geoList.setItemsExpandable(False)
        self.geoList.setAllColumnsShowFocus(True)
        self.geoList.setObjectName(_fromUtf8("geoList"))
        self.horizontalLayout.addWidget(self.geoList)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.geoRemoveButton = QtGui.QPushButton(self.tab_2)
        self.geoRemoveButton.setObjectName(_fromUtf8("geoRemoveButton"))
        self.verticalLayout.addWidget(self.geoRemoveButton)
        self.geoRemoveAllButton = QtGui.QPushButton(self.tab_2)
        self.geoRemoveAllButton.setObjectName(_fromUtf8("geoRemoveAllButton"))
        self.verticalLayout.addWidget(self.geoRemoveAllButton)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        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.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(FeaturePermissionsDialog)
        self.tabWidget.setCurrentIndex(0)
        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.notifList)
        FeaturePermissionsDialog.setTabOrder(self.notifList, self.notifRemoveButton)
        FeaturePermissionsDialog.setTabOrder(self.notifRemoveButton, self.notifRemoveAllButton)
        FeaturePermissionsDialog.setTabOrder(self.notifRemoveAllButton, self.geoList)
        FeaturePermissionsDialog.setTabOrder(self.geoList, self.geoRemoveButton)
        FeaturePermissionsDialog.setTabOrder(self.geoRemoveButton, self.geoRemoveAllButton)

    def retranslateUi(self, FeaturePermissionsDialog):
        FeaturePermissionsDialog.setWindowTitle(_translate("FeaturePermissionsDialog", "HTML5 Feature Permissions", None))
        self.notifList.setSortingEnabled(True)
        self.notifList.headerItem().setText(0, _translate("FeaturePermissionsDialog", "Host", None))
        self.notifList.headerItem().setText(1, _translate("FeaturePermissionsDialog", "Permission", None))
        self.notifRemoveButton.setText(_translate("FeaturePermissionsDialog", "Remove", None))
        self.notifRemoveAllButton.setText(_translate("FeaturePermissionsDialog", "Remove All", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("FeaturePermissionsDialog", "Notifications", None))
        self.geoList.setSortingEnabled(True)
        self.geoList.headerItem().setText(0, _translate("FeaturePermissionsDialog", "Host", None))
        self.geoList.headerItem().setText(1, _translate("FeaturePermissionsDialog", "Permission", None))
        self.geoRemoveButton.setText(_translate("FeaturePermissionsDialog", "Remove", None))
        self.geoRemoveAllButton.setText(_translate("FeaturePermissionsDialog", "Remove All", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("FeaturePermissionsDialog", "Geolocation", None))

