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

# Form implementation generated from reading ui file 'eric/Project/FiletypeAssociationDialog.ui'
#
# Created: Thu Mar 15 18:48:28 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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_FiletypeAssociationDialog(object):
    def setupUi(self, FiletypeAssociationDialog):
        FiletypeAssociationDialog.setObjectName(_fromUtf8("FiletypeAssociationDialog"))
        FiletypeAssociationDialog.resize(600, 573)
        FiletypeAssociationDialog.setWindowTitle(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filetype Associations", None, QtGui.QApplication.UnicodeUTF8))
        FiletypeAssociationDialog.setSizeGripEnabled(True)
        self._2 = QtGui.QVBoxLayout(FiletypeAssociationDialog)
        self._2.setObjectName(_fromUtf8("_2"))
        self.filetypeAssociationList = QtGui.QTreeWidget(FiletypeAssociationDialog)
        self.filetypeAssociationList.setAlternatingRowColors(True)
        self.filetypeAssociationList.setRootIsDecorated(False)
        self.filetypeAssociationList.setItemsExpandable(False)
        self.filetypeAssociationList.setObjectName(_fromUtf8("filetypeAssociationList"))
        self.filetypeAssociationList.headerItem().setText(0, QtGui.QApplication.translate("FiletypeAssociationDialog", "Filename Pattern", None, QtGui.QApplication.UnicodeUTF8))
        self.filetypeAssociationList.headerItem().setText(1, QtGui.QApplication.translate("FiletypeAssociationDialog", "Filetype", None, QtGui.QApplication.UnicodeUTF8))
        self._2.addWidget(self.filetypeAssociationList)
        self._3 = QtGui.QGridLayout()
        self._3.setObjectName(_fromUtf8("_3"))
        self.deleteAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.deleteAssociationButton.setEnabled(False)
        self.deleteAssociationButton.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Press to delete the selected association", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteAssociationButton.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteAssociationButton.setObjectName(_fromUtf8("deleteAssociationButton"))
        self._3.addWidget(self.deleteAssociationButton, 1, 2, 1, 1)
        self.filetypeCombo = QtGui.QComboBox(FiletypeAssociationDialog)
        self.filetypeCombo.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Select the filetype to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.filetypeCombo.setObjectName(_fromUtf8("filetypeCombo"))
        self._3.addWidget(self.filetypeCombo, 1, 1, 1, 1)
        self.textLabel3_3 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel3_3.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filetype:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_3.setObjectName(_fromUtf8("textLabel3_3"))
        self._3.addWidget(self.textLabel3_3, 1, 0, 1, 1)
        self.filePatternEdit = QtGui.QLineEdit(FiletypeAssociationDialog)
        self.filePatternEdit.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Enter the filename pattern to be associated", None, QtGui.QApplication.UnicodeUTF8))
        self.filePatternEdit.setObjectName(_fromUtf8("filePatternEdit"))
        self._3.addWidget(self.filePatternEdit, 0, 1, 1, 1)
        self.textLabel2_6 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel2_6.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filename Pattern:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_6.setObjectName(_fromUtf8("textLabel2_6"))
        self._3.addWidget(self.textLabel2_6, 0, 0, 1, 1)
        self.addAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.addAssociationButton.setEnabled(False)
        self.addAssociationButton.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Press to add or change the entered association", None, QtGui.QApplication.UnicodeUTF8))
        self.addAssociationButton.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Add/Change", None, QtGui.QApplication.UnicodeUTF8))
        self.addAssociationButton.setObjectName(_fromUtf8("addAssociationButton"))
        self._3.addWidget(self.addAssociationButton, 0, 2, 1, 1)
        self._2.addLayout(self._3)
        self.buttonBox = QtGui.QDialogButtonBox(FiletypeAssociationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self._2.addWidget(self.buttonBox)

        self.retranslateUi(FiletypeAssociationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FiletypeAssociationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FiletypeAssociationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(FiletypeAssociationDialog)
        FiletypeAssociationDialog.setTabOrder(self.filetypeAssociationList, self.filePatternEdit)
        FiletypeAssociationDialog.setTabOrder(self.filePatternEdit, self.filetypeCombo)
        FiletypeAssociationDialog.setTabOrder(self.filetypeCombo, self.addAssociationButton)
        FiletypeAssociationDialog.setTabOrder(self.addAssociationButton, self.deleteAssociationButton)

    def retranslateUi(self, FiletypeAssociationDialog):
        self.filetypeAssociationList.setSortingEnabled(True)

