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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsCVS/CvsLogoutDialog.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_CvsLogoutDialog(object):
    def setupUi(self, CvsLogoutDialog):
        CvsLogoutDialog.setObjectName("CvsLogoutDialog")
        CvsLogoutDialog.resize(QtCore.QSize(QtCore.QRect(0,0,384,193).size()).expandedTo(CvsLogoutDialog.minimumSizeHint()))
        CvsLogoutDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(CvsLogoutDialog)
        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.usernameEdit = QtGui.QLineEdit(CvsLogoutDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridlayout.addWidget(self.usernameEdit,1,1,1,1)

        self.TextLabel4 = QtGui.QLabel(CvsLogoutDialog)
        self.TextLabel4.setObjectName("TextLabel4")
        self.gridlayout.addWidget(self.TextLabel4,4,0,1,1)

        self.repositoryEdit = QtGui.QLineEdit(CvsLogoutDialog)
        self.repositoryEdit.setObjectName("repositoryEdit")
        self.gridlayout.addWidget(self.repositoryEdit,4,1,1,1)

        self.TextLabel3 = QtGui.QLabel(CvsLogoutDialog)
        self.TextLabel3.setObjectName("TextLabel3")
        self.gridlayout.addWidget(self.TextLabel3,2,0,1,1)

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

        self.textLabel1_2 = QtGui.QLabel(CvsLogoutDialog)
        self.textLabel1_2.setObjectName("textLabel1_2")
        self.gridlayout.addWidget(self.textLabel1_2,3,0,1,1)

        self.textLabel1 = QtGui.QLabel(CvsLogoutDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        self.portEdit = QtGui.QLineEdit(CvsLogoutDialog)
        self.portEdit.setObjectName("portEdit")
        self.gridlayout.addWidget(self.portEdit,3,1,1,1)

        self.hostEdit = QtGui.QLineEdit(CvsLogoutDialog)
        self.hostEdit.setObjectName("hostEdit")
        self.gridlayout.addWidget(self.hostEdit,2,1,1,1)

        self.protocolComboBox = QtGui.QComboBox(CvsLogoutDialog)
        self.protocolComboBox.setObjectName("protocolComboBox")
        self.gridlayout.addWidget(self.protocolComboBox,0,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

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

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

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



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