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

# Form implementation generated from reading ui file 'eric/Helpviewer/QtHelpFiltersDialog.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_QtHelpFiltersDialog(object):
    def setupUi(self, QtHelpFiltersDialog):
        QtHelpFiltersDialog.setObjectName(_fromUtf8("QtHelpFiltersDialog"))
        QtHelpFiltersDialog.resize(570, 391)
        QtHelpFiltersDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(QtHelpFiltersDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(QtHelpFiltersDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.label_2 = QtGui.QLabel(QtHelpFiltersDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 2, 1, 2)
        self.filtersList = QtGui.QListWidget(QtHelpFiltersDialog)
        self.filtersList.setAlternatingRowColors(True)
        self.filtersList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.filtersList.setObjectName(_fromUtf8("filtersList"))
        self.gridLayout.addWidget(self.filtersList, 1, 0, 1, 2)
        self.attributesList = QtGui.QTreeWidget(QtHelpFiltersDialog)
        self.attributesList.setAlternatingRowColors(True)
        self.attributesList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.attributesList.setRootIsDecorated(False)
        self.attributesList.setHeaderHidden(True)
        self.attributesList.setObjectName(_fromUtf8("attributesList"))
        self.gridLayout.addWidget(self.attributesList, 1, 2, 1, 2)
        self.addButton = QtGui.QPushButton(QtHelpFiltersDialog)
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.gridLayout.addWidget(self.addButton, 2, 0, 1, 1)
        self.removeButton = QtGui.QPushButton(QtHelpFiltersDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.gridLayout.addWidget(self.removeButton, 2, 1, 1, 1)
        self.removeAttributeButton = QtGui.QPushButton(QtHelpFiltersDialog)
        self.removeAttributeButton.setObjectName(_fromUtf8("removeAttributeButton"))
        self.gridLayout.addWidget(self.removeAttributeButton, 2, 2, 1, 1)
        self.unusedAttributesButton = QtGui.QPushButton(QtHelpFiltersDialog)
        self.unusedAttributesButton.setObjectName(_fromUtf8("unusedAttributesButton"))
        self.gridLayout.addWidget(self.unusedAttributesButton, 2, 3, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(QtHelpFiltersDialog)
        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(QtHelpFiltersDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QtHelpFiltersDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(QtHelpFiltersDialog)
        QtHelpFiltersDialog.setTabOrder(self.filtersList, self.addButton)
        QtHelpFiltersDialog.setTabOrder(self.addButton, self.removeButton)
        QtHelpFiltersDialog.setTabOrder(self.removeButton, self.attributesList)
        QtHelpFiltersDialog.setTabOrder(self.attributesList, self.removeAttributeButton)
        QtHelpFiltersDialog.setTabOrder(self.removeAttributeButton, self.unusedAttributesButton)
        QtHelpFiltersDialog.setTabOrder(self.unusedAttributesButton, self.buttonBox)

    def retranslateUi(self, QtHelpFiltersDialog):
        QtHelpFiltersDialog.setWindowTitle(_translate("QtHelpFiltersDialog", "Manage QtHelp Filters", None))
        self.label.setText(_translate("QtHelpFiltersDialog", "Filters:", None))
        self.label_2.setText(_translate("QtHelpFiltersDialog", "Attributes:", None))
        self.filtersList.setSortingEnabled(True)
        self.attributesList.setSortingEnabled(True)
        self.attributesList.headerItem().setText(0, _translate("QtHelpFiltersDialog", "1", None))
        self.addButton.setToolTip(_translate("QtHelpFiltersDialog", "Press to add a new filter", None))
        self.addButton.setText(_translate("QtHelpFiltersDialog", "Add Filter ...", None))
        self.removeButton.setToolTip(_translate("QtHelpFiltersDialog", "Press to remove the selected filters", None))
        self.removeButton.setText(_translate("QtHelpFiltersDialog", "Remove Filters", None))
        self.removeAttributeButton.setToolTip(_translate("QtHelpFiltersDialog", "Press to remove the selected attributes", None))
        self.removeAttributeButton.setText(_translate("QtHelpFiltersDialog", "Remove Attributes", None))
        self.unusedAttributesButton.setStatusTip(_translate("QtHelpFiltersDialog", "Press to select all unused attributes", None))
        self.unusedAttributesButton.setText(_translate("QtHelpFiltersDialog", "Select Unused", None))

