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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.ui'
#
# Created: Thu Mar  5 17:05:26 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_HgRepoConfigDataDialog(object):
    def setupUi(self, HgRepoConfigDataDialog):
        HgRepoConfigDataDialog.setObjectName(_fromUtf8("HgRepoConfigDataDialog"))
        HgRepoConfigDataDialog.resize(500, 352)
        HgRepoConfigDataDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgRepoConfigDataDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(HgRepoConfigDataDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.defaultUrlEdit = E5ClearableLineEdit(self.groupBox)
        self.defaultUrlEdit.setObjectName(_fromUtf8("defaultUrlEdit"))
        self.gridLayout.addWidget(self.defaultUrlEdit, 0, 1, 1, 2)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.defaultUserEdit = E5ClearableLineEdit(self.groupBox)
        self.defaultUserEdit.setObjectName(_fromUtf8("defaultUserEdit"))
        self.gridLayout.addWidget(self.defaultUserEdit, 1, 1, 1, 2)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.defaultPasswordEdit = E5ClearableLineEdit(self.groupBox)
        self.defaultPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.defaultPasswordEdit.setObjectName(_fromUtf8("defaultPasswordEdit"))
        self.gridLayout.addWidget(self.defaultPasswordEdit, 2, 1, 1, 1)
        self.defaultShowPasswordButton = QtGui.QToolButton(self.groupBox)
        self.defaultShowPasswordButton.setCheckable(True)
        self.defaultShowPasswordButton.setObjectName(_fromUtf8("defaultShowPasswordButton"))
        self.gridLayout.addWidget(self.defaultShowPasswordButton, 2, 2, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(HgRepoConfigDataDialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.defaultPushUrlEdit = E5ClearableLineEdit(self.groupBox_2)
        self.defaultPushUrlEdit.setObjectName(_fromUtf8("defaultPushUrlEdit"))
        self.gridLayout_2.addWidget(self.defaultPushUrlEdit, 0, 1, 1, 2)
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_2.addWidget(self.label_7, 1, 0, 1, 1)
        self.defaultPushUserEdit = E5ClearableLineEdit(self.groupBox_2)
        self.defaultPushUserEdit.setObjectName(_fromUtf8("defaultPushUserEdit"))
        self.gridLayout_2.addWidget(self.defaultPushUserEdit, 1, 1, 1, 2)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 2, 0, 1, 1)
        self.defaultPushPasswordEdit = E5ClearableLineEdit(self.groupBox_2)
        self.defaultPushPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.defaultPushPasswordEdit.setObjectName(_fromUtf8("defaultPushPasswordEdit"))
        self.gridLayout_2.addWidget(self.defaultPushPasswordEdit, 2, 1, 1, 1)
        self.defaultPushShowPasswordButton = QtGui.QToolButton(self.groupBox_2)
        self.defaultPushShowPasswordButton.setCheckable(True)
        self.defaultPushShowPasswordButton.setObjectName(_fromUtf8("defaultPushShowPasswordButton"))
        self.gridLayout_2.addWidget(self.defaultPushShowPasswordButton, 2, 2, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.largefilesGroup = QtGui.QGroupBox(HgRepoConfigDataDialog)
        self.largefilesGroup.setObjectName(_fromUtf8("largefilesGroup"))
        self.gridLayout_3 = QtGui.QGridLayout(self.largefilesGroup)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_8 = QtGui.QLabel(self.largefilesGroup)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_3.addWidget(self.label_8, 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_9 = QtGui.QLabel(self.largefilesGroup)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_3.addWidget(self.label_9, 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(HgRepoConfigDataDialog)
        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(HgRepoConfigDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgRepoConfigDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgRepoConfigDataDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgRepoConfigDataDialog)
        HgRepoConfigDataDialog.setTabOrder(self.defaultUrlEdit, self.defaultUserEdit)
        HgRepoConfigDataDialog.setTabOrder(self.defaultUserEdit, self.defaultPasswordEdit)
        HgRepoConfigDataDialog.setTabOrder(self.defaultPasswordEdit, self.defaultShowPasswordButton)
        HgRepoConfigDataDialog.setTabOrder(self.defaultShowPasswordButton, self.defaultPushUrlEdit)
        HgRepoConfigDataDialog.setTabOrder(self.defaultPushUrlEdit, self.defaultPushUserEdit)
        HgRepoConfigDataDialog.setTabOrder(self.defaultPushUserEdit, self.defaultPushPasswordEdit)
        HgRepoConfigDataDialog.setTabOrder(self.defaultPushPasswordEdit, self.defaultPushShowPasswordButton)
        HgRepoConfigDataDialog.setTabOrder(self.defaultPushShowPasswordButton, self.lfFileSizeSpinBox)
        HgRepoConfigDataDialog.setTabOrder(self.lfFileSizeSpinBox, self.lfFilePatternsEdit)
        HgRepoConfigDataDialog.setTabOrder(self.lfFilePatternsEdit, self.buttonBox)

    def retranslateUi(self, HgRepoConfigDataDialog):
        HgRepoConfigDataDialog.setWindowTitle(_translate("HgRepoConfigDataDialog", "Mercurial Repository Configuration", None))
        self.groupBox.setTitle(_translate("HgRepoConfigDataDialog", "Default", None))
        self.label_2.setText(_translate("HgRepoConfigDataDialog", "Upstream URL:", None))
        self.defaultUrlEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter the URL of the upstream repository", None))
        self.label_3.setText(_translate("HgRepoConfigDataDialog", "Username:", None))
        self.defaultUserEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter user name to acces the upstream repository", None))
        self.label_4.setText(_translate("HgRepoConfigDataDialog", "Password:", None))
        self.defaultPasswordEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter the password to acces the upstream repository", None))
        self.defaultShowPasswordButton.setToolTip(_translate("HgRepoConfigDataDialog", "Press to show the password", None))
        self.groupBox_2.setTitle(_translate("HgRepoConfigDataDialog", "Default Push", None))
        self.label_5.setText(_translate("HgRepoConfigDataDialog", "Upstream URL:", None))
        self.defaultPushUrlEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter the URL of the upstream (push) repository", None))
        self.label_7.setText(_translate("HgRepoConfigDataDialog", "Username:", None))
        self.defaultPushUserEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter user name to acces the upstream (push) repository", None))
        self.label_6.setText(_translate("HgRepoConfigDataDialog", "Password:", None))
        self.defaultPushPasswordEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter the password to acces the upstream (push) repository", None))
        self.defaultPushShowPasswordButton.setToolTip(_translate("HgRepoConfigDataDialog", "Press to show the password", None))
        self.largefilesGroup.setTitle(_translate("HgRepoConfigDataDialog", "Large Files", None))
        self.label_8.setText(_translate("HgRepoConfigDataDialog", "Minimum file size:", None))
        self.lfFileSizeSpinBox.setToolTip(_translate("HgRepoConfigDataDialog", "Enter the minimum file size in MB for files to be treated as Large Files", None))
        self.lfFileSizeSpinBox.setSuffix(_translate("HgRepoConfigDataDialog", " MB", None))
        self.label_9.setText(_translate("HgRepoConfigDataDialog", "Patterns:", None))
        self.lfFilePatternsEdit.setToolTip(_translate("HgRepoConfigDataDialog", "Enter file patterns (space separated) for files to be treated as Large Files", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
