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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/HgShelveDataDialog.ui'
#
# Created: Tue Oct 28 07:22:44 2014
#      by: PyQt4 UI code generator 4.11.2
#
# 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_HgShelveDataDialog(object):
    def setupUi(self, HgShelveDataDialog):
        HgShelveDataDialog.setObjectName(_fromUtf8("HgShelveDataDialog"))
        HgShelveDataDialog.resize(500, 170)
        HgShelveDataDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgShelveDataDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(HgShelveDataDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameEdit = QtGui.QLineEdit(HgShelveDataDialog)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(HgShelveDataDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.dateTimeEdit = QtGui.QDateTimeEdit(HgShelveDataDialog)
        self.dateTimeEdit.setCalendarPopup(True)
        self.dateTimeEdit.setObjectName(_fromUtf8("dateTimeEdit"))
        self.horizontalLayout.addWidget(self.dateTimeEdit)
        spacerItem = QtGui.QSpacerItem(198, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(HgShelveDataDialog)
        self.label_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.messageEdit = QtGui.QLineEdit(HgShelveDataDialog)
        self.messageEdit.setObjectName(_fromUtf8("messageEdit"))
        self.gridLayout.addWidget(self.messageEdit, 2, 1, 1, 1)
        self.addRemoveCheckBox = QtGui.QCheckBox(HgShelveDataDialog)
        self.addRemoveCheckBox.setObjectName(_fromUtf8("addRemoveCheckBox"))
        self.gridLayout.addWidget(self.addRemoveCheckBox, 3, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(HgShelveDataDialog)
        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, 4, 0, 1, 2)

        self.retranslateUi(HgShelveDataDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgShelveDataDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgShelveDataDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgShelveDataDialog)
        HgShelveDataDialog.setTabOrder(self.nameEdit, self.dateTimeEdit)
        HgShelveDataDialog.setTabOrder(self.dateTimeEdit, self.messageEdit)
        HgShelveDataDialog.setTabOrder(self.messageEdit, self.addRemoveCheckBox)
        HgShelveDataDialog.setTabOrder(self.addRemoveCheckBox, self.buttonBox)

    def retranslateUi(self, HgShelveDataDialog):
        HgShelveDataDialog.setWindowTitle(_translate("HgShelveDataDialog", "Shelve", None))
        self.label.setText(_translate("HgShelveDataDialog", "Name:", None))
        self.nameEdit.setToolTip(_translate("HgShelveDataDialog", "Enter a name for the shelve", None))
        self.label_2.setText(_translate("HgShelveDataDialog", "Date, Time:", None))
        self.dateTimeEdit.setStatusTip(_translate("HgShelveDataDialog", "Enter the commit date and time for the shelve", None))
        self.dateTimeEdit.setDisplayFormat(_translate("HgShelveDataDialog", "yyyy-MM-dd HH:mm", None))
        self.label_3.setText(_translate("HgShelveDataDialog", "Message:", None))
        self.messageEdit.setToolTip(_translate("HgShelveDataDialog", "Enter a message for the shelve", None))
        self.addRemoveCheckBox.setText(_translate("HgShelveDataDialog", "Mark new/missing files as added/removed", None))

