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

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

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

        self.TextLabel2 = QtGui.QLabel(CvsLoginDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,2,0,1,1)

        self.textLabel1_2 = QtGui.QLabel(CvsLoginDialog)
        self.textLabel1_2.setObjectName("textLabel1_2")
        self.gridlayout.addWidget(self.textLabel1_2,4,0,1,1)

        self.TextLabel1 = QtGui.QLabel(CvsLoginDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridlayout.addWidget(self.TextLabel1,1,0,1,1)

        self.hostEdit = QtGui.QLineEdit(CvsLoginDialog)
        self.hostEdit.setObjectName("hostEdit")
        self.gridlayout.addWidget(self.hostEdit,3,1,1,1)

        self.portEdit = QtGui.QLineEdit(CvsLoginDialog)
        self.portEdit.setObjectName("portEdit")
        self.gridlayout.addWidget(self.portEdit,4,1,1,1)

        self.usernameEdit = QtGui.QLineEdit(CvsLoginDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridlayout.addWidget(self.usernameEdit,1,1,1,1)

        self.TextLabel4 = QtGui.QLabel(CvsLoginDialog)
        self.TextLabel4.setObjectName("TextLabel4")
        self.gridlayout.addWidget(self.TextLabel4,5,0,1,1)

        self.passwordEdit = QtGui.QLineEdit(CvsLoginDialog)
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName("passwordEdit")
        self.gridlayout.addWidget(self.passwordEdit,2,1,1,1)

        self.TextLabel3 = QtGui.QLabel(CvsLoginDialog)
        self.TextLabel3.setObjectName("TextLabel3")
        self.gridlayout.addWidget(self.TextLabel3,3,0,1,1)

        self.repositoryEdit = QtGui.QLineEdit(CvsLoginDialog)
        self.repositoryEdit.setObjectName("repositoryEdit")
        self.gridlayout.addWidget(self.repositoryEdit,5,1,1,1)

        self.textLabel1 = QtGui.QLabel(CvsLoginDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(CvsLoginDialog)
        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.TextLabel2.setBuddy(self.passwordEdit)
        self.textLabel1_2.setBuddy(self.portEdit)
        self.TextLabel1.setBuddy(self.usernameEdit)
        self.TextLabel4.setBuddy(self.repositoryEdit)
        self.TextLabel3.setBuddy(self.hostEdit)
        self.textLabel1.setBuddy(self.protocolComboBox)

        self.retranslateUi(CvsLoginDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CvsLoginDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CvsLoginDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CvsLoginDialog)
        CvsLoginDialog.setTabOrder(self.protocolComboBox,self.usernameEdit)
        CvsLoginDialog.setTabOrder(self.usernameEdit,self.passwordEdit)
        CvsLoginDialog.setTabOrder(self.passwordEdit,self.hostEdit)
        CvsLoginDialog.setTabOrder(self.hostEdit,self.portEdit)
        CvsLoginDialog.setTabOrder(self.portEdit,self.repositoryEdit)

    def retranslateUi(self, CvsLoginDialog):
        CvsLoginDialog.setWindowTitle(QtGui.QApplication.translate("CvsLoginDialog", "CVS Login", None, QtGui.QApplication.UnicodeUTF8))
        self.protocolComboBox.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Select the protocol to access the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("CvsLoginDialog", "&Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2.setText(QtGui.QApplication.translate("CvsLoginDialog", "Por&t:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("CvsLoginDialog", "&Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.hostEdit.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Enter host name of CVS server", None, QtGui.QApplication.UnicodeUTF8))
        self.hostEdit.setWhatsThis(QtGui.QApplication.translate("CvsLoginDialog", "<b>Host</b>\n"
        "<p>Enter the hostname of the machine serving the remote repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.portEdit.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Enter the port of the server", None, QtGui.QApplication.UnicodeUTF8))
        self.usernameEdit.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Enter your CVS username", None, QtGui.QApplication.UnicodeUTF8))
        self.usernameEdit.setWhatsThis(QtGui.QApplication.translate("CvsLoginDialog", "<b>Username</b>\n"
        "<p>Enter your CVS user name.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel4.setText(QtGui.QApplication.translate("CvsLoginDialog", "&Repository:", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordEdit.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Enter the CVS password", None, QtGui.QApplication.UnicodeUTF8))
        self.passwordEdit.setWhatsThis(QtGui.QApplication.translate("CvsLoginDialog", "<b>Password</b>\n"
        "<p>Enter the CVS password.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel3.setText(QtGui.QApplication.translate("CvsLoginDialog", "&Host:", None, QtGui.QApplication.UnicodeUTF8))
        self.repositoryEdit.setToolTip(QtGui.QApplication.translate("CvsLoginDialog", "Enter the remote repository", None, QtGui.QApplication.UnicodeUTF8))
        self.repositoryEdit.setWhatsThis(QtGui.QApplication.translate("CvsLoginDialog", "<b>Repository</b>\n"
        "<p>Enter the remote repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("CvsLoginDialog", "Pr&otocol:", None, QtGui.QApplication.UnicodeUTF8))



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