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

# Form implementation generated from reading ui file 'eric/Project/FiletypeAssociationDialog.ui'
#
# Created: Mon May 10 20:39:41 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_FiletypeAssociationDialog(object):
    def setupUi(self, FiletypeAssociationDialog):
        FiletypeAssociationDialog.setObjectName("FiletypeAssociationDialog")
        FiletypeAssociationDialog.resize(600, 573)
        FiletypeAssociationDialog.setSizeGripEnabled(True)
        self._2 = QtGui.QVBoxLayout(FiletypeAssociationDialog)
        self._2.setObjectName("_2")
        self.filetypeAssociationList = QtGui.QTreeWidget(FiletypeAssociationDialog)
        self.filetypeAssociationList.setAlternatingRowColors(True)
        self.filetypeAssociationList.setRootIsDecorated(False)
        self.filetypeAssociationList.setItemsExpandable(False)
        self.filetypeAssociationList.setObjectName("filetypeAssociationList")
        self._2.addWidget(self.filetypeAssociationList)
        self._3 = QtGui.QGridLayout()
        self._3.setObjectName("_3")
        self.deleteAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.deleteAssociationButton.setEnabled(False)
        self.deleteAssociationButton.setObjectName("deleteAssociationButton")
        self._3.addWidget(self.deleteAssociationButton, 1, 2, 1, 1)
        self.filetypeCombo = QtGui.QComboBox(FiletypeAssociationDialog)
        self.filetypeCombo.setObjectName("filetypeCombo")
        self._3.addWidget(self.filetypeCombo, 1, 1, 1, 1)
        self.textLabel3_3 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel3_3.setObjectName("textLabel3_3")
        self._3.addWidget(self.textLabel3_3, 1, 0, 1, 1)
        self.filePatternEdit = QtGui.QLineEdit(FiletypeAssociationDialog)
        self.filePatternEdit.setObjectName("filePatternEdit")
        self._3.addWidget(self.filePatternEdit, 0, 1, 1, 1)
        self.textLabel2_6 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel2_6.setObjectName("textLabel2_6")
        self._3.addWidget(self.textLabel2_6, 0, 0, 1, 1)
        self.addAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.addAssociationButton.setEnabled(False)
        self.addAssociationButton.setObjectName("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("buttonBox")
        self._2.addWidget(self.buttonBox)

        self.retranslateUi(FiletypeAssociationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), FiletypeAssociationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("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):
        FiletypeAssociationDialog.setWindowTitle(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filetype Associations", None, QtGui.QApplication.UnicodeUTF8))
        self.filetypeAssociationList.setSortingEnabled(True)
        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.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.filetypeCombo.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Select the filetype to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_3.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filetype:", None, QtGui.QApplication.UnicodeUTF8))
        self.filePatternEdit.setToolTip(QtGui.QApplication.translate("FiletypeAssociationDialog", "Enter the filename pattern to be associated", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_6.setText(QtGui.QApplication.translate("FiletypeAssociationDialog", "Filename Pattern:", None, QtGui.QApplication.UnicodeUTF8))
        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))

