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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric3_6/eric3/DocumentationTools/HappydocConfigForm.ui'
#
# Created: Do Dez 30 14:12:32 2004
#      by: The PyQt User Interface Compiler (pyuic) snapshot-20041229
#
# WARNING! All changes made in this file will be lost!


import sys
from qt import *


class HappydocConfigForm(QDialog):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        QDialog.__init__(self,parent,name,modal,fl)

        if not name:
            self.setName("HappydocConfigForm")


        HappydocConfigFormLayout = QVBoxLayout(self,6,6,"HappydocConfigFormLayout")

        self.TabWidget2 = QTabWidget(self,"TabWidget2")

        self.tab = QWidget(self.TabWidget2,"tab")
        tabLayout = QVBoxLayout(self.tab,6,6,"tabLayout")

        self.formattersGroup = QButtonGroup(self.tab,"formattersGroup")
        self.formattersGroup.setExclusive(1)
        self.formattersGroup.setColumnLayout(0,Qt.Vertical)
        self.formattersGroup.layout().setSpacing(6)
        self.formattersGroup.layout().setMargin(6)
        formattersGroupLayout = QGridLayout(self.formattersGroup.layout())
        formattersGroupLayout.setAlignment(Qt.AlignTop)

        self.RadioButton1 = QRadioButton(self.formattersGroup,"RadioButton1")

        formattersGroupLayout.addWidget(self.RadioButton1,0,0)

        self.RadioButton2 = QRadioButton(self.formattersGroup,"RadioButton2")

        formattersGroupLayout.addWidget(self.RadioButton2,1,0)

        self.RadioButton3 = QRadioButton(self.formattersGroup,"RadioButton3")

        formattersGroupLayout.addWidget(self.RadioButton3,0,1)

        self.RadioButton4 = QRadioButton(self.formattersGroup,"RadioButton4")

        formattersGroupLayout.addWidget(self.RadioButton4,1,1)

        self.RadioButton5 = QRadioButton(self.formattersGroup,"RadioButton5")

        formattersGroupLayout.addWidget(self.RadioButton5,0,2)

        self.RadioButton6 = QRadioButton(self.formattersGroup,"RadioButton6")

        formattersGroupLayout.addWidget(self.RadioButton6,1,2)
        tabLayout.addWidget(self.formattersGroup)

        self.colourGroupBox = QGroupBox(self.tab,"colourGroupBox")
        self.colourGroupBox.setColumnLayout(0,Qt.Vertical)
        self.colourGroupBox.layout().setSpacing(6)
        self.colourGroupBox.layout().setMargin(6)
        colourGroupBoxLayout = QGridLayout(self.colourGroupBox.layout())
        colourGroupBoxLayout.setAlignment(Qt.AlignTop)

        self.pbButton = QPushButton(self.colourGroupBox,"pbButton")

        colourGroupBoxLayout.addWidget(self.pbButton,0,0)

        self.cfButton = QPushButton(self.colourGroupBox,"cfButton")

        colourGroupBoxLayout.addWidget(self.cfButton,0,2)

        self.l1hbButton = QPushButton(self.colourGroupBox,"l1hbButton")

        colourGroupBoxLayout.addMultiCellWidget(self.l1hbButton,1,1,0,1)

        self.l1hfButton = QPushButton(self.colourGroupBox,"l1hfButton")

        colourGroupBoxLayout.addMultiCellWidget(self.l1hfButton,2,2,0,1)

        self.l1hEdit = QLineEdit(self.colourGroupBox,"l1hEdit")
        self.l1hEdit.setFocusPolicy(QLineEdit.NoFocus)
        self.l1hEdit.setAlignment(QLineEdit.AlignHCenter)
        self.l1hEdit.setReadOnly(1)

        colourGroupBoxLayout.addMultiCellWidget(self.l1hEdit,3,3,0,1)

        self.pbEdit = QLineEdit(self.colourGroupBox,"pbEdit")
        self.pbEdit.setFocusPolicy(QLineEdit.NoFocus)
        self.pbEdit.setAlignment(QLineEdit.AlignHCenter)
        self.pbEdit.setReadOnly(1)

        colourGroupBoxLayout.addWidget(self.pbEdit,0,1)

        self.cfEdit = QLineEdit(self.colourGroupBox,"cfEdit")
        self.cfEdit.setFocusPolicy(QLineEdit.NoFocus)
        self.cfEdit.setAlignment(QLineEdit.AlignHCenter)
        self.cfEdit.setReadOnly(1)

        colourGroupBoxLayout.addWidget(self.cfEdit,0,3)

        self.l2hEdit = QLineEdit(self.colourGroupBox,"l2hEdit")
        self.l2hEdit.setFocusPolicy(QLineEdit.NoFocus)
        self.l2hEdit.setAlignment(QLineEdit.AlignHCenter)

        colourGroupBoxLayout.addMultiCellWidget(self.l2hEdit,3,3,2,3)

        self.l2hbButton = QPushButton(self.colourGroupBox,"l2hbButton")

        colourGroupBoxLayout.addMultiCellWidget(self.l2hbButton,1,1,2,3)

        self.l2hfButton = QPushButton(self.colourGroupBox,"l2hfButton")

        colourGroupBoxLayout.addMultiCellWidget(self.l2hfButton,2,2,2,3)
        tabLayout.addWidget(self.colourGroupBox)

        self.htmlGroupBox = QGroupBox(self.tab,"htmlGroupBox")
        self.htmlGroupBox.setColumnLayout(0,Qt.Vertical)
        self.htmlGroupBox.layout().setSpacing(6)
        self.htmlGroupBox.layout().setMargin(6)
        htmlGroupBoxLayout = QHBoxLayout(self.htmlGroupBox.layout())
        htmlGroupBoxLayout.setAlignment(Qt.AlignTop)

        self.compactHTMLCheckBox = QCheckBox(self.htmlGroupBox,"compactHTMLCheckBox")
        htmlGroupBoxLayout.addWidget(self.compactHTMLCheckBox)

        self.quoteHTMLCheckBox = QCheckBox(self.htmlGroupBox,"quoteHTMLCheckBox")
        htmlGroupBoxLayout.addWidget(self.quoteHTMLCheckBox)
        tabLayout.addWidget(self.htmlGroupBox)

        Layout2 = QHBoxLayout(None,0,6,"Layout2")

        self.prefixLabel = QLabel(self.tab,"prefixLabel")
        Layout2.addWidget(self.prefixLabel)

        self.prefixEdit = QLineEdit(self.tab,"prefixEdit")
        Layout2.addWidget(self.prefixEdit)
        tabLayout.addLayout(Layout2)

        self.datetimeStampCheckBox = QCheckBox(self.tab,"datetimeStampCheckBox")
        tabLayout.addWidget(self.datetimeStampCheckBox)
        Spacer3 = QSpacerItem(0,30,QSizePolicy.Minimum,QSizePolicy.Expanding)
        tabLayout.addItem(Spacer3)
        self.TabWidget2.insertTab(self.tab,QString(""))

        self.tab_2 = QWidget(self.TabWidget2,"tab_2")
        tabLayout_2 = QVBoxLayout(self.tab_2,6,6,"tabLayout_2")

        self.docsetGroup = QButtonGroup(self.tab_2,"docsetGroup")
        self.docsetGroup.setExclusive(1)
        self.docsetGroup.setColumnLayout(0,Qt.Vertical)
        self.docsetGroup.layout().setSpacing(6)
        self.docsetGroup.layout().setMargin(6)
        docsetGroupLayout = QGridLayout(self.docsetGroup.layout())
        docsetGroupLayout.setAlignment(Qt.AlignTop)

        self.RadioButton7 = QRadioButton(self.docsetGroup,"RadioButton7")

        docsetGroupLayout.addWidget(self.RadioButton7,0,0)

        self.RadioButton10 = QRadioButton(self.docsetGroup,"RadioButton10")
        self.docsetGroup.insert( self.RadioButton10,3)

        docsetGroupLayout.addWidget(self.RadioButton10,1,1)

        self.RadioButton9 = QRadioButton(self.docsetGroup,"RadioButton9")

        docsetGroupLayout.addWidget(self.RadioButton9,0,1)

        self.RadioButton8 = QRadioButton(self.docsetGroup,"RadioButton8")
        self.docsetGroup.insert( self.RadioButton8,1)

        docsetGroupLayout.addWidget(self.RadioButton8,1,0)
        tabLayout_2.addWidget(self.docsetGroup)

        Layout3 = QGridLayout(None,1,1,0,6,"Layout3")

        self.privateCheckBox = QCheckBox(self.tab_2,"privateCheckBox")

        Layout3.addWidget(self.privateCheckBox,1,0)

        self.packagesCheckBox = QCheckBox(self.tab_2,"packagesCheckBox")

        Layout3.addWidget(self.packagesCheckBox,0,1)

        self.recursionCheckBox = QCheckBox(self.tab_2,"recursionCheckBox")

        Layout3.addWidget(self.recursionCheckBox,1,1)

        self.commentsCheckBox = QCheckBox(self.tab_2,"commentsCheckBox")

        Layout3.addWidget(self.commentsCheckBox,0,0)
        tabLayout_2.addLayout(Layout3)

        Layout4 = QGridLayout(None,1,1,0,6,"Layout4")

        self.titleEdit = QLineEdit(self.tab_2,"titleEdit")

        Layout4.addWidget(self.titleEdit,1,1)

        self.prewrittenEdit = QLineEdit(self.tab_2,"prewrittenEdit")

        Layout4.addWidget(self.prewrittenEdit,0,1)

        self.TextLabel4 = QLabel(self.tab_2,"TextLabel4")

        Layout4.addWidget(self.TextLabel4,1,0)

        self.TextLabel3 = QLabel(self.tab_2,"TextLabel3")

        Layout4.addWidget(self.TextLabel3,0,0)
        tabLayout_2.addLayout(Layout4)
        Spacer4 = QSpacerItem(0,30,QSizePolicy.Minimum,QSizePolicy.Expanding)
        tabLayout_2.addItem(Spacer4)
        self.TabWidget2.insertTab(self.tab_2,QString(""))

        self.tab_3 = QWidget(self.TabWidget2,"tab_3")
        tabLayout_3 = QVBoxLayout(self.tab_3,6,6,"tabLayout_3")

        self.docstringGroup = QButtonGroup(self.tab_3,"docstringGroup")
        self.docstringGroup.setExclusive(1)
        self.docstringGroup.setColumnLayout(0,Qt.Vertical)
        self.docstringGroup.layout().setSpacing(6)
        self.docstringGroup.layout().setMargin(6)
        docstringGroupLayout = QGridLayout(self.docstringGroup.layout())
        docstringGroupLayout.setAlignment(Qt.AlignTop)

        self.RadioButton12 = QRadioButton(self.docstringGroup,"RadioButton12")
        self.docstringGroup.insert( self.RadioButton12,1)

        docstringGroupLayout.addWidget(self.RadioButton12,1,0)

        self.RadioButton11 = QRadioButton(self.docstringGroup,"RadioButton11")
        self.docstringGroup.insert( self.RadioButton11,0)

        docstringGroupLayout.addWidget(self.RadioButton11,0,0)

        self.RadioButton13 = QRadioButton(self.docstringGroup,"RadioButton13")

        docstringGroupLayout.addWidget(self.RadioButton13,0,1)

        self.RadioButton14 = QRadioButton(self.docstringGroup,"RadioButton14")

        docstringGroupLayout.addWidget(self.RadioButton14,1,1)
        tabLayout_3.addWidget(self.docstringGroup)
        Spacer5 = QSpacerItem(0,30,QSizePolicy.Minimum,QSizePolicy.Expanding)
        tabLayout_3.addItem(Spacer5)
        self.TabWidget2.insertTab(self.tab_3,QString(""))

        self.tab_4 = QWidget(self.TabWidget2,"tab_4")
        tabLayout_4 = QVBoxLayout(self.tab_4,6,6,"tabLayout_4")

        Layout11 = QGridLayout(None,1,1,0,6,"Layout11")

        self.outputDirEdit = QLineEdit(self.tab_4,"outputDirEdit")

        Layout11.addWidget(self.outputDirEdit,2,1)

        self.packageDescrFileEdit = QLineEdit(self.tab_4,"packageDescrFileEdit")

        Layout11.addWidget(self.packageDescrFileEdit,1,1)

        self.authorEdit = QLineEdit(self.tab_4,"authorEdit")

        Layout11.addWidget(self.authorEdit,0,1)

        self.TextLabel6 = QLabel(self.tab_4,"TextLabel6")

        Layout11.addWidget(self.TextLabel6,2,0)

        self.TextLabel1 = QLabel(self.tab_4,"TextLabel1")

        Layout11.addWidget(self.TextLabel1,1,0)

        self.TextLabel5 = QLabel(self.tab_4,"TextLabel5")

        Layout11.addWidget(self.TextLabel5,0,0)

        self.outputDirButton = QPushButton(self.tab_4,"outputDirButton")
        self.outputDirButton.setFocusPolicy(QPushButton.NoFocus)

        Layout11.addWidget(self.outputDirButton,2,2)

        self.packageDescrFileButton = QPushButton(self.tab_4,"packageDescrFileButton")
        self.packageDescrFileButton.setFocusPolicy(QPushButton.NoFocus)

        Layout11.addWidget(self.packageDescrFileButton,1,2)
        tabLayout_4.addLayout(Layout11)

        self.GroupBox3 = QGroupBox(self.tab_4,"GroupBox3")
        self.GroupBox3.setColumnLayout(0,Qt.Vertical)
        self.GroupBox3.layout().setSpacing(6)
        self.GroupBox3.layout().setMargin(6)
        GroupBox3Layout = QGridLayout(self.GroupBox3.layout())
        GroupBox3Layout.setAlignment(Qt.AlignTop)

        self.ignoreDirButton = QPushButton(self.GroupBox3,"ignoreDirButton")
        self.ignoreDirButton.setFocusPolicy(QPushButton.NoFocus)

        GroupBox3Layout.addWidget(self.ignoreDirButton,1,3)

        self.deleteButton = QPushButton(self.GroupBox3,"deleteButton")

        GroupBox3Layout.addWidget(self.deleteButton,1,0)

        self.ignoreDirEdit = QLineEdit(self.GroupBox3,"ignoreDirEdit")

        GroupBox3Layout.addWidget(self.ignoreDirEdit,1,2)

        self.addButton = QPushButton(self.GroupBox3,"addButton")

        GroupBox3Layout.addWidget(self.addButton,1,1)

        self.ignoreDirsListBox = QListBox(self.GroupBox3,"ignoreDirsListBox")

        GroupBox3Layout.addMultiCellWidget(self.ignoreDirsListBox,0,0,0,3)
        tabLayout_4.addWidget(self.GroupBox3)
        self.TabWidget2.insertTab(self.tab_4,QString(""))
        HappydocConfigFormLayout.addWidget(self.TabWidget2)

        Layout1 = QHBoxLayout(None,0,6,"Layout1")
        Spacer1 = QSpacerItem(30,0,QSizePolicy.Expanding,QSizePolicy.Minimum)
        Layout1.addItem(Spacer1)

        self.okButton = QPushButton(self,"okButton")
        self.okButton.setDefault(1)
        Layout1.addWidget(self.okButton)

        self.cancelButton = QPushButton(self,"cancelButton")
        Layout1.addWidget(self.cancelButton)
        Spacer2 = QSpacerItem(30,0,QSizePolicy.Expanding,QSizePolicy.Minimum)
        Layout1.addItem(Spacer2)
        HappydocConfigFormLayout.addLayout(Layout1)

        self.languageChange()

        self.resize(QSize(505,451).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.connect(self.okButton,SIGNAL("clicked()"),self.accept)
        self.connect(self.cancelButton,SIGNAL("clicked()"),self.reject)
        self.connect(self.formattersGroup,SIGNAL("clicked(int)"),self.handleFormatterSelected)
        self.connect(self.pbButton,SIGNAL("clicked()"),self.handlePageBackground)
        self.connect(self.cfButton,SIGNAL("clicked()"),self.handleCodeForeground)
        self.connect(self.l1hbButton,SIGNAL("clicked()"),self.handleL1HeadingBackground)
        self.connect(self.l1hfButton,SIGNAL("clicked()"),self.handleL1HeadingForeground)
        self.connect(self.l2hbButton,SIGNAL("clicked()"),self.handleL2HeadingBackground)
        self.connect(self.l2hfButton,SIGNAL("clicked()"),self.handleL2HeadingForeground)
        self.connect(self.docsetGroup,SIGNAL("clicked(int)"),self.handleDocsetSelected)
        self.connect(self.docstringGroup,SIGNAL("clicked(int)"),self.handleDocstringSyntaxSelected)
        self.connect(self.outputDirButton,SIGNAL("clicked()"),self.handleOutputDir)
        self.connect(self.ignoreDirButton,SIGNAL("clicked()"),self.handleIgnoreDir)
        self.connect(self.addButton,SIGNAL("clicked()"),self.handleIgnoreDirAdd)
        self.connect(self.deleteButton,SIGNAL("clicked()"),self.handleIgnoreDirDelete)
        self.connect(self.packageDescrFileButton,SIGNAL("clicked()"),self.handlePackageDescrFile)

        self.setTabOrder(self.TabWidget2,self.RadioButton1)
        self.setTabOrder(self.RadioButton1,self.RadioButton2)
        self.setTabOrder(self.RadioButton2,self.RadioButton3)
        self.setTabOrder(self.RadioButton3,self.RadioButton4)
        self.setTabOrder(self.RadioButton4,self.RadioButton5)
        self.setTabOrder(self.RadioButton5,self.RadioButton6)
        self.setTabOrder(self.RadioButton6,self.pbButton)
        self.setTabOrder(self.pbButton,self.cfButton)
        self.setTabOrder(self.cfButton,self.l1hbButton)
        self.setTabOrder(self.l1hbButton,self.l1hfButton)
        self.setTabOrder(self.l1hfButton,self.l2hbButton)
        self.setTabOrder(self.l2hbButton,self.l2hfButton)
        self.setTabOrder(self.l2hfButton,self.compactHTMLCheckBox)
        self.setTabOrder(self.compactHTMLCheckBox,self.quoteHTMLCheckBox)
        self.setTabOrder(self.quoteHTMLCheckBox,self.prefixEdit)
        self.setTabOrder(self.prefixEdit,self.datetimeStampCheckBox)
        self.setTabOrder(self.datetimeStampCheckBox,self.RadioButton7)
        self.setTabOrder(self.RadioButton7,self.RadioButton8)
        self.setTabOrder(self.RadioButton8,self.RadioButton9)
        self.setTabOrder(self.RadioButton9,self.RadioButton10)
        self.setTabOrder(self.RadioButton10,self.commentsCheckBox)
        self.setTabOrder(self.commentsCheckBox,self.privateCheckBox)
        self.setTabOrder(self.privateCheckBox,self.packagesCheckBox)
        self.setTabOrder(self.packagesCheckBox,self.recursionCheckBox)
        self.setTabOrder(self.recursionCheckBox,self.prewrittenEdit)
        self.setTabOrder(self.prewrittenEdit,self.titleEdit)
        self.setTabOrder(self.titleEdit,self.RadioButton11)
        self.setTabOrder(self.RadioButton11,self.RadioButton12)
        self.setTabOrder(self.RadioButton12,self.RadioButton13)
        self.setTabOrder(self.RadioButton13,self.RadioButton14)
        self.setTabOrder(self.RadioButton14,self.authorEdit)
        self.setTabOrder(self.authorEdit,self.packageDescrFileEdit)
        self.setTabOrder(self.packageDescrFileEdit,self.outputDirEdit)
        self.setTabOrder(self.outputDirEdit,self.ignoreDirEdit)
        self.setTabOrder(self.ignoreDirEdit,self.addButton)
        self.setTabOrder(self.addButton,self.ignoreDirsListBox)
        self.setTabOrder(self.ignoreDirsListBox,self.deleteButton)
        self.setTabOrder(self.deleteButton,self.okButton)
        self.setTabOrder(self.okButton,self.cancelButton)
        self.setTabOrder(self.cancelButton,self.l1hEdit)
        self.setTabOrder(self.l1hEdit,self.pbEdit)
        self.setTabOrder(self.pbEdit,self.cfEdit)
        self.setTabOrder(self.cfEdit,self.l2hEdit)
        self.setTabOrder(self.l2hEdit,self.outputDirButton)
        self.setTabOrder(self.outputDirButton,self.ignoreDirButton)
        self.setTabOrder(self.ignoreDirButton,self.packageDescrFileButton)


    def languageChange(self):
        self.setCaption(self.__tr("Happydoc Configuration"))
        self.formattersGroup.setTitle(self.__tr("Available Formatters"))
        self.RadioButton1.setText(self.__tr("Dia"))
        QToolTip.add(self.RadioButton1,self.__tr("This selects the Gnome Dia format"))
        self.RadioButton2.setText(self.__tr("HTML with tables"))
        QToolTip.add(self.RadioButton2,self.__tr("This selects the HTML format with tables"))
        self.RadioButton3.setText(self.__tr("SGML DocBook"))
        QToolTip.add(self.RadioButton3,self.__tr("This selects the SGML DocBook formats"))
        self.RadioButton4.setText(self.__tr("ASCII text"))
        QToolTip.add(self.RadioButton4,self.__tr("This selects the plain text formats"))
        self.RadioButton5.setText(self.__tr("XML DocBook"))
        QToolTip.add(self.RadioButton5,self.__tr("This selects the XML DocBook formats"))
        self.RadioButton6.setText(self.__tr("Xpydoc"))
        QToolTip.add(self.RadioButton6,self.__tr("This selects the Xpydoc formats"))
        self.colourGroupBox.setTitle(self.__tr("HTML Colours"))
        self.pbButton.setText(self.__tr("Page Background"))
        QToolTip.add(self.pbButton,self.__tr("This changes the colour of the page background"))
        self.cfButton.setText(self.__tr("Code Foreground"))
        QToolTip.add(self.cfButton,self.__tr("This changes the colour of the code foreground"))
        self.l1hbButton.setText(self.__tr("Level 1 Heading Background"))
        QToolTip.add(self.l1hbButton,self.__tr("This changes the colour of the background of level 1 headings"))
        self.l1hfButton.setText(self.__tr("Leve 1 Heading Foreground"))
        QToolTip.add(self.l1hfButton,self.__tr("This changes the colour of the foreground of level 1 headings"))
        self.l1hEdit.setText(self.__tr("Level 1 Heading"))
        self.pbEdit.setText(self.__tr("Page"))
        self.cfEdit.setText(self.__tr("Code"))
        self.l2hEdit.setText(self.__tr("Level 2 Heading"))
        self.l2hbButton.setText(self.__tr("Level 2 Heading Background"))
        QToolTip.add(self.l2hbButton,self.__tr("This changes the colour of the background of level 2 headings"))
        self.l2hfButton.setText(self.__tr("Level 2 Heading Foreground"))
        QToolTip.add(self.l2hfButton,self.__tr("This changes the colour of the foreground of level 2 headings"))
        self.htmlGroupBox.setTitle(self.__tr("HTML Options"))
        self.compactHTMLCheckBox.setText(self.__tr("Use Compact HTML"))
        QToolTip.add(self.compactHTMLCheckBox,self.__tr("Select to produce more compact HTML"))
        self.quoteHTMLCheckBox.setText(self.__tr("HTML quote text"))
        QToolTip.add(self.quoteHTMLCheckBox,self.__tr("Select to quote docstrings"))
        self.prefixLabel.setText(self.__tr("Filename Prefix:"))
        QToolTip.add(self.prefixEdit,self.__tr("Enter a prefix to be prepended to the base names of generated files and directories"))
        self.datetimeStampCheckBox.setText(self.__tr("Include date/time stamp"))
        QToolTip.add(self.datetimeStampCheckBox,self.__tr("Select to include a date/time stamp in the files"))
        self.TabWidget2.changeTab(self.tab,self.__tr("Formatter"))
        self.docsetGroup.setTitle(self.__tr("Available DocSet Types"))
        self.RadioButton7.setText(self.__tr("Dia"))
        QToolTip.add(self.RadioButton7,self.__tr("This produces a doc set in Gnome Dia format"))
        self.RadioButton10.setText(self.__tr("Multiple structured files"))
        QToolTip.add(self.RadioButton10,self.__tr("This produces a docset with multiple structured files"))
        self.RadioButton9.setText(self.__tr("Single file"))
        QToolTip.add(self.RadioButton9,self.__tr("This produces a docset with a single file"))
        self.RadioButton8.setText(self.__tr("Multiple files"))
        QToolTip.add(self.RadioButton8,self.__tr("This produces a docset with multiple files"))
        self.privateCheckBox.setText(self.__tr("Include private names"))
        QToolTip.add(self.privateCheckBox,self.__tr("Select to include private name beginning with _"))
        self.packagesCheckBox.setText(self.__tr("Use special handling for packages"))
        QToolTip.add(self.packagesCheckBox,self.__tr("Select to provide special handling for packages"))
        self.recursionCheckBox.setText(self.__tr("Recurse into subdirectories"))
        QToolTip.add(self.recursionCheckBox,self.__tr("Select to recurse into subdirectories"))
        self.commentsCheckBox.setText(self.__tr("Include comments"))
        QToolTip.add(self.commentsCheckBox,self.__tr("Select to include comment strings as well"))
        QToolTip.add(self.titleEdit,self.__tr("Enter the title of the documentation set"))
        QToolTip.add(self.prewrittenEdit,self.__tr("Enter the basename of prewritten files to be included in the docset"))
        self.TextLabel4.setText(self.__tr("Title:"))
        self.TextLabel3.setText(self.__tr("Basename of prewritten files:"))
        self.TabWidget2.changeTab(self.tab_2,self.__tr("Documentation Set"))
        self.docstringGroup.setTitle(self.__tr("Available Docstring Syntaxes"))
        self.RadioButton12.setText(self.__tr("Classic Structured Text"))
        QToolTip.add(self.RadioButton12,self.__tr("This assumes docstrings in Classic Structured Text format"))
        self.RadioButton11.setText(self.__tr("Structured Text"))
        QToolTip.add(self.RadioButton11,self.__tr("This assumes docstrings in Structured Text NG format"))
        self.RadioButton13.setText(self.__tr("Plain Text"))
        QToolTip.add(self.RadioButton13,self.__tr("This assumes docstrings in plain text format"))
        self.RadioButton14.setText(self.__tr("Raw Text"))
        QToolTip.add(self.RadioButton14,self.__tr("This assumes docstrings in raw (pass-through) text format"))
        self.TabWidget2.changeTab(self.tab_3,self.__tr("Docstring Parser"))
        QToolTip.add(self.outputDirEdit,self.__tr("Enter an output directory"))
        QToolTip.add(self.packageDescrFileEdit,self.__tr("Enter a file with the description of the package"))
        QToolTip.add(self.authorEdit,self.__tr("Enter the author's name and email"))
        self.TextLabel6.setText(self.__tr("Output Directory:"))
        self.TextLabel1.setText(self.__tr("Package description file:"))
        self.TextLabel5.setText(self.__tr("Author Name and Email:"))
        self.outputDirButton.setText(self.__tr("..."))
        QToolTip.add(self.outputDirButton,self.__tr("Press to open a directory selection dialog"))
        self.packageDescrFileButton.setText(self.__tr("..."))
        QToolTip.add(self.packageDescrFileButton,self.__tr("Press to open a file selection dialog"))
        self.GroupBox3.setTitle(self.__tr("Ignore Directories"))
        self.ignoreDirButton.setText(self.__tr("..."))
        QToolTip.add(self.ignoreDirButton,self.__tr("Press to open a directory selection dialog"))
        self.deleteButton.setText(self.__tr("Delete"))
        QToolTip.add(self.deleteButton,self.__tr("Press to delete the selcted directory from the list"))
        QToolTip.add(self.ignoreDirEdit,self.__tr("Enter a directory basename to be ignored"))
        self.addButton.setText(self.__tr("Add"))
        QToolTip.add(self.addButton,self.__tr("Press to add the entered directory to the list"))
        QToolTip.add(self.ignoreDirsListBox,self.__tr("List of directory basenames to be ignored"))
        self.TabWidget2.changeTab(self.tab_4,self.__tr("Various"))
        self.okButton.setText(self.__tr("&OK"))
        self.okButton.setAccel(self.__tr("Alt+O"))
        self.cancelButton.setText(self.__tr("&Cancel"))


    def handleCodeForeground(self):
        print "HappydocConfigForm.handleCodeForeground(): Not implemented yet"

    def handleDocsetSelected(self,a0):
        print "HappydocConfigForm.handleDocsetSelected(int): Not implemented yet"

    def handleDocstringSyntaxSelected(self,a0):
        print "HappydocConfigForm.handleDocstringSyntaxSelected(int): Not implemented yet"

    def handleFormatterSelected(self,a0):
        print "HappydocConfigForm.handleFormatterSelected(int): Not implemented yet"

    def handleIgnoreDir(self):
        print "HappydocConfigForm.handleIgnoreDir(): Not implemented yet"

    def handleIgnoreDirAdd(self):
        print "HappydocConfigForm.handleIgnoreDirAdd(): Not implemented yet"

    def handleIgnoreDirDelete(self):
        print "HappydocConfigForm.handleIgnoreDirDelete(): Not implemented yet"

    def handleL1HeadingBackground(self):
        print "HappydocConfigForm.handleL1HeadingBackground(): Not implemented yet"

    def handleL1HeadingForeground(self):
        print "HappydocConfigForm.handleL1HeadingForeground(): Not implemented yet"

    def handleL2HeadingBackground(self):
        print "HappydocConfigForm.handleL2HeadingBackground(): Not implemented yet"

    def handleL2HeadingForeground(self):
        print "HappydocConfigForm.handleL2HeadingForeground(): Not implemented yet"

    def handleOutputDir(self):
        print "HappydocConfigForm.handleOutputDir(): Not implemented yet"

    def handlePageBackground(self):
        print "HappydocConfigForm.handlePageBackground(): Not implemented yet"

    def handlePackageDescrFile(self):
        print "HappydocConfigForm.handlePackageDescrFile(): Not implemented yet"

    def __tr(self,s,c = None):
        return qApp.translate("HappydocConfigForm",s,c)

if __name__ == "__main__":
    a = QApplication(sys.argv)
    QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
    w = HappydocConfigForm()
    a.setMainWidget(w)
    w.show()
    a.exec_loop()
