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

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

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

        self.commandCombo = QtGui.QComboBox(CvsCommandDialog)

        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(CvsCommandDialog)
        self.dirButton.setFocusPolicy(QtCore.Qt.NoFocus)
        self.dirButton.setObjectName("dirButton")
        self.gridlayout.addWidget(self.dirButton,1,2,1,1)

        self.workdirCombo = QtGui.QComboBox(CvsCommandDialog)

        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(CvsCommandDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.textLabel3 = QtGui.QLabel(CvsCommandDialog)

        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(CvsCommandDialog)

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

    def retranslateUi(self, CvsCommandDialog):
        CvsCommandDialog.setWindowTitle(QtGui.QApplication.translate("CvsCommandDialog", "CVS Command", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("CvsCommandDialog", "CVS Command:", None, QtGui.QApplication.UnicodeUTF8))
        self.commandCombo.setToolTip(QtGui.QApplication.translate("CvsCommandDialog", "Enter the CVS command to be executed with all neccessary parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.commandCombo.setWhatsThis(QtGui.QApplication.translate("CvsCommandDialog", "<b>CVS Command</b>\n"
        "<p>Enter the CVS 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 CVS client executable (i.e. cvs).</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setToolTip(QtGui.QApplication.translate("CvsCommandDialog", "Select the working directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("CvsCommandDialog", "<b>Working directory</b>\n"
        "<p>Select the working directory for the CVS command via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setText(QtGui.QApplication.translate("CvsCommandDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setToolTip(QtGui.QApplication.translate("CvsCommandDialog", "Enter the working directory for the CVS command", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setWhatsThis(QtGui.QApplication.translate("CvsCommandDialog", "<b>Working directory</b>\n"
        "<p>Enter the working directory for the CVS command.\n"
        "The button to the right will open a \n"
        "directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("CvsCommandDialog", "Working Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3.setText(QtGui.QApplication.translate("CvsCommandDialog", "Project Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirLabel.setToolTip(QtGui.QApplication.translate("CvsCommandDialog", "This shows the root directory of the current project.", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirLabel.setText(QtGui.QApplication.translate("CvsCommandDialog", "project directory", None, QtGui.QApplication.UnicodeUTF8))



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