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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_0/eric4/DocumentationTools/EricapiConfigDialog.ui'
#
# Created: Tue May 15 08:19:51 2007
#      by: PyQt4 UI code generator 4-snapshot-20070513
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EricapiConfigDialog(object):
    def setupUi(self, EricapiConfigDialog):
        EricapiConfigDialog.setObjectName("EricapiConfigDialog")
        EricapiConfigDialog.resize(QtCore.QSize(QtCore.QRect(0,0,500,550).size()).expandedTo(EricapiConfigDialog.minimumSizeHint()))
        EricapiConfigDialog.setSizeGripEnabled(True)

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

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

        self.outputFileEdit = QtGui.QLineEdit(EricapiConfigDialog)
        self.outputFileEdit.setObjectName("outputFileEdit")
        self.gridlayout.addWidget(self.outputFileEdit,0,1,1,1)

        self.outputFileButton = QtGui.QPushButton(EricapiConfigDialog)
        self.outputFileButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.outputFileButton.setObjectName("outputFileButton")
        self.gridlayout.addWidget(self.outputFileButton,0,2,1,1)

        self.TextLabel6 = QtGui.QLabel(EricapiConfigDialog)
        self.TextLabel6.setObjectName("TextLabel6")
        self.gridlayout.addWidget(self.TextLabel6,0,0,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.textLabel1_3 = QtGui.QLabel(EricapiConfigDialog)
        self.textLabel1_3.setObjectName("textLabel1_3")
        self.hboxlayout.addWidget(self.textLabel1_3)

        self.sourceExtEdit = QtGui.QLineEdit(EricapiConfigDialog)
        self.sourceExtEdit.setObjectName("sourceExtEdit")
        self.hboxlayout.addWidget(self.sourceExtEdit)
        self.vboxlayout.addLayout(self.hboxlayout)

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

        spacerItem = QtGui.QSpacerItem(31,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem,0,2,1,1)

        self.oldStyleCheckBox = QtGui.QCheckBox(EricapiConfigDialog)
        self.oldStyleCheckBox.setObjectName("oldStyleCheckBox")
        self.gridlayout1.addWidget(self.oldStyleCheckBox,0,1,1,1)

        self.recursionCheckBox = QtGui.QCheckBox(EricapiConfigDialog)
        self.recursionCheckBox.setObjectName("recursionCheckBox")
        self.gridlayout1.addWidget(self.recursionCheckBox,0,0,1,1)

        self.includePrivateCheckBox = QtGui.QCheckBox(EricapiConfigDialog)
        self.includePrivateCheckBox.setObjectName("includePrivateCheckBox")
        self.gridlayout1.addWidget(self.includePrivateCheckBox,1,0,1,3)
        self.vboxlayout.addLayout(self.gridlayout1)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.label = QtGui.QLabel(EricapiConfigDialog)
        self.label.setObjectName("label")
        self.hboxlayout1.addWidget(self.label)

        self.baseEdit = QtGui.QLineEdit(EricapiConfigDialog)
        self.baseEdit.setObjectName("baseEdit")
        self.hboxlayout1.addWidget(self.baseEdit)
        self.vboxlayout.addLayout(self.hboxlayout1)

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        self.label_2 = QtGui.QLabel(EricapiConfigDialog)
        self.label_2.setObjectName("label_2")
        self.hboxlayout2.addWidget(self.label_2)

        self.excludeFilesEdit = QtGui.QLineEdit(EricapiConfigDialog)
        self.excludeFilesEdit.setObjectName("excludeFilesEdit")
        self.hboxlayout2.addWidget(self.excludeFilesEdit)
        self.vboxlayout.addLayout(self.hboxlayout2)

        self.groupBox = QtGui.QGroupBox(EricapiConfigDialog)
        self.groupBox.setObjectName("groupBox")

        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setMargin(6)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.ignoreDirEdit = QtGui.QLineEdit(self.groupBox)
        self.ignoreDirEdit.setObjectName("ignoreDirEdit")
        self.gridlayout2.addWidget(self.ignoreDirEdit,1,2,1,1)

        self.addButton = QtGui.QPushButton(self.groupBox)
        self.addButton.setObjectName("addButton")
        self.gridlayout2.addWidget(self.addButton,1,1,1,1)

        self.deleteButton = QtGui.QPushButton(self.groupBox)
        self.deleteButton.setObjectName("deleteButton")
        self.gridlayout2.addWidget(self.deleteButton,1,0,1,1)

        self.ignoreDirButton = QtGui.QPushButton(self.groupBox)
        self.ignoreDirButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.ignoreDirButton.setObjectName("ignoreDirButton")
        self.gridlayout2.addWidget(self.ignoreDirButton,1,3,1,1)

        self.ignoreDirsList = QtGui.QListWidget(self.groupBox)
        self.ignoreDirsList.setObjectName("ignoreDirsList")
        self.gridlayout2.addWidget(self.ignoreDirsList,0,0,1,4)
        self.vboxlayout.addWidget(self.groupBox)

        self.buttonBox = QtGui.QDialogButtonBox(EricapiConfigDialog)
        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(EricapiConfigDialog)
        QtCore.QObject.connect(self.oldStyleCheckBox,QtCore.SIGNAL("toggled(bool)"),self.label.setDisabled)
        QtCore.QObject.connect(self.oldStyleCheckBox,QtCore.SIGNAL("toggled(bool)"),self.baseEdit.setDisabled)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),EricapiConfigDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),EricapiConfigDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EricapiConfigDialog)
        EricapiConfigDialog.setTabOrder(self.outputFileEdit,self.sourceExtEdit)
        EricapiConfigDialog.setTabOrder(self.sourceExtEdit,self.recursionCheckBox)
        EricapiConfigDialog.setTabOrder(self.recursionCheckBox,self.oldStyleCheckBox)
        EricapiConfigDialog.setTabOrder(self.oldStyleCheckBox,self.includePrivateCheckBox)
        EricapiConfigDialog.setTabOrder(self.includePrivateCheckBox,self.baseEdit)
        EricapiConfigDialog.setTabOrder(self.baseEdit,self.excludeFilesEdit)
        EricapiConfigDialog.setTabOrder(self.excludeFilesEdit,self.ignoreDirEdit)
        EricapiConfigDialog.setTabOrder(self.ignoreDirEdit,self.addButton)
        EricapiConfigDialog.setTabOrder(self.addButton,self.ignoreDirsList)
        EricapiConfigDialog.setTabOrder(self.ignoreDirsList,self.deleteButton)
        EricapiConfigDialog.setTabOrder(self.deleteButton,self.buttonBox)

    def retranslateUi(self, EricapiConfigDialog):
        EricapiConfigDialog.setWindowTitle(QtGui.QApplication.translate("EricapiConfigDialog", "Ericapi Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.outputFileEdit.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Enter an output filename", None, QtGui.QApplication.UnicodeUTF8))
        self.outputFileButton.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Press to open a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.outputFileButton.setText(QtGui.QApplication.translate("EricapiConfigDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel6.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Output File:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_3.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Additional source extensions:", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceExtEdit.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Enter additional source extensions separated by a comma", None, QtGui.QApplication.UnicodeUTF8))
        self.oldStyleCheckBox.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Select to generate API files for QScintilla prior to 1.7", None, QtGui.QApplication.UnicodeUTF8))
        self.oldStyleCheckBox.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Generate old style API files", None, QtGui.QApplication.UnicodeUTF8))
        self.recursionCheckBox.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Select to recurse into subdirectories", None, QtGui.QApplication.UnicodeUTF8))
        self.recursionCheckBox.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Recurse into subdirectories", None, QtGui.QApplication.UnicodeUTF8))
        self.includePrivateCheckBox.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Select to include private classes, methods and functions in the API file", None, QtGui.QApplication.UnicodeUTF8))
        self.includePrivateCheckBox.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Include private classes, methods and functions", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Base package name:", None, QtGui.QApplication.UnicodeUTF8))
        self.baseEdit.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Enter the name of the base package", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Exclude Files:", None, QtGui.QApplication.UnicodeUTF8))
        self.excludeFilesEdit.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Enter filename patterns of files to be excluded separated by a comma", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EricapiConfigDialog", "Exclude Directories", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirEdit.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Enter a directory basename to be ignored", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Press to add the entered directory to the list", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Press to delete the selected directory from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("EricapiConfigDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirButton.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "Press to open a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirButton.setText(QtGui.QApplication.translate("EricapiConfigDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirsList.setToolTip(QtGui.QApplication.translate("EricapiConfigDialog", "List of directory basenames to be ignored", None, QtGui.QApplication.UnicodeUTF8))



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