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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgConflictsListDialog.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_HgConflictsListDialog(object):
    def setupUi(self, HgConflictsListDialog):
        HgConflictsListDialog.setObjectName(_fromUtf8("HgConflictsListDialog"))
        HgConflictsListDialog.resize(650, 450)
        HgConflictsListDialog.setProperty("sizeGripEnabled", True)
        self.verticalLayout = QtGui.QVBoxLayout(HgConflictsListDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.conflictsList = QtGui.QTreeWidget(HgConflictsListDialog)
        self.conflictsList.setAlternatingRowColors(True)
        self.conflictsList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.conflictsList.setRootIsDecorated(False)
        self.conflictsList.setItemsExpandable(False)
        self.conflictsList.setObjectName(_fromUtf8("conflictsList"))
        self.verticalLayout.addWidget(self.conflictsList)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.resolvedButton = QtGui.QPushButton(HgConflictsListDialog)
        self.resolvedButton.setObjectName(_fromUtf8("resolvedButton"))
        self.horizontalLayout.addWidget(self.resolvedButton)
        self.unresolvedButton = QtGui.QPushButton(HgConflictsListDialog)
        self.unresolvedButton.setObjectName(_fromUtf8("unresolvedButton"))
        self.horizontalLayout.addWidget(self.unresolvedButton)
        self.line = QtGui.QFrame(HgConflictsListDialog)
        self.line.setFrameShadow(QtGui.QFrame.Raised)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout.addWidget(self.line)
        self.reMergeButton = QtGui.QPushButton(HgConflictsListDialog)
        self.reMergeButton.setObjectName(_fromUtf8("reMergeButton"))
        self.horizontalLayout.addWidget(self.reMergeButton)
        self.editButton = QtGui.QPushButton(HgConflictsListDialog)
        self.editButton.setObjectName(_fromUtf8("editButton"))
        self.horizontalLayout.addWidget(self.editButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.errorGroup = QtGui.QGroupBox(HgConflictsListDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.errorGroup.sizePolicy().hasHeightForWidth())
        self.errorGroup.setSizePolicy(sizePolicy)
        self.errorGroup.setObjectName(_fromUtf8("errorGroup"))
        self.vboxlayout = QtGui.QVBoxLayout(self.errorGroup)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.errors = QtGui.QTextEdit(self.errorGroup)
        self.errors.setReadOnly(True)
        self.errors.setAcceptRichText(False)
        self.errors.setObjectName(_fromUtf8("errors"))
        self.vboxlayout.addWidget(self.errors)
        self.verticalLayout.addWidget(self.errorGroup)
        self.inputGroup = QtGui.QGroupBox(HgConflictsListDialog)
        self.inputGroup.setObjectName(_fromUtf8("inputGroup"))
        self._2 = QtGui.QGridLayout(self.inputGroup)
        self._2.setObjectName(_fromUtf8("_2"))
        spacerItem2 = QtGui.QSpacerItem(327, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem2, 1, 1, 1, 1)
        self.sendButton = QtGui.QPushButton(self.inputGroup)
        self.sendButton.setObjectName(_fromUtf8("sendButton"))
        self._2.addWidget(self.sendButton, 1, 2, 1, 1)
        self.input = QtGui.QLineEdit(self.inputGroup)
        self.input.setObjectName(_fromUtf8("input"))
        self._2.addWidget(self.input, 0, 0, 1, 3)
        self.passwordCheckBox = QtGui.QCheckBox(self.inputGroup)
        self.passwordCheckBox.setObjectName(_fromUtf8("passwordCheckBox"))
        self._2.addWidget(self.passwordCheckBox, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.inputGroup)
        self.buttonBox = QtGui.QDialogButtonBox(HgConflictsListDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgConflictsListDialog)
        QtCore.QMetaObject.connectSlotsByName(HgConflictsListDialog)
        HgConflictsListDialog.setTabOrder(self.conflictsList, self.resolvedButton)
        HgConflictsListDialog.setTabOrder(self.resolvedButton, self.unresolvedButton)
        HgConflictsListDialog.setTabOrder(self.unresolvedButton, self.reMergeButton)
        HgConflictsListDialog.setTabOrder(self.reMergeButton, self.editButton)
        HgConflictsListDialog.setTabOrder(self.editButton, self.errors)
        HgConflictsListDialog.setTabOrder(self.errors, self.input)
        HgConflictsListDialog.setTabOrder(self.input, self.passwordCheckBox)
        HgConflictsListDialog.setTabOrder(self.passwordCheckBox, self.sendButton)
        HgConflictsListDialog.setTabOrder(self.sendButton, self.buttonBox)

    def retranslateUi(self, HgConflictsListDialog):
        HgConflictsListDialog.setWindowTitle(_translate("HgConflictsListDialog", "Mercurial Conflicts", None))
        self.conflictsList.setWhatsThis(_translate("HgConflictsListDialog", "<b>Conflicts List</b>\\n<p>This shows a list of files  which had or still have conflicts.</p>", None))
        self.conflictsList.setSortingEnabled(True)
        self.conflictsList.headerItem().setText(0, _translate("HgConflictsListDialog", "Status", None))
        self.conflictsList.headerItem().setText(1, _translate("HgConflictsListDialog", "Name", None))
        self.resolvedButton.setToolTip(_translate("HgConflictsListDialog", "Press to mark the selected entries as \'resolved\'", None))
        self.resolvedButton.setText(_translate("HgConflictsListDialog", "Resolved", None))
        self.unresolvedButton.setToolTip(_translate("HgConflictsListDialog", "Press to mark the selected entries as \'unresolved\'", None))
        self.unresolvedButton.setText(_translate("HgConflictsListDialog", "Unresolved", None))
        self.reMergeButton.setToolTip(_translate("HgConflictsListDialog", "Press to re-merge the selected entries", None))
        self.reMergeButton.setText(_translate("HgConflictsListDialog", "Re-Merge", None))
        self.editButton.setToolTip(_translate("HgConflictsListDialog", "Press to edit the selected entry", None))
        self.editButton.setText(_translate("HgConflictsListDialog", "Edit", None))
        self.errorGroup.setTitle(_translate("HgConflictsListDialog", "Errors", None))
        self.inputGroup.setTitle(_translate("HgConflictsListDialog", "Input", None))
        self.sendButton.setToolTip(_translate("HgConflictsListDialog", "Press to send the input to the hg process", None))
        self.sendButton.setText(_translate("HgConflictsListDialog", "&Send", None))
        self.sendButton.setShortcut(_translate("HgConflictsListDialog", "Alt+S", None))
        self.input.setToolTip(_translate("HgConflictsListDialog", "Enter data to be sent to the hg process", None))
        self.passwordCheckBox.setToolTip(_translate("HgConflictsListDialog", "Select to switch the input field to password mode", None))
        self.passwordCheckBox.setText(_translate("HgConflictsListDialog", "&Password Mode", None))
        self.passwordCheckBox.setShortcut(_translate("HgConflictsListDialog", "Alt+P", None))

