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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_1/eric4/Plugins/DocumentationPlugins/Ericdoc/EricdocConfigDialog.ui'
#
# Created: Thu Jun 28 07:50:04 2007
#      by: PyQt4 UI code generator 4-snapshot-20070612
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EricdocConfigDialog(object):
    def setupUi(self, EricdocConfigDialog):
        EricdocConfigDialog.setObjectName("EricdocConfigDialog")
        EricdocConfigDialog.resize(QtCore.QSize(QtCore.QRect(0,0,525,550).size()).expandedTo(EricdocConfigDialog.minimumSizeHint()))
        EricdocConfigDialog.setSizeGripEnabled(True)

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

        self.tabWidget = QtGui.QTabWidget(EricdocConfigDialog)
        self.tabWidget.setObjectName("tabWidget")

        self.generalTab = QtGui.QWidget()
        self.generalTab.setObjectName("generalTab")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.generalTab)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

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

        self.TextLabel6 = QtGui.QLabel(self.generalTab)
        self.TextLabel6.setObjectName("TextLabel6")
        self.hboxlayout.addWidget(self.TextLabel6)

        self.outputDirEdit = QtGui.QLineEdit(self.generalTab)
        self.outputDirEdit.setObjectName("outputDirEdit")
        self.hboxlayout.addWidget(self.outputDirEdit)

        self.outputDirButton = QtGui.QPushButton(self.generalTab)
        self.outputDirButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.outputDirButton.setObjectName("outputDirButton")
        self.hboxlayout.addWidget(self.outputDirButton)
        self.vboxlayout1.addLayout(self.hboxlayout)

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

        self.textLabel1_3 = QtGui.QLabel(self.generalTab)
        self.textLabel1_3.setObjectName("textLabel1_3")
        self.hboxlayout1.addWidget(self.textLabel1_3)

        self.sourceExtEdit = QtGui.QLineEdit(self.generalTab)
        self.sourceExtEdit.setObjectName("sourceExtEdit")
        self.hboxlayout1.addWidget(self.sourceExtEdit)
        self.vboxlayout1.addLayout(self.hboxlayout1)

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

        self.recursionCheckBox = QtGui.QCheckBox(self.generalTab)
        self.recursionCheckBox.setObjectName("recursionCheckBox")
        self.hboxlayout2.addWidget(self.recursionCheckBox)

        self.noindexCheckBox = QtGui.QCheckBox(self.generalTab)
        self.noindexCheckBox.setObjectName("noindexCheckBox")
        self.hboxlayout2.addWidget(self.noindexCheckBox)

        spacerItem = QtGui.QSpacerItem(145,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem)
        self.vboxlayout1.addLayout(self.hboxlayout2)

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

        self.noemptyCheckBox = QtGui.QCheckBox(self.generalTab)
        self.noemptyCheckBox.setObjectName("noemptyCheckBox")
        self.hboxlayout3.addWidget(self.noemptyCheckBox)

        spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout3.addItem(spacerItem1)
        self.vboxlayout1.addLayout(self.hboxlayout3)

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

        self.label = QtGui.QLabel(self.generalTab)
        self.label.setObjectName("label")
        self.hboxlayout4.addWidget(self.label)

        self.excludeFilesEdit = QtGui.QLineEdit(self.generalTab)
        self.excludeFilesEdit.setObjectName("excludeFilesEdit")
        self.hboxlayout4.addWidget(self.excludeFilesEdit)
        self.vboxlayout1.addLayout(self.hboxlayout4)

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

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

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

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

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

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

        self.ignoreDirsList = QtGui.QListWidget(self.groupBox)
        self.ignoreDirsList.setObjectName("ignoreDirsList")
        self.gridlayout.addWidget(self.ignoreDirsList,0,0,1,4)
        self.vboxlayout1.addWidget(self.groupBox)
        self.tabWidget.addTab(self.generalTab,"")

        self.styleTab = QtGui.QWidget()
        self.styleTab.setObjectName("styleTab")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.styleTab)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.groupBox_3 = QtGui.QGroupBox(self.styleTab)
        self.groupBox_3.setObjectName("groupBox_3")

        self.hboxlayout5 = QtGui.QHBoxLayout(self.groupBox_3)
        self.hboxlayout5.setMargin(6)
        self.hboxlayout5.setSpacing(6)
        self.hboxlayout5.setObjectName("hboxlayout5")

        self.cssEdit = QtGui.QLineEdit(self.groupBox_3)
        self.cssEdit.setObjectName("cssEdit")
        self.hboxlayout5.addWidget(self.cssEdit)

        self.cssButton = QtGui.QPushButton(self.groupBox_3)
        self.cssButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.cssButton.setObjectName("cssButton")
        self.hboxlayout5.addWidget(self.cssButton)
        self.vboxlayout2.addWidget(self.groupBox_3)

        self.groupBox_2 = QtGui.QGroupBox(self.styleTab)
        self.groupBox_2.setObjectName("groupBox_2")

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

        self.cfBgButton = QtGui.QPushButton(self.groupBox_2)
        self.cfBgButton.setObjectName("cfBgButton")
        self.gridlayout1.addWidget(self.cfBgButton,3,1,1,1)

        self.cfFgButton = QtGui.QPushButton(self.groupBox_2)
        self.cfFgButton.setObjectName("cfFgButton")
        self.gridlayout1.addWidget(self.cfFgButton,3,0,1,1)

        self.l2BgButton = QtGui.QPushButton(self.groupBox_2)
        self.l2BgButton.setObjectName("l2BgButton")
        self.gridlayout1.addWidget(self.l2BgButton,2,1,1,1)

        self.l2FgButton = QtGui.QPushButton(self.groupBox_2)
        self.l2FgButton.setObjectName("l2FgButton")
        self.gridlayout1.addWidget(self.l2FgButton,2,0,1,1)

        self.l1BgButton = QtGui.QPushButton(self.groupBox_2)
        self.l1BgButton.setObjectName("l1BgButton")
        self.gridlayout1.addWidget(self.l1BgButton,1,1,1,1)

        self.l1FgButton = QtGui.QPushButton(self.groupBox_2)
        self.l1FgButton.setObjectName("l1FgButton")
        self.gridlayout1.addWidget(self.l1FgButton,1,0,1,1)

        self.bodyBgButton = QtGui.QPushButton(self.groupBox_2)
        self.bodyBgButton.setObjectName("bodyBgButton")
        self.gridlayout1.addWidget(self.bodyBgButton,0,1,1,1)

        self.bodyFgButton = QtGui.QPushButton(self.groupBox_2)
        self.bodyFgButton.setObjectName("bodyFgButton")
        self.gridlayout1.addWidget(self.bodyFgButton,0,0,1,1)

        self.linkFgButton = QtGui.QPushButton(self.groupBox_2)
        self.linkFgButton.setObjectName("linkFgButton")
        self.gridlayout1.addWidget(self.linkFgButton,4,0,1,1)

        self.sample = QtGui.QTextEdit(self.groupBox_2)
        self.sample.setReadOnly(True)
        self.sample.setObjectName("sample")
        self.gridlayout1.addWidget(self.sample,5,0,1,2)
        self.vboxlayout2.addWidget(self.groupBox_2)
        self.tabWidget.addTab(self.styleTab,"")
        self.vboxlayout.addWidget(self.tabWidget)

        self.buttonBox = QtGui.QDialogButtonBox(EricdocConfigDialog)
        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(EricdocConfigDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),EricdocConfigDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),EricdocConfigDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EricdocConfigDialog)
        EricdocConfigDialog.setTabOrder(self.tabWidget,self.outputDirEdit)
        EricdocConfigDialog.setTabOrder(self.outputDirEdit,self.sourceExtEdit)
        EricdocConfigDialog.setTabOrder(self.sourceExtEdit,self.recursionCheckBox)
        EricdocConfigDialog.setTabOrder(self.recursionCheckBox,self.noindexCheckBox)
        EricdocConfigDialog.setTabOrder(self.noindexCheckBox,self.noemptyCheckBox)
        EricdocConfigDialog.setTabOrder(self.noemptyCheckBox,self.excludeFilesEdit)
        EricdocConfigDialog.setTabOrder(self.excludeFilesEdit,self.ignoreDirsList)
        EricdocConfigDialog.setTabOrder(self.ignoreDirsList,self.ignoreDirEdit)
        EricdocConfigDialog.setTabOrder(self.ignoreDirEdit,self.addButton)
        EricdocConfigDialog.setTabOrder(self.addButton,self.deleteButton)
        EricdocConfigDialog.setTabOrder(self.deleteButton,self.cssEdit)
        EricdocConfigDialog.setTabOrder(self.cssEdit,self.bodyFgButton)
        EricdocConfigDialog.setTabOrder(self.bodyFgButton,self.bodyBgButton)
        EricdocConfigDialog.setTabOrder(self.bodyBgButton,self.l1FgButton)
        EricdocConfigDialog.setTabOrder(self.l1FgButton,self.l1BgButton)
        EricdocConfigDialog.setTabOrder(self.l1BgButton,self.l2FgButton)
        EricdocConfigDialog.setTabOrder(self.l2FgButton,self.l2BgButton)
        EricdocConfigDialog.setTabOrder(self.l2BgButton,self.cfFgButton)
        EricdocConfigDialog.setTabOrder(self.cfFgButton,self.cfBgButton)
        EricdocConfigDialog.setTabOrder(self.cfBgButton,self.linkFgButton)
        EricdocConfigDialog.setTabOrder(self.linkFgButton,self.sample)
        EricdocConfigDialog.setTabOrder(self.sample,self.buttonBox)

    def retranslateUi(self, EricdocConfigDialog):
        EricdocConfigDialog.setWindowTitle(QtGui.QApplication.translate("EricdocConfigDialog", "Ericdoc Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel6.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Output Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.outputDirEdit.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Enter an output directory", None, QtGui.QApplication.UnicodeUTF8))
        self.outputDirButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to open a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.outputDirButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_3.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Additional source extensions:", None, QtGui.QApplication.UnicodeUTF8))
        self.sourceExtEdit.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Enter additional source extensions separated by a comma", None, QtGui.QApplication.UnicodeUTF8))
        self.recursionCheckBox.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Select to recurse into subdirectories", None, QtGui.QApplication.UnicodeUTF8))
        self.recursionCheckBox.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Recurse into subdirectories", None, QtGui.QApplication.UnicodeUTF8))
        self.noindexCheckBox.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Select, if no index files should be generated", None, QtGui.QApplication.UnicodeUTF8))
        self.noindexCheckBox.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Don\'t generate index files", None, QtGui.QApplication.UnicodeUTF8))
        self.noemptyCheckBox.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Select to exclude empty modules", None, QtGui.QApplication.UnicodeUTF8))
        self.noemptyCheckBox.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Don\'t include empty modules", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Exclude Files:", None, QtGui.QApplication.UnicodeUTF8))
        self.excludeFilesEdit.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Enter filename patterns of files to be excluded separated by a comma", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EricdocConfigDialog", "Exclude Directories", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirEdit.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Enter a directory basename to be ignored", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to add the entered directory to the list", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to delete the selected directory from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to open a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreDirsList.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "List of directory basenames to be ignored", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.generalTab), QtGui.QApplication.translate("EricdocConfigDialog", "General", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("EricdocConfigDialog", "Style Sheet", None, QtGui.QApplication.UnicodeUTF8))
        self.cssEdit.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Enter the filename of a CSS style sheet. Leave empty to use the colours defined below.", None, QtGui.QApplication.UnicodeUTF8))
        self.cssButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to open a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.cssButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("EricdocConfigDialog", "Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.cfBgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the class and function header background colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.cfBgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Class/Function Header Background", None, QtGui.QApplication.UnicodeUTF8))
        self.cfFgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the class and function header foreground colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.cfFgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Class/Function Header Foreground", None, QtGui.QApplication.UnicodeUTF8))
        self.l2BgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the level 2 header background colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.l2BgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Level 2 Header Background", None, QtGui.QApplication.UnicodeUTF8))
        self.l2FgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the level 2 header foreground colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.l2FgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Level 2 Header Foreground", None, QtGui.QApplication.UnicodeUTF8))
        self.l1BgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the level 1 header background colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.l1BgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Level 1 Header Background", None, QtGui.QApplication.UnicodeUTF8))
        self.l1FgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the level 1 header foreground colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.l1FgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Level 1 Header Foreground", None, QtGui.QApplication.UnicodeUTF8))
        self.bodyBgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the body background colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.bodyBgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Body Background", None, QtGui.QApplication.UnicodeUTF8))
        self.bodyFgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the body foreground colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.bodyFgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Body Foreground", None, QtGui.QApplication.UnicodeUTF8))
        self.linkFgButton.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "Press to select the foreground colour of links.", None, QtGui.QApplication.UnicodeUTF8))
        self.linkFgButton.setText(QtGui.QApplication.translate("EricdocConfigDialog", "Links", None, QtGui.QApplication.UnicodeUTF8))
        self.sample.setToolTip(QtGui.QApplication.translate("EricdocConfigDialog", "This shows an example of the selected colours.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.styleTab), QtGui.QApplication.translate("EricdocConfigDialog", "Style", None, QtGui.QApplication.UnicodeUTF8))



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