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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgAddSubrepositoryDialog.ui'
#
# Created: Thu Mar  5 17:02:28 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_HgAddSubrepositoryDialog(object):
    def setupUi(self, HgAddSubrepositoryDialog):
        HgAddSubrepositoryDialog.setObjectName(_fromUtf8("HgAddSubrepositoryDialog"))
        HgAddSubrepositoryDialog.resize(550, 142)
        HgAddSubrepositoryDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgAddSubrepositoryDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(HgAddSubrepositoryDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.pathEdit = QtGui.QLineEdit(HgAddSubrepositoryDialog)
        self.pathEdit.setObjectName(_fromUtf8("pathEdit"))
        self.horizontalLayout.addWidget(self.pathEdit)
        self.pathButton = QtGui.QToolButton(HgAddSubrepositoryDialog)
        self.pathButton.setObjectName(_fromUtf8("pathButton"))
        self.horizontalLayout.addWidget(self.pathButton)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(HgAddSubrepositoryDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.typeCombo = QtGui.QComboBox(HgAddSubrepositoryDialog)
        self.typeCombo.setObjectName(_fromUtf8("typeCombo"))
        self.horizontalLayout_2.addWidget(self.typeCombo)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(HgAddSubrepositoryDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.urlEdit = QtGui.QLineEdit(HgAddSubrepositoryDialog)
        self.urlEdit.setObjectName(_fromUtf8("urlEdit"))
        self.gridLayout.addWidget(self.urlEdit, 2, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HgAddSubrepositoryDialog)
        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, 3, 0, 1, 2)
        self.label.setBuddy(self.pathEdit)
        self.label_2.setBuddy(self.typeCombo)
        self.label_3.setBuddy(self.urlEdit)

        self.retranslateUi(HgAddSubrepositoryDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgAddSubrepositoryDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgAddSubrepositoryDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgAddSubrepositoryDialog)
        HgAddSubrepositoryDialog.setTabOrder(self.pathEdit, self.pathButton)
        HgAddSubrepositoryDialog.setTabOrder(self.pathButton, self.typeCombo)
        HgAddSubrepositoryDialog.setTabOrder(self.typeCombo, self.urlEdit)
        HgAddSubrepositoryDialog.setTabOrder(self.urlEdit, self.buttonBox)

    def retranslateUi(self, HgAddSubrepositoryDialog):
        HgAddSubrepositoryDialog.setWindowTitle(_translate("HgAddSubrepositoryDialog", "Add Sub-repository", None))
        self.label.setText(_translate("HgAddSubrepositoryDialog", "&Path within Project:", None))
        self.pathEdit.setToolTip(_translate("HgAddSubrepositoryDialog", "Enter the path of the sub-repository relative to the project", None))
        self.pathButton.setToolTip(_translate("HgAddSubrepositoryDialog", "Select the path of the sub-repository with a directory selection dialog", None))
        self.label_2.setText(_translate("HgAddSubrepositoryDialog", "&Type:", None))
        self.typeCombo.setToolTip(_translate("HgAddSubrepositoryDialog", "Select the type of the sub-repository", None))
        self.label_3.setText(_translate("HgAddSubrepositoryDialog", "&URL:", None))
        self.urlEdit.setToolTip(_translate("HgAddSubrepositoryDialog", "Enter the URL of the sub-repository", None))

