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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/StripExtension/HgStripDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_HgStripDialog(object):
    def setupUi(self, HgStripDialog):
        HgStripDialog.setObjectName(_fromUtf8("HgStripDialog"))
        HgStripDialog.resize(400, 276)
        HgStripDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgStripDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.revGroupBox = QtGui.QGroupBox(HgStripDialog)
        self.revGroupBox.setObjectName(_fromUtf8("revGroupBox"))
        self.gridLayout = QtGui.QGridLayout(self.revGroupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.numberButton = QtGui.QRadioButton(self.revGroupBox)
        self.numberButton.setObjectName(_fromUtf8("numberButton"))
        self.gridLayout.addWidget(self.numberButton, 0, 0, 1, 1)
        self.numberSpinBox = QtGui.QSpinBox(self.revGroupBox)
        self.numberSpinBox.setEnabled(False)
        self.numberSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.numberSpinBox.setMinimum(-1)
        self.numberSpinBox.setMaximum(999999999)
        self.numberSpinBox.setProperty("value", -1)
        self.numberSpinBox.setObjectName(_fromUtf8("numberSpinBox"))
        self.gridLayout.addWidget(self.numberSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.idButton = QtGui.QRadioButton(self.revGroupBox)
        self.idButton.setChecked(True)
        self.idButton.setObjectName(_fromUtf8("idButton"))
        self.gridLayout.addWidget(self.idButton, 1, 0, 1, 1)
        self.idEdit = QtGui.QLineEdit(self.revGroupBox)
        self.idEdit.setObjectName(_fromUtf8("idEdit"))
        self.gridLayout.addWidget(self.idEdit, 1, 1, 1, 2)
        self.tagButton = QtGui.QRadioButton(self.revGroupBox)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 2, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(self.revGroupBox)
        self.tagCombo.setEnabled(False)
        self.tagCombo.setEditable(True)
        self.tagCombo.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 2, 1, 1, 2)
        self.branchButton = QtGui.QRadioButton(self.revGroupBox)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 3, 0, 1, 1)
        self.branchCombo = QtGui.QComboBox(self.revGroupBox)
        self.branchCombo.setEnabled(False)
        self.branchCombo.setEditable(True)
        self.branchCombo.setObjectName(_fromUtf8("branchCombo"))
        self.gridLayout.addWidget(self.branchCombo, 3, 1, 1, 2)
        self.verticalLayout.addWidget(self.revGroupBox)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(HgStripDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.bookmarkCombo = QtGui.QComboBox(HgStripDialog)
        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_2.addWidget(self.bookmarkCombo, 0, 1, 1, 1)
        self.forceCheckBox = QtGui.QCheckBox(HgStripDialog)
        self.forceCheckBox.setObjectName(_fromUtf8("forceCheckBox"))
        self.gridLayout_2.addWidget(self.forceCheckBox, 1, 0, 1, 2)
        self.noBackupCheckBox = QtGui.QCheckBox(HgStripDialog)
        self.noBackupCheckBox.setObjectName(_fromUtf8("noBackupCheckBox"))
        self.gridLayout_2.addWidget(self.noBackupCheckBox, 2, 0, 1, 2)
        self.keepCheckBox = QtGui.QCheckBox(HgStripDialog)
        self.keepCheckBox.setObjectName(_fromUtf8("keepCheckBox"))
        self.gridLayout_2.addWidget(self.keepCheckBox, 3, 0, 1, 2)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.buttonBox = QtGui.QDialogButtonBox(HgStripDialog)
        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(HgStripDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgStripDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgStripDialog.reject)
        QtCore.QObject.connect(self.numberButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.numberSpinBox.setEnabled)
        QtCore.QObject.connect(self.idButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.idEdit.setEnabled)
        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.QMetaObject.connectSlotsByName(HgStripDialog)
        HgStripDialog.setTabOrder(self.numberButton, self.numberSpinBox)
        HgStripDialog.setTabOrder(self.numberSpinBox, self.idButton)
        HgStripDialog.setTabOrder(self.idButton, self.idEdit)
        HgStripDialog.setTabOrder(self.idEdit, self.tagButton)
        HgStripDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgStripDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgStripDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgStripDialog.setTabOrder(self.branchCombo, self.bookmarkCombo)
        HgStripDialog.setTabOrder(self.bookmarkCombo, self.forceCheckBox)
        HgStripDialog.setTabOrder(self.forceCheckBox, self.noBackupCheckBox)
        HgStripDialog.setTabOrder(self.noBackupCheckBox, self.keepCheckBox)

    def retranslateUi(self, HgStripDialog):
        HgStripDialog.setWindowTitle(_translate("HgStripDialog", "Strip Changesets", None))
        self.revGroupBox.setTitle(_translate("HgStripDialog", "&Revision", None))
        self.numberButton.setToolTip(_translate("HgStripDialog", "Select to specify a revision by number", None))
        self.numberButton.setText(_translate("HgStripDialog", "Number", None))
        self.numberSpinBox.setToolTip(_translate("HgStripDialog", "Enter a revision number", None))
        self.idButton.setToolTip(_translate("HgStripDialog", "Select to specify a revision by changeset id", None))
        self.idButton.setText(_translate("HgStripDialog", "Id:", None))
        self.idEdit.setToolTip(_translate("HgStripDialog", "Enter a changeset id", None))
        self.tagButton.setToolTip(_translate("HgStripDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgStripDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgStripDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgStripDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgStripDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgStripDialog", "Enter a branch name", None))
        self.label.setText(_translate("HgStripDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgStripDialog", "Enter a bookmark name", None))
        self.forceCheckBox.setToolTip(_translate("HgStripDialog", "Select to enforce removal of changesets", None))
        self.forceCheckBox.setText(_translate("HgStripDialog", "Enforce Operation", None))
        self.noBackupCheckBox.setToolTip(_translate("HgStripDialog", "Select to not create backup bundles", None))
        self.noBackupCheckBox.setText(_translate("HgStripDialog", "No Backup", None))
        self.keepCheckBox.setToolTip(_translate("HgStripDialog", "Select to keep the current working directory state", None))
        self.keepCheckBox.setText(_translate("HgStripDialog", "Keep Working Directory", None))

