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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsSubversion/SvnCommandDialog.ui'
#
# Created: Sat Feb  3 15:34:07 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_SvnCommandDialog(object):
    def setupUi(self, SvnCommandDialog):
        SvnCommandDialog.setObjectName("SvnCommandDialog")
        SvnCommandDialog.resize(QtCore.QSize(QtCore.QRect(0,0,628,130).size()).expandedTo(SvnCommandDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(SvnCommandDialog)
        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.textLabel1 = QtGui.QLabel(SvnCommandDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        self.commandCombo = QtGui.QComboBox(SvnCommandDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.commandCombo.sizePolicy().hasHeightForWidth())
        self.commandCombo.setSizePolicy(sizePolicy)
        self.commandCombo.setEditable(True)
        self.commandCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.commandCombo.setAutoCompletion(True)
        self.commandCombo.setDuplicatesEnabled(False)
        self.commandCombo.setObjectName("commandCombo")
        self.gridlayout.addWidget(self.commandCombo,0,1,1,2)

        self.dirButton = QtGui.QPushButton(SvnCommandDialog)
        self.dirButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.dirButton.setObjectName("dirButton")
        self.gridlayout.addWidget(self.dirButton,1,2,1,1)

        self.workdirCombo = QtGui.QComboBox(SvnCommandDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.workdirCombo.sizePolicy().hasHeightForWidth())
        self.workdirCombo.setSizePolicy(sizePolicy)
        self.workdirCombo.setEditable(True)
        self.workdirCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.workdirCombo.setAutoCompletion(True)
        self.workdirCombo.setDuplicatesEnabled(False)
        self.workdirCombo.setObjectName("workdirCombo")
        self.gridlayout.addWidget(self.workdirCombo,1,1,1,1)

        self.textLabel2 = QtGui.QLabel(SvnCommandDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.textLabel3 = QtGui.QLabel(SvnCommandDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(1),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textLabel3.sizePolicy().hasHeightForWidth())
        self.textLabel3.setSizePolicy(sizePolicy)
        self.textLabel3.setObjectName("textLabel3")
        self.gridlayout.addWidget(self.textLabel3,2,0,1,1)

        self.projectDirLabel = QtGui.QLabel(SvnCommandDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.projectDirLabel.sizePolicy().hasHeightForWidth())
        self.projectDirLabel.setSizePolicy(sizePolicy)
        self.projectDirLabel.setObjectName("projectDirLabel")
        self.gridlayout.addWidget(self.projectDirLabel,2,1,1,2)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(SvnCommandDialog)
        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(SvnCommandDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnCommandDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnCommandDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SvnCommandDialog)

    def retranslateUi(self, SvnCommandDialog):
        SvnCommandDialog.setWindowTitle(QtGui.QApplication.translate("SvnCommandDialog", "Subversion Command", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("SvnCommandDialog", "Subversion Command:", None, QtGui.QApplication.UnicodeUTF8))
        self.commandCombo.setToolTip(QtGui.QApplication.translate("SvnCommandDialog", "Enter the Subversion command to be executed with all neccessary parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.commandCombo.setWhatsThis(QtGui.QApplication.translate("SvnCommandDialog", "<b>Subversion Command</b>\n"
        "<p>Enter the Subversion command to be executed including all neccessary \n"
        "parameters. If a parameter of the commandline includes a space you have to \n"
        "surround this parameter by single or double quotes. Do not include the name \n"
        "of the subversion client executable (i.e. svn).</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setToolTip(QtGui.QApplication.translate("SvnCommandDialog", "Select the working directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("SvnCommandDialog", "<b>Working directory</b>\n"
        "<p>Select the working directory for the Subversion command via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setText(QtGui.QApplication.translate("SvnCommandDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setToolTip(QtGui.QApplication.translate("SvnCommandDialog", "Enter the working directory for the Subversion command", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setWhatsThis(QtGui.QApplication.translate("SvnCommandDialog", "<b>Working directory</b>\n"
        "<p>Enter the working directory for the Subversion command.\n"
        "This is an optional entry. The button to the right will open a \n"
        "directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("SvnCommandDialog", "Working Directory:<br>(optional)", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3.setText(QtGui.QApplication.translate("SvnCommandDialog", "Project Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirLabel.setToolTip(QtGui.QApplication.translate("SvnCommandDialog", "This shows the root directory of the current project.", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirLabel.setText(QtGui.QApplication.translate("SvnCommandDialog", "project directory", None, QtGui.QApplication.UnicodeUTF8))



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