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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialUserDataDialog.ui'
#
# Created: Sat Jan 18 15:10:12 2014
#      by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MercurialUserDataDialog(object):
    def setupUi(self, MercurialUserDataDialog):
        MercurialUserDataDialog.setObjectName(_fromUtf8("MercurialUserDataDialog"))
        MercurialUserDataDialog.resize(400, 106)
        MercurialUserDataDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(MercurialUserDataDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(MercurialUserDataDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.usernameEdit = QtGui.QLineEdit(MercurialUserDataDialog)
        self.usernameEdit.setObjectName(_fromUtf8("usernameEdit"))
        self.gridLayout.addWidget(self.usernameEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(MercurialUserDataDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.emailEdit = QtGui.QLineEdit(MercurialUserDataDialog)
        self.emailEdit.setObjectName(_fromUtf8("emailEdit"))
        self.gridLayout.addWidget(self.emailEdit, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(MercurialUserDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2)
        self.label.setBuddy(self.usernameEdit)
        self.label_2.setBuddy(self.emailEdit)

        self.retranslateUi(MercurialUserDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), MercurialUserDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), MercurialUserDataDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(MercurialUserDataDialog)

    def retranslateUi(self, MercurialUserDataDialog):
        MercurialUserDataDialog.setWindowTitle(_translate("MercurialUserDataDialog", "Mercurial User Data", None))
        self.label.setText(_translate("MercurialUserDataDialog", "&Username:", None))
        self.usernameEdit.setToolTip(_translate("MercurialUserDataDialog", "Enter the name of the user (first name and last name)", None))
        self.label_2.setText(_translate("MercurialUserDataDialog", "&Email:", None))
        self.emailEdit.setToolTip(_translate("MercurialUserDataDialog", "Enter the email address", None))

