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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgBundleDialog.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_HgBundleDialog(object):
    def setupUi(self, HgBundleDialog):
        HgBundleDialog.setObjectName(_fromUtf8("HgBundleDialog"))
        HgBundleDialog.resize(450, 452)
        HgBundleDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgBundleDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(HgBundleDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.multipleButton = QtGui.QRadioButton(self.groupBox)
        self.multipleButton.setObjectName(_fromUtf8("multipleButton"))
        self.gridLayout.addWidget(self.multipleButton, 0, 0, 1, 1)
        self.multipleEdit = QtGui.QPlainTextEdit(self.groupBox)
        self.multipleEdit.setEnabled(False)
        self.multipleEdit.setTabChangesFocus(True)
        self.multipleEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.multipleEdit.setObjectName(_fromUtf8("multipleEdit"))
        self.gridLayout.addWidget(self.multipleEdit, 0, 1, 1, 1)
        self.tagButton = QtGui.QRadioButton(self.groupBox)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 1, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(self.groupBox)
        self.tagCombo.setEnabled(False)
        self.tagCombo.setEditable(True)
        self.tagCombo.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 1, 1, 1, 1)
        self.branchButton = QtGui.QRadioButton(self.groupBox)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 2, 0, 1, 1)
        self.branchCombo = QtGui.QComboBox(self.groupBox)
        self.branchCombo.setEnabled(False)
        self.branchCombo.setEditable(True)
        self.branchCombo.setObjectName(_fromUtf8("branchCombo"))
        self.gridLayout.addWidget(self.branchCombo, 2, 1, 1, 1)
        self.bookmarkButton = QtGui.QRadioButton(self.groupBox)
        self.bookmarkButton.setObjectName(_fromUtf8("bookmarkButton"))
        self.gridLayout.addWidget(self.bookmarkButton, 3, 0, 1, 1)
        self.bookmarkCombo = QtGui.QComboBox(self.groupBox)
        self.bookmarkCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bookmarkCombo.sizePolicy().hasHeightForWidth())
        self.bookmarkCombo.setSizePolicy(sizePolicy)
        self.bookmarkCombo.setEditable(True)
        self.bookmarkCombo.setObjectName(_fromUtf8("bookmarkCombo"))
        self.gridLayout.addWidget(self.bookmarkCombo, 3, 1, 1, 1)
        self.noneButton = QtGui.QRadioButton(self.groupBox)
        self.noneButton.setChecked(True)
        self.noneButton.setObjectName(_fromUtf8("noneButton"))
        self.gridLayout.addWidget(self.noneButton, 4, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_2 = QtGui.QLabel(HgBundleDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_2.addWidget(self.label_2)
        self.baseRevisionsEdit = QtGui.QPlainTextEdit(HgBundleDialog)
        self.baseRevisionsEdit.setTabChangesFocus(True)
        self.baseRevisionsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.baseRevisionsEdit.setObjectName(_fromUtf8("baseRevisionsEdit"))
        self.horizontalLayout_2.addWidget(self.baseRevisionsEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(HgBundleDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.compressionCombo = QtGui.QComboBox(HgBundleDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.compressionCombo.sizePolicy().hasHeightForWidth())
        self.compressionCombo.setSizePolicy(sizePolicy)
        self.compressionCombo.setObjectName(_fromUtf8("compressionCombo"))
        self.horizontalLayout.addWidget(self.compressionCombo)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.allCheckBox = QtGui.QCheckBox(HgBundleDialog)
        self.allCheckBox.setObjectName(_fromUtf8("allCheckBox"))
        self.verticalLayout.addWidget(self.allCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgBundleDialog)
        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(HgBundleDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgBundleDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgBundleDialog.reject)
        QtCore.QObject.connect(self.tagButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.tagCombo.setEnabled)
        QtCore.QObject.connect(self.branchButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.branchCombo.setEnabled)
        QtCore.QObject.connect(self.bookmarkButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.bookmarkCombo.setEnabled)
        QtCore.QObject.connect(self.multipleButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.multipleEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgBundleDialog)
        HgBundleDialog.setTabOrder(self.multipleButton, self.multipleEdit)
        HgBundleDialog.setTabOrder(self.multipleEdit, self.tagButton)
        HgBundleDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgBundleDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgBundleDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgBundleDialog.setTabOrder(self.branchCombo, self.bookmarkButton)
        HgBundleDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo)
        HgBundleDialog.setTabOrder(self.bookmarkCombo, self.noneButton)
        HgBundleDialog.setTabOrder(self.noneButton, self.baseRevisionsEdit)
        HgBundleDialog.setTabOrder(self.baseRevisionsEdit, self.compressionCombo)
        HgBundleDialog.setTabOrder(self.compressionCombo, self.allCheckBox)
        HgBundleDialog.setTabOrder(self.allCheckBox, self.buttonBox)

    def retranslateUi(self, HgBundleDialog):
        HgBundleDialog.setWindowTitle(_translate("HgBundleDialog", "Mercurial Bundle", None))
        self.groupBox.setTitle(_translate("HgBundleDialog", "Revision", None))
        self.multipleButton.setToolTip(_translate("HgBundleDialog", "Select to specify multiple revisions", None))
        self.multipleButton.setText(_translate("HgBundleDialog", "Multiple", None))
        self.multipleEdit.setToolTip(_translate("HgBundleDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.tagButton.setToolTip(_translate("HgBundleDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgBundleDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgBundleDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgBundleDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgBundleDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgBundleDialog", "Enter a branch name", None))
        self.bookmarkButton.setToolTip(_translate("HgBundleDialog", "Select to specify a revision by a bookmark", None))
        self.bookmarkButton.setText(_translate("HgBundleDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgBundleDialog", "Enter a bookmark name", None))
        self.noneButton.setToolTip(_translate("HgBundleDialog", "Select to not specify a specific revision", None))
        self.noneButton.setText(_translate("HgBundleDialog", "No revision selected", None))
        self.label_2.setText(_translate("HgBundleDialog", "Base Revisions:", None))
        self.baseRevisionsEdit.setToolTip(_translate("HgBundleDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.label.setText(_translate("HgBundleDialog", "Compression:", None))
        self.compressionCombo.setToolTip(_translate("HgBundleDialog", "Select the compression type (empty for default)", None))
        self.allCheckBox.setToolTip(_translate("HgBundleDialog", "Select to bundle all changesets", None))
        self.allCheckBox.setText(_translate("HgBundleDialog", "Bundle all changesets", None))

