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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgUnshelveDataDialog.ui'
#
# Created: Thu Mar  5 17:05:27 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_HgUnshelveDataDialog(object):
    def setupUi(self, HgUnshelveDataDialog):
        HgUnshelveDataDialog.setObjectName(_fromUtf8("HgUnshelveDataDialog"))
        HgUnshelveDataDialog.resize(400, 108)
        HgUnshelveDataDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgUnshelveDataDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(HgUnshelveDataDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameComboBox = QtGui.QComboBox(HgUnshelveDataDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameComboBox.sizePolicy().hasHeightForWidth())
        self.nameComboBox.setSizePolicy(sizePolicy)
        self.nameComboBox.setEditable(True)
        self.nameComboBox.setObjectName(_fromUtf8("nameComboBox"))
        self.gridLayout.addWidget(self.nameComboBox, 0, 1, 1, 1)
        self.keepCheckBox = QtGui.QCheckBox(HgUnshelveDataDialog)
        self.keepCheckBox.setObjectName(_fromUtf8("keepCheckBox"))
        self.gridLayout.addWidget(self.keepCheckBox, 1, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(HgUnshelveDataDialog)
        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, 2, 0, 1, 2)

        self.retranslateUi(HgUnshelveDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgUnshelveDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgUnshelveDataDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgUnshelveDataDialog)
        HgUnshelveDataDialog.setTabOrder(self.nameComboBox, self.keepCheckBox)
        HgUnshelveDataDialog.setTabOrder(self.keepCheckBox, self.buttonBox)

    def retranslateUi(self, HgUnshelveDataDialog):
        HgUnshelveDataDialog.setWindowTitle(_translate("HgUnshelveDataDialog", "Mercurial Unshelve", None))
        self.label.setText(_translate("HgUnshelveDataDialog", "Name:", None))
        self.nameComboBox.setToolTip(_translate("HgUnshelveDataDialog", "Enter the name of the shelve", None))
        self.keepCheckBox.setToolTip(_translate("HgUnshelveDataDialog", "Select to keep the shelved change", None))
        self.keepCheckBox.setText(_translate("HgUnshelveDataDialog", "Keep shelved change", None))

