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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Project/FiletypeAssociationDialog.ui'
#
# Created: Sat Feb  3 15:34:03 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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(QtCore.QSize(QtCore.QRect(0,0,600,573).size()).expandedTo(FiletypeAssociationDialog.minimumSizeHint()))
        FiletypeAssociationDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(FiletypeAssociationDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.filetypeAssociationList = QtGui.QTreeWidget(FiletypeAssociationDialog)
        self.filetypeAssociationList.setAlternatingRowColors(True)
        self.filetypeAssociationList.setRootIsDecorated(False)
        self.filetypeAssociationList.setItemsExpandable(False)
        self.filetypeAssociationList.setSortingEnabled(True)
        self.filetypeAssociationList.setObjectName("filetypeAssociationList")
        self.filetypeAssociationList.headerItem().setText(2,"")
        self.vboxlayout.addWidget(self.filetypeAssociationList)

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.deleteAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.deleteAssociationButton.setEnabled(False)
        self.deleteAssociationButton.setObjectName("deleteAssociationButton")
        self.gridlayout.addWidget(self.deleteAssociationButton,1,2,1,1)

        self.filetypeCombo = QtGui.QComboBox(FiletypeAssociationDialog)
        self.filetypeCombo.setObjectName("filetypeCombo")
        self.gridlayout.addWidget(self.filetypeCombo,1,1,1,1)

        self.textLabel3_3 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel3_3.setObjectName("textLabel3_3")
        self.gridlayout.addWidget(self.textLabel3_3,1,0,1,1)

        self.filePatternEdit = QtGui.QLineEdit(FiletypeAssociationDialog)
        self.filePatternEdit.setObjectName("filePatternEdit")
        self.gridlayout.addWidget(self.filePatternEdit,0,1,1,1)

        self.textLabel2_6 = QtGui.QLabel(FiletypeAssociationDialog)
        self.textLabel2_6.setObjectName("textLabel2_6")
        self.gridlayout.addWidget(self.textLabel2_6,0,0,1,1)

        self.addAssociationButton = QtGui.QPushButton(FiletypeAssociationDialog)
        self.addAssociationButton.setEnabled(False)
        self.addAssociationButton.setObjectName("addAssociationButton")
        self.gridlayout.addWidget(self.addAssociationButton,0,2,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(FiletypeAssociationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.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.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))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    FiletypeAssociationDialog = QtGui.QDialog()
    ui = Ui_FiletypeAssociationDialog()
    ui.setupUi(FiletypeAssociationDialog)
    FiletypeAssociationDialog.show()
    sys.exit(app.exec_())
