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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/FetchExtension/HgFetchDialog.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_HgFetchDialog(object):
    def setupUi(self, HgFetchDialog):
        HgFetchDialog.setObjectName(_fromUtf8("HgFetchDialog"))
        HgFetchDialog.resize(400, 300)
        HgFetchDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgFetchDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(HgFetchDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.messageEdit = QtGui.QPlainTextEdit(self.groupBox)
        self.messageEdit.setTabChangesFocus(True)
        self.messageEdit.setObjectName(_fromUtf8("messageEdit"))
        self.verticalLayout.addWidget(self.messageEdit)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.recentComboBox = QtGui.QComboBox(self.groupBox)
        self.recentComboBox.setObjectName(_fromUtf8("recentComboBox"))
        self.verticalLayout.addWidget(self.recentComboBox)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.switchCheckBox = QtGui.QCheckBox(HgFetchDialog)
        self.switchCheckBox.setObjectName(_fromUtf8("switchCheckBox"))
        self.verticalLayout_2.addWidget(self.switchCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgFetchDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgFetchDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgFetchDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgFetchDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgFetchDialog)
        HgFetchDialog.setTabOrder(self.messageEdit, self.recentComboBox)
        HgFetchDialog.setTabOrder(self.recentComboBox, self.switchCheckBox)
        HgFetchDialog.setTabOrder(self.switchCheckBox, self.buttonBox)

    def retranslateUi(self, HgFetchDialog):
        HgFetchDialog.setWindowTitle(_translate("HgFetchDialog", "Fetch Changes", None))
        self.groupBox.setTitle(_translate("HgFetchDialog", "Commit Message", None))
        self.messageEdit.setToolTip(_translate("HgFetchDialog", "Enter commit message or leave empty to use the default message", None))
        self.label_2.setText(_translate("HgFetchDialog", "Recent commit messages", None))
        self.recentComboBox.setToolTip(_translate("HgFetchDialog", "Select a recent commit message to use", None))
        self.switchCheckBox.setToolTip(_translate("HgFetchDialog", "Select to switch the merge order", None))
        self.switchCheckBox.setText(_translate("HgFetchDialog", "Switch Parents when Merging", None))

