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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDataDialog.ui'
#
# Created: Sun Jan 18 22:19:52 2015
#      by: PyQt4 UI code generator 4.11.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_HgUserConfigDataDialog(object):
    def setupUi(self, HgUserConfigDataDialog):
        HgUserConfigDataDialog.setObjectName(_fromUtf8("HgUserConfigDataDialog"))
        HgUserConfigDataDialog.resize(400, 455)
        HgUserConfigDataDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgUserConfigDataDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(HgUserConfigDataDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.firstNameEdit = E5ClearableLineEdit(self.groupBox)
        self.firstNameEdit.setObjectName(_fromUtf8("firstNameEdit"))
        self.gridLayout.addWidget(self.firstNameEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.lastNameEdit = E5ClearableLineEdit(self.groupBox)
        self.lastNameEdit.setObjectName(_fromUtf8("lastNameEdit"))
        self.gridLayout.addWidget(self.lastNameEdit, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.emailEdit = E5ClearableLineEdit(self.groupBox)
        self.emailEdit.setObjectName(_fromUtf8("emailEdit"))
        self.gridLayout.addWidget(self.emailEdit, 2, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(HgUserConfigDataDialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.fetchCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.fetchCheckBox.setObjectName(_fromUtf8("fetchCheckBox"))
        self.gridLayout_2.addWidget(self.fetchCheckBox, 0, 0, 1, 1)
        self.gpgCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.gpgCheckBox.setObjectName(_fromUtf8("gpgCheckBox"))
        self.gridLayout_2.addWidget(self.gpgCheckBox, 0, 1, 1, 1)
        self.largefilesCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.largefilesCheckBox.setObjectName(_fromUtf8("largefilesCheckBox"))
        self.gridLayout_2.addWidget(self.largefilesCheckBox, 1, 0, 1, 1)
        self.purgeCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.purgeCheckBox.setObjectName(_fromUtf8("purgeCheckBox"))
        self.gridLayout_2.addWidget(self.purgeCheckBox, 1, 1, 1, 1)
        self.queuesCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.queuesCheckBox.setObjectName(_fromUtf8("queuesCheckBox"))
        self.gridLayout_2.addWidget(self.queuesCheckBox, 2, 0, 1, 1)
        self.rebaseCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.rebaseCheckBox.setObjectName(_fromUtf8("rebaseCheckBox"))
        self.gridLayout_2.addWidget(self.rebaseCheckBox, 2, 1, 1, 1)
        self.shelveCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.shelveCheckBox.setObjectName(_fromUtf8("shelveCheckBox"))
        self.gridLayout_2.addWidget(self.shelveCheckBox, 3, 0, 1, 1)
        self.transplantCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.transplantCheckBox.setObjectName(_fromUtf8("transplantCheckBox"))
        self.gridLayout_2.addWidget(self.transplantCheckBox, 3, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.largefilesGroup = QtGui.QGroupBox(HgUserConfigDataDialog)
        self.largefilesGroup.setEnabled(False)
        self.largefilesGroup.setObjectName(_fromUtf8("largefilesGroup"))
        self.gridLayout_3 = QtGui.QGridLayout(self.largefilesGroup)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.largefilesGroup)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
        self.lfFileSizeSpinBox = QtGui.QSpinBox(self.largefilesGroup)
        self.lfFileSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lfFileSizeSpinBox.setMinimum(1)
        self.lfFileSizeSpinBox.setProperty("value", 10)
        self.lfFileSizeSpinBox.setObjectName(_fromUtf8("lfFileSizeSpinBox"))
        self.gridLayout_3.addWidget(self.lfFileSizeSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(215, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 0, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.largefilesGroup)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 1, 0, 1, 1)
        self.lfFilePatternsEdit = QtGui.QLineEdit(self.largefilesGroup)
        self.lfFilePatternsEdit.setObjectName(_fromUtf8("lfFilePatternsEdit"))
        self.gridLayout_3.addWidget(self.lfFilePatternsEdit, 1, 1, 1, 2)
        self.verticalLayout.addWidget(self.largefilesGroup)
        self.buttonBox = QtGui.QDialogButtonBox(HgUserConfigDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgUserConfigDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgUserConfigDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgUserConfigDataDialog.reject)
        QtCore.QObject.connect(self.largefilesCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.largefilesGroup.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgUserConfigDataDialog)
        HgUserConfigDataDialog.setTabOrder(self.firstNameEdit, self.lastNameEdit)
        HgUserConfigDataDialog.setTabOrder(self.lastNameEdit, self.emailEdit)
        HgUserConfigDataDialog.setTabOrder(self.emailEdit, self.fetchCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.fetchCheckBox, self.gpgCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.gpgCheckBox, self.largefilesCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.largefilesCheckBox, self.purgeCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.purgeCheckBox, self.queuesCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.queuesCheckBox, self.rebaseCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.rebaseCheckBox, self.shelveCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.shelveCheckBox, self.transplantCheckBox)
        HgUserConfigDataDialog.setTabOrder(self.transplantCheckBox, self.lfFileSizeSpinBox)
        HgUserConfigDataDialog.setTabOrder(self.lfFileSizeSpinBox, self.lfFilePatternsEdit)
        HgUserConfigDataDialog.setTabOrder(self.lfFilePatternsEdit, self.buttonBox)

    def retranslateUi(self, HgUserConfigDataDialog):
        HgUserConfigDataDialog.setWindowTitle(_translate("HgUserConfigDataDialog", "Mercurial User Data", None))
        self.groupBox.setTitle(_translate("HgUserConfigDataDialog", "User Data", None))
        self.label.setText(_translate("HgUserConfigDataDialog", "First Name:", None))
        self.firstNameEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the first name", None))
        self.label_2.setText(_translate("HgUserConfigDataDialog", "Last Name:", None))
        self.lastNameEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the last name", None))
        self.label_3.setText(_translate("HgUserConfigDataDialog", "Email:", None))
        self.emailEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the email address", None))
        self.groupBox_2.setTitle(_translate("HgUserConfigDataDialog", "Extensions", None))
        self.fetchCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the fetch extension", None))
        self.fetchCheckBox.setText(_translate("HgUserConfigDataDialog", "Fetch", None))
        self.gpgCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the GPG extension", None))
        self.gpgCheckBox.setText(_translate("HgUserConfigDataDialog", "GPG", None))
        self.largefilesCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the largefiles extension", None))
        self.largefilesCheckBox.setText(_translate("HgUserConfigDataDialog", "Large Files", None))
        self.purgeCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the Purge extension", None))
        self.purgeCheckBox.setText(_translate("HgUserConfigDataDialog", "Purge", None))
        self.queuesCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the queues extension", None))
        self.queuesCheckBox.setText(_translate("HgUserConfigDataDialog", "Queues", None))
        self.rebaseCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the rebase extension", None))
        self.rebaseCheckBox.setText(_translate("HgUserConfigDataDialog", "Rebase", None))
        self.shelveCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the shelve extension", None))
        self.shelveCheckBox.setText(_translate("HgUserConfigDataDialog", "Shelve", None))
        self.transplantCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the transplant extension", None))
        self.transplantCheckBox.setText(_translate("HgUserConfigDataDialog", "Transplant", None))
        self.largefilesGroup.setTitle(_translate("HgUserConfigDataDialog", "Large Files", None))
        self.label_4.setText(_translate("HgUserConfigDataDialog", "Minimum file size:", None))
        self.lfFileSizeSpinBox.setToolTip(_translate("HgUserConfigDataDialog", "Enter the minimum file size in MB for files to be treated as Large Files", None))
        self.lfFileSizeSpinBox.setSuffix(_translate("HgUserConfigDataDialog", " MB", None))
        self.label_5.setText(_translate("HgUserConfigDataDialog", "Patterns:", None))
        self.lfFilePatternsEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter file patterns (space separated) for files to be treated as Large Files", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
