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

# Form implementation generated from reading ui file 'eric/Helpviewer/QtHelpFiltersDialog.ui'
#
# Created: Thu Feb 10 10:05:39 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_QtHelpFiltersDialog(object):
    def setupUi(self, QtHelpFiltersDialog):
        QtHelpFiltersDialog.setObjectName(_fromUtf8("QtHelpFiltersDialog"))
        QtHelpFiltersDialog.resize(570, 391)
        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, 1)
        self.filtersList = QtGui.QListWidget(QtHelpFiltersDialog)
        self.filtersList.setObjectName(_fromUtf8("filtersList"))
        self.gridLayout.addWidget(self.filtersList, 1, 0, 1, 2)
        self.attributesList = QtGui.QTreeWidget(QtHelpFiltersDialog)
        self.attributesList.setRootIsDecorated(False)
        self.attributesList.setObjectName(_fromUtf8("attributesList"))
        self.gridLayout.addWidget(self.attributesList, 1, 2, 2, 1)
        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.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.attributesList)
        QtHelpFiltersDialog.setTabOrder(self.attributesList, self.addButton)
        QtHelpFiltersDialog.setTabOrder(self.addButton, self.removeButton)
        QtHelpFiltersDialog.setTabOrder(self.removeButton, self.buttonBox)

    def retranslateUi(self, QtHelpFiltersDialog):
        QtHelpFiltersDialog.setWindowTitle(QtGui.QApplication.translate("QtHelpFiltersDialog", "Manage QtHelp Filters", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("QtHelpFiltersDialog", "Filters:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("QtHelpFiltersDialog", "Attributes:", None, QtGui.QApplication.UnicodeUTF8))
        self.attributesList.headerItem().setText(0, QtGui.QApplication.translate("QtHelpFiltersDialog", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("QtHelpFiltersDialog", "Press to add a new filter", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("QtHelpFiltersDialog", "Add...", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setToolTip(QtGui.QApplication.translate("QtHelpFiltersDialog", "Press to remove the selected filter", None, QtGui.QApplication.UnicodeUTF8))
        self.removeButton.setText(QtGui.QApplication.translate("QtHelpFiltersDialog", "Remove", None, QtGui.QApplication.UnicodeUTF8))

