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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgUserConfigDataDialog.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_HgUserConfigDataDialog(object):
    def setupUi(self, HgUserConfigDataDialog):
        HgUserConfigDataDialog.setObjectName("HgUserConfigDataDialog")
        HgUserConfigDataDialog.resize(400, 455)
        HgUserConfigDataDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(HgUserConfigDataDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(HgUserConfigDataDialog)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.firstNameEdit = E5ClearableLineEdit(self.groupBox)
        self.firstNameEdit.setObjectName("firstNameEdit")
        self.gridLayout.addWidget(self.firstNameEdit, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.lastNameEdit = E5ClearableLineEdit(self.groupBox)
        self.lastNameEdit.setObjectName("lastNameEdit")
        self.gridLayout.addWidget(self.lastNameEdit, 1, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.emailEdit = E5ClearableLineEdit(self.groupBox)
        self.emailEdit.setObjectName("emailEdit")
        self.gridLayout.addWidget(self.emailEdit, 2, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(HgUserConfigDataDialog)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.fetchCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.fetchCheckBox.setObjectName("fetchCheckBox")
        self.gridLayout_2.addWidget(self.fetchCheckBox, 0, 0, 1, 1)
        self.gpgCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.gpgCheckBox.setObjectName("gpgCheckBox")
        self.gridLayout_2.addWidget(self.gpgCheckBox, 0, 1, 1, 1)
        self.largefilesCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.largefilesCheckBox.setObjectName("largefilesCheckBox")
        self.gridLayout_2.addWidget(self.largefilesCheckBox, 1, 0, 1, 1)
        self.purgeCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.purgeCheckBox.setObjectName("purgeCheckBox")
        self.gridLayout_2.addWidget(self.purgeCheckBox, 1, 1, 1, 1)
        self.queuesCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.queuesCheckBox.setObjectName("queuesCheckBox")
        self.gridLayout_2.addWidget(self.queuesCheckBox, 2, 0, 1, 1)
        self.rebaseCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.rebaseCheckBox.setObjectName("rebaseCheckBox")
        self.gridLayout_2.addWidget(self.rebaseCheckBox, 2, 1, 1, 1)
        self.shelveCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.shelveCheckBox.setObjectName("shelveCheckBox")
        self.gridLayout_2.addWidget(self.shelveCheckBox, 3, 0, 1, 1)
        self.transplantCheckBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.transplantCheckBox.setObjectName("transplantCheckBox")
        self.gridLayout_2.addWidget(self.transplantCheckBox, 3, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.largefilesGroup = QtWidgets.QGroupBox(HgUserConfigDataDialog)
        self.largefilesGroup.setEnabled(False)
        self.largefilesGroup.setObjectName("largefilesGroup")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.largefilesGroup)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_4 = QtWidgets.QLabel(self.largefilesGroup)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
        self.lfFileSizeSpinBox = QtWidgets.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("lfFileSizeSpinBox")
        self.gridLayout_3.addWidget(self.lfFileSizeSpinBox, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(215, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 0, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(self.largefilesGroup)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 1, 0, 1, 1)
        self.lfFilePatternsEdit = QtWidgets.QLineEdit(self.largefilesGroup)
        self.lfFilePatternsEdit.setObjectName("lfFilePatternsEdit")
        self.gridLayout_3.addWidget(self.lfFilePatternsEdit, 1, 1, 1, 2)
        self.verticalLayout.addWidget(self.largefilesGroup)
        self.buttonBox = QtWidgets.QDialogButtonBox(HgUserConfigDataDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgUserConfigDataDialog)
        self.buttonBox.accepted.connect(HgUserConfigDataDialog.accept)
        self.buttonBox.rejected.connect(HgUserConfigDataDialog.reject)
        self.largefilesCheckBox.toggled['bool'].connect(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):
        _translate = QtCore.QCoreApplication.translate
        HgUserConfigDataDialog.setWindowTitle(_translate("HgUserConfigDataDialog", "Mercurial User Data"))
        self.groupBox.setTitle(_translate("HgUserConfigDataDialog", "User Data"))
        self.label.setText(_translate("HgUserConfigDataDialog", "First Name:"))
        self.firstNameEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the first name"))
        self.label_2.setText(_translate("HgUserConfigDataDialog", "Last Name:"))
        self.lastNameEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the last name"))
        self.label_3.setText(_translate("HgUserConfigDataDialog", "Email:"))
        self.emailEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter the email address"))
        self.groupBox_2.setTitle(_translate("HgUserConfigDataDialog", "Extensions"))
        self.fetchCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the fetch extension"))
        self.fetchCheckBox.setText(_translate("HgUserConfigDataDialog", "Fetch"))
        self.gpgCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the GPG extension"))
        self.gpgCheckBox.setText(_translate("HgUserConfigDataDialog", "GPG"))
        self.largefilesCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the largefiles extension"))
        self.largefilesCheckBox.setText(_translate("HgUserConfigDataDialog", "Large Files"))
        self.purgeCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the Purge extension"))
        self.purgeCheckBox.setText(_translate("HgUserConfigDataDialog", "Purge"))
        self.queuesCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the queues extension"))
        self.queuesCheckBox.setText(_translate("HgUserConfigDataDialog", "Queues"))
        self.rebaseCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the rebase extension"))
        self.rebaseCheckBox.setText(_translate("HgUserConfigDataDialog", "Rebase"))
        self.shelveCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the shelve extension"))
        self.shelveCheckBox.setText(_translate("HgUserConfigDataDialog", "Shelve"))
        self.transplantCheckBox.setToolTip(_translate("HgUserConfigDataDialog", "Select to activate the transplant extension"))
        self.transplantCheckBox.setText(_translate("HgUserConfigDataDialog", "Transplant"))
        self.largefilesGroup.setTitle(_translate("HgUserConfigDataDialog", "Large Files"))
        self.label_4.setText(_translate("HgUserConfigDataDialog", "Minimum file size:"))
        self.lfFileSizeSpinBox.setToolTip(_translate("HgUserConfigDataDialog", "Enter the minimum file size in MB for files to be treated as Large Files"))
        self.lfFileSizeSpinBox.setSuffix(_translate("HgUserConfigDataDialog", " MB"))
        self.label_5.setText(_translate("HgUserConfigDataDialog", "Patterns:"))
        self.lfFilePatternsEdit.setToolTip(_translate("HgUserConfigDataDialog", "Enter file patterns (space separated) for files to be treated as Large Files"))

from E5Gui.E5LineEdit import E5ClearableLineEdit
