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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric3_6/eric3/VCS/CommandOptionsForm.ui'
#
# Created: Do Dez 30 14:12:27 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 vcsCommandOptionsForm(QDialog):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        QDialog.__init__(self,parent,name,modal,fl)

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


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

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

        self.historyLabel = QLabel(self,"historyLabel")

        layout5.addWidget(self.historyLabel,8,0)

        self.addLabel = QLabel(self,"addLabel")

        layout5.addWidget(self.addLabel,4,0)

        self.removeLabel = QLabel(self,"removeLabel")

        layout5.addWidget(self.removeLabel,5,0)

        self.tagLabel = QLabel(self,"tagLabel")

        layout5.addWidget(self.tagLabel,10,0)

        self.commitEdit = QLineEdit(self,"commitEdit")

        layout5.addWidget(self.commitEdit,1,1)

        self.historyEdit = QLineEdit(self,"historyEdit")

        layout5.addWidget(self.historyEdit,8,1)

        self.diffEdit = QLineEdit(self,"diffEdit")

        layout5.addWidget(self.diffEdit,6,1)

        self.updateEdit = QLineEdit(self,"updateEdit")

        layout5.addWidget(self.updateEdit,3,1)

        self.logEdit = QLineEdit(self,"logEdit")

        layout5.addWidget(self.logEdit,7,1)

        self.tagEdit = QLineEdit(self,"tagEdit")

        layout5.addWidget(self.tagEdit,10,1)

        self.statusEdit = QLineEdit(self,"statusEdit")

        layout5.addWidget(self.statusEdit,9,1)

        self.diffLabel = QLabel(self,"diffLabel")

        layout5.addWidget(self.diffLabel,6,0)

        self.globalLabel = QLabel(self,"globalLabel")

        layout5.addWidget(self.globalLabel,0,0)

        self.exportEdit = QLineEdit(self,"exportEdit")

        layout5.addWidget(self.exportEdit,11,1)

        self.addEdit = QLineEdit(self,"addEdit")

        layout5.addWidget(self.addEdit,4,1)

        self.logLabel = QLabel(self,"logLabel")

        layout5.addWidget(self.logLabel,7,0)

        self.statusLabel = QLabel(self,"statusLabel")

        layout5.addWidget(self.statusLabel,9,0)

        self.removeEdit = QLineEdit(self,"removeEdit")

        layout5.addWidget(self.removeEdit,5,1)

        self.checkoutEdit = QLineEdit(self,"checkoutEdit")

        layout5.addWidget(self.checkoutEdit,2,1)

        self.commitLabel = QLabel(self,"commitLabel")

        layout5.addWidget(self.commitLabel,1,0)

        self.exportLabel = QLabel(self,"exportLabel")

        layout5.addWidget(self.exportLabel,11,0)

        self.checkoutLabel = QLabel(self,"checkoutLabel")

        layout5.addWidget(self.checkoutLabel,2,0)

        self.updateLabel = QLabel(self,"updateLabel")

        layout5.addWidget(self.updateLabel,3,0)

        self.globalEdit = QLineEdit(self,"globalEdit")

        layout5.addWidget(self.globalEdit,0,1)
        vcsCommandOptionsFormLayout.addLayout(layout5)

        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)
        vcsCommandOptionsFormLayout.addLayout(Layout1)

        self.languageChange()

        self.resize(QSize(531,391).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.setTabOrder(self.globalEdit,self.commitEdit)
        self.setTabOrder(self.commitEdit,self.checkoutEdit)
        self.setTabOrder(self.checkoutEdit,self.updateEdit)
        self.setTabOrder(self.updateEdit,self.addEdit)
        self.setTabOrder(self.addEdit,self.removeEdit)
        self.setTabOrder(self.removeEdit,self.diffEdit)
        self.setTabOrder(self.diffEdit,self.logEdit)
        self.setTabOrder(self.logEdit,self.historyEdit)
        self.setTabOrder(self.historyEdit,self.statusEdit)
        self.setTabOrder(self.statusEdit,self.tagEdit)
        self.setTabOrder(self.tagEdit,self.exportEdit)
        self.setTabOrder(self.exportEdit,self.okButton)
        self.setTabOrder(self.okButton,self.cancelButton)

        self.historyLabel.setBuddy(self.historyEdit)
        self.addLabel.setBuddy(self.addEdit)
        self.removeLabel.setBuddy(self.removeEdit)
        self.tagLabel.setBuddy(self.tagEdit)
        self.diffLabel.setBuddy(self.diffEdit)
        self.globalLabel.setBuddy(self.globalEdit)
        self.logLabel.setBuddy(self.logEdit)
        self.statusLabel.setBuddy(self.statusEdit)
        self.commitLabel.setBuddy(self.commitEdit)
        self.exportLabel.setBuddy(self.exportEdit)
        self.checkoutLabel.setBuddy(self.checkoutEdit)
        self.updateLabel.setBuddy(self.updateEdit)


    def languageChange(self):
        self.setCaption(self.__tr("VCS Command Options"))
        QWhatsThis.add(self,self.__tr("<b>VCS Command Options Dialog</b>\n"
"<p>Enter the options for the different VCS commands. The \"Global Options\" entry applies to all VCS commands.</p>"))
        self.historyLabel.setText(self.__tr("&History Options:"))
        self.addLabel.setText(self.__tr("&Add Options:"))
        self.removeLabel.setText(self.__tr("&Remove Options:"))
        self.tagLabel.setText(self.__tr("&Tag Options:"))
        QToolTip.add(self.commitEdit,self.__tr("Enter the options for the commit command."))
        QWhatsThis.add(self.commitEdit,self.__tr("<b>Commit Options</b>\n"
"<p>Enter the options for the commit command.</p>"))
        QToolTip.add(self.historyEdit,self.__tr("Enter the options for the history command."))
        QWhatsThis.add(self.historyEdit,self.__tr("<b>History Options</b>\n"
"<p>Enter the options for the history command.</p>"))
        QToolTip.add(self.diffEdit,self.__tr("Enter the options for the diff command."))
        QWhatsThis.add(self.diffEdit,self.__tr("<b>Diff Options</b>\n"
"<p>Enter the options for the diff command.</p>"))
        QToolTip.add(self.updateEdit,self.__tr("Enter the options for the update command."))
        QWhatsThis.add(self.updateEdit,self.__tr("<b>Update Options</b>\n"
"<p>Enter the options for the update command.</p>"))
        QToolTip.add(self.logEdit,self.__tr("Enter the options for the log command."))
        QWhatsThis.add(self.logEdit,self.__tr("<b>Log Options</b>\n"
"<p>Enter the options for the log command.</p>"))
        QToolTip.add(self.tagEdit,self.__tr("Enter the options for the tag command."))
        QWhatsThis.add(self.tagEdit,self.__tr("<b>Tag Options</b>\n"
"<p>Enter the options for the tag command.</p>"))
        QToolTip.add(self.statusEdit,self.__tr("Enter the options for the status command."))
        QWhatsThis.add(self.statusEdit,self.__tr("<b>Status Options</b>\n"
"<p>Enter the options for the status command.</p>"))
        self.diffLabel.setText(self.__tr("&Diff Options:"))
        self.globalLabel.setText(self.__tr("&Global Options:"))
        QToolTip.add(self.exportEdit,self.__tr("Enter the options for the export command."))
        QWhatsThis.add(self.exportEdit,self.__tr("<b>Export Options</b>\n"
"<p>Enter the options for the export command.</p>"))
        QToolTip.add(self.addEdit,self.__tr("Enter the options for the add command."))
        QWhatsThis.add(self.addEdit,self.__tr("<b>Add Options</b>\n"
"<p>Enter the options for the add command.</p>"))
        self.logLabel.setText(self.__tr("&Log Options:"))
        self.statusLabel.setText(self.__tr("&StatusOptions:"))
        QToolTip.add(self.removeEdit,self.__tr("Enter the options for the remove command."))
        QWhatsThis.add(self.removeEdit,self.__tr("<b>Remove Options</b>\n"
"<p>Enter the options for the remove command.</p>"))
        QToolTip.add(self.checkoutEdit,self.__tr("Enter the options for the checkout command."))
        QWhatsThis.add(self.checkoutEdit,self.__tr("<b>Checkout Options</b>\n"
"<p>Enter the options for the checkout command.</p>"))
        self.commitLabel.setText(self.__tr("&Commit Options:"))
        self.exportLabel.setText(self.__tr("&Export Options:"))
        self.checkoutLabel.setText(self.__tr("Check&out Options:"))
        self.updateLabel.setText(self.__tr("&Update Options:"))
        QToolTip.add(self.globalEdit,self.__tr("Enter the global options."))
        QWhatsThis.add(self.globalEdit,self.__tr("<b>Global Options</b>\n"
"<p>Enter the global options.</p>"))
        self.okButton.setText(self.__tr("&OK"))
        self.cancelButton.setText(self.__tr("&Cancel"))


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

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